http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53064
Bug #: 53064
Summary: -Wsenquence-point behaves inconsistently
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: minor
Priority:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53064
Wenbin Lv changed:
What|Removed |Added
Severity|minor |trivial
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53064
--- Comment #3 from Wenbin Lv 2012-04-25 14:56:48
UTC ---
(In reply to comment #1)
> > a + (++a ? 0 : 0);
>
> Hmm, I don't think there is a sequence point issue here compared to the other
> case where it might cause an undefined code.
>
> (++a