http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916
--- Comment #29 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-14 16:44:09 UTC --- Partial tests (x86_64-apple-darwin10.5.0) with the patch in comment #21 (with the one in comment #7 reverted) show that the pr is fixed, but it introduces at least one regression for both -m32/64: FAIL: g++.dg/other/pr22003.C (test for excess errors) [macbook] f90/bug% g++46 -O2 -fno-exceptions -freorder-blocks-and-partition /opt/gcc/work/gcc/testsuite/g++.dg/other/pr22003.C /opt/gcc/work/gcc/testsuite/g++.dg/other/pr22003.C: In destructor 'virtual c3::~c3()': /opt/gcc/work/gcc/testsuite/g++.dg/other/pr22003.C:17:8: error: virtual c3::~c3() causes a section type conflict /opt/gcc/work/gcc/testsuite/g++.dg/other/pr22003.C:17:8: error: virtual c3::~c3() causes a section type conflict /opt/gcc/work/gcc/testsuite/g++.dg/other/pr22003.C:17:8: error: virtual c3::~c3() causes a section type conflict