------- Comment #7 from jason at gcc dot gnu dot org 2010-02-03 01:14 ------- The testcase now works, but a variant that uses virtual inheritance does not:
int i; struct A { A() {} }; struct C: virtual A { C(); }; C::C() { static void *labelref = &&label; goto *labelref; label: i = 1; } int main() { C c; } Unassigning myself now. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org AssignedTo|jason at gcc dot gnu dot org|unassigned at gcc dot gnu | |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41090