http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|i?86-*-* | Status|UNCONFIRMED |NEW Last reconfirmed| |2012-12-14 CC| |jakub at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-14 09:57:35 UTC --- Reduced testcase for -O2 (both x86_64-linux and i686-linux hit this): double foo (); struct B { bool b1 () { return b3 (); } void b2 (); virtual bool b3 (); }; struct C { C () {} bool c1 (float x, float y) { if (x != c3 || y != c4) c2.b2 (); return c2.b1 (); } B c2; float c3, c4; }; void bar () { static C c; c.c1 (60, (int) foo ()); }