This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c/43288 (ICE with __attribute__ ((common)))
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, dave dot anglin at nrc-cnrc dot gc dot ca
- Date: Wed, 17 Mar 2010 16:19:48 +0100
- Subject: Re: PR c/43288 (ICE with __attribute__ ((common)))
- References: <20100310152535.GC23943@kam.mff.cuni.cz> <201003112126.o2BLQpg16903@lucas.cup.hp.com>
>
> I think I have a var decl that is weak and common because that is
> how HPPA is doing comdats in SOM. Dave can correct me if I have
> that wrong.
It seems to me that it is most probably because of C++ FE insisting on
ononsential DECL_COMMON (in comdat_linkage) and the fact that we somehow call
make_decl_rtl too early.
I just built cross compiler for both AIX and HPUX but can not reproduce the
problem. Was is fixed somehow in meantime?
Honza