http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51174
--- Comment #7 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-11-17 18:06:20 UTC --- > The rs6000.c failure looks like rs6000_xcoff_section_type_flags() should deal > with decl == NULL. > > But the other similar failure is in trans-mem.c: > > (gdb) where > #0 internal_error ( How can I reproduce this additional error in trans-mem.c? David, after using your patch handling NULL in rs6000_xcoff_section_type_flags(), I can cc1/cc1plus all the aforementioned failures in this PR correctly (with a cross to powerpc-ibm-aix5.3.0.0). Is this similar failure you mention something else? Is there a testcase?