How To Add a Sequence Point?

Andrew Pinski pinskia@gmail.com
Sun Feb 3 01:07:00 GMT 2013


On Sat, Feb 2, 2013 at 4:59 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> Hi All,
>
> How do I add a sequence point in my C/C++ code?

A semi-colon (end of the statement), a comma (but not as an argument
separator though) are both sequence points.

Thanks,
Andrew Pinski

>
> Googling brings up a lot of 'volatile' hits, but I believe that's an
> abuse of GCC's interpretation of volatile since I'm not working with
> memory mapped hardware or registers.
>
> Jeff



More information about the Gcc mailing list