http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49644
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.4.6 Keywords| |wrong-code Last reconfirmed| |2011.07.05 15:41:41 CC| |jsm28 at gcc dot gnu.org Ever Confirmed|0 |1 Summary|[ 4.5/4.6 Regression ] |[4.5/4.6 Regression] |post-increment of promoted |post-increment of promoted |to complex operand is |operand is incorrect. |incorrect. | Target Milestone|--- |4.5.4 --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-05 15:41:41 UTC --- The frontend generates *c++ = COMPLEX_EXPR <*d++ * REALPART_EXPR <SAVE_EXPR <s>>, *d++ * IMAGPART_EXPR <SAVE_EXPR <s>>>; and thus increments d twice.