PR c/43288 (ICE with __attribute__ ((common)))
John David Anglin
dave@hiauly1.hia.nrc.ca
Thu Mar 11 22:03:00 GMT 2010
> 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.
See define for MAKE_DECL_ONE_ONLY in som.h. We don't set both
DECL_COMMON and DECL_WEAK. Some other code must be setting
DECL_COMMON or DECL_WEAK to cause the error (or maybe MAKE_DECL_ONE_ONLY
is used twice, once before DECL_INITIAL is set).
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc-patches
mailing list