http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53812
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-02
CC| |jakub at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-02
08:01:25 UTC ---
Simplified testcase:
struct T { T () : t(0) {}; int t; ~T (); };
struct S { void *operator [] (T); };
void bar (S &, void *, void *);
void
foo (S &x, T &y)
{
bar (x, &&l1, &&l2);
l1:
goto *x[y];
l2:
bar (x, &&l1, &&l2);
}