MISRA Discussion Forums
13.2 Was TC2 correctly applied to the rule in MISRA C:2023? - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4)
+--- Forum: MISRA C:2012 and MISRA C:2023 guidelines (https://forum.misra.org.uk/forumdisplay.php?fid=21)
+---- Forum: 8.13 Side effects (https://forum.misra.org.uk/forumdisplay.php?fid=168)
+---- Thread: 13.2 Was TC2 correctly applied to the rule in MISRA C:2023? (/showthread.php?tid=1771)



13.2 Was TC2 correctly applied to the rule in MISRA C:2023? - Loïc - 03-06-2026

Hello,

TC2 says:
Quote:TC 2.23 : In the “Amplification” section, number the existing two notes as 1 and 3 respectively.
TC 2.24 : In the “Amplification” section, insert a new note 2 between the existing two notes: 2. All parts of the expression are considered when determining whether an object is read or modified, irrespective of any known values

But when looking at MISRA C:2023, we only see 2 notes, and the text that was supposed to be inserted as node 2 appears in second position in the bullet list above the notes.

Which is right? The TC2, or the 2023 version?

Thank you,


RE: 13.2 Was TC2 correctly applied to the rule in MISRA C:2023? - misra-c - 08-10-2026

Incorporation of these TCs is not correct... the new Note 2 is actually implemented as Amplification 2

The MISRA C WG will consider whether this needs to be moved.... [ID: 483 applies]