This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39121] strange behavior in chained operations
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jun 2015 19:10:10 +0000
- Subject: [Bug c/39121] strange behavior in chained operations
- Auto-submitted: auto-generated
- References: <bug-39121-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39121
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to joe.carnuccio from comment #5)
> Since using gcc -Os causes the correct execution, then "sequence point" does
> not have anything to do with it.
And you are wrong about that. -Os causes what you think is the correct
execution but there are multiple interpretations of the code because there are
not sequence points there.