PR c/43288 (ICE with __attribute__ ((common)))
Steve Ellcey
sje@cup.hp.com
Wed Mar 17 15:43:00 GMT 2010
On Wed, 2010-03-17 at 16:19 +0100, Jan Hubicka wrote:
> >
> > 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
It failed for me last night (r157506) so I don't think this has been
fixed. Which HPUX target did you build? It only fails on a 32 bit PA
target like hppa1.1-hp-hpux* or hppa2.0w-hp-hpux* (I am building
hppa2.0w-hp-hpux11.11). I don't know if it fails on HPPA linux targets
(I don't build any of those) and I know it doesn't fail on IA64 HP-UX
targets or 64 bit PA targets.
Steve Ellcey
sje@cup.hp.com
More information about the Gcc-patches
mailing list