[Bug c/53064] New: -Wsenquence-point behaves inconsistently

2012-04-21 Thread wenbin816 at gmail dot com
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:

[Bug c/53064] -Wsequence-point behaves inconsistently

2012-04-21 Thread wenbin816 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53064 Wenbin Lv changed: What|Removed |Added Severity|minor |trivial

[Bug c/53064] -Wsequence-point behaves inconsistently

2012-04-25 Thread wenbin816 at gmail dot com
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