[Bug c/68311] gcc/ipa-icf.c:3041: possible sequence point error ?

2015-11-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68311

--- Comment #3 from Martin Liška  ---
Created attachment 36700
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36700=edit
Suggested patch

[Bug c/68311] gcc/ipa-icf.c:3041: possible sequence point error ?

2015-11-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68311

--- Comment #1 from Andrew Pinski  ---
Hmm, I though common inside {} are sequenced points.

[Bug c/68311] gcc/ipa-icf.c:3041: possible sequence point error ?

2015-11-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68311

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek  ---
In a list of initializers that's not a comma operator.  So I think that's UB
given the evaluations of the initialization list expressions are
indeterminately sequenced.