This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]