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]

Re: PATCH: Error if C++ `init_priority' Attribute Not Supported


On Mon, Jan 15, 2001 at 12:53:16PM +0000, Jason Merrill wrote:
> Perhaps the iris6.h defn should be !flag_gnu_linker, rather than 0.  The
> same would be appropriate on all targets that don't use collect2; Solaris
> comes to mind.

Most definitely.  Under Solaris-without-GNU-ld, using this attribute causes
no warnings nor errors, but the variables in question are never constructed
at all.  Ouch.

Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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