[Bug c/51834] -Wsequence-point fails when convoluted expressions with multiple side effects are used

2017-08-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51834 --- Comment #5 from Eric Gallager --- *** Bug 51836 has been marked as a duplicate of this bug. ***

[Bug c/51834] -Wsequence-point fails when convoluted expressions with multiple side effects are used

2012-04-19 Thread vincent-gcc at vinc17 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51834 --- Comment #4 from Vincent Lefèvre vincent-gcc at vinc17 dot net 2012-04-19 15:06:58 UTC --- (In reply to comment #3) (i++, i) + i is undefined. The sequence point only orders i++ and i inside the parens, but not the operands of +. The

[Bug c/51834] -Wsequence-point fails when convoluted expressions with multiple side effects are used

2012-01-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51834 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/51834] -Wsequence-point fails when convoluted expressions with multiple side effects are used

2012-01-12 Thread prasoonsaurav.nit at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51834 --- Comment #2 from Prasoon prasoonsaurav.nit at gmail dot com 2012-01-12 09:07:52 UTC --- @Richard Guenther Considering the expression i += (i,i++,i) +i; (i,i++,i) involves change in the value of i, however comma introduces a sequence point

[Bug c/51834] -Wsequence-point fails when convoluted expressions with multiple side effects are used

2012-01-12 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51834 Andreas Schwab sch...@linux-m68k.org changed: What|Removed |Added Status|RESOLVED|NEW Last