PR c/43288 (ICE with __attribute__ ((common)))

David Edelsohn dje.gcc@gmail.com
Fri Mar 12 16:59:00 GMT 2010


On Fri, Mar 12, 2010 at 9:37 AM, Richard Guenther <rguenther@suse.de> wrote:
> On Fri, 12 Mar 2010, David Edelsohn wrote:
>
>> This patch appears to break building libstdc++ on AIX:
>>
>> /farm/dje/src/src/libstdc++-v3/src/iostream-inst.cc:46:1: internal
>> compiler error: in make_decl_rtl, at varasm.c:1447
>> In file included from
>> /tmp/20100311/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/locale:43:0,
>>                  from /farm/dje/src/src/libstdc++-v3/src/locale-inst.cc:30:
>> /tmp/20100311/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/locale_facets_nonio.h:
>> In instantiation of 'const bool std::moneypunct<char, false>::intl':
>> /farm/dje/src/src/libstdc++-v3/src/locale-inst.cc:41:18:
>> instantiated from here
>> /tmp/20100311/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/locale_facets_nonio.h:946:34:
>> internal compiler error: in make_decl_rtl, at varasm.c:1447
>>
>> /farm/dje/src/src/libstdc++-v3/src/fstream-inst.cc:46:1: internal
>> compiler error: in make_decl_rtl, at varasm.c:1447
>>
>> etc., etc.
>
> Similar failure was reported by Steve for HPPA.  His testcase:
>
> namespace std {
>  class type_info { virtual ~type_info(); };
> }
> namespace __cxxabiv1 {
>  class __fundamental_type_info : public std::type_info {};
> }
>
> can you check if that ICEs on AIX as well?

Yes, that testcase ICEs on AIX:

internal compiler error: in make_decl_rtl, at varasm.c:1447

David



More information about the Gcc-patches mailing list