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: Patch to revert varasm.c change, fix PRs 10100 & 10053


"Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu> writes:

> It's been three weeks since this patch:
> http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00720.html
> 
> broke bootstrap on mainline for mips-irix6 and alpha-osf4, and
> possibly elsewhere.  (See PRs 10100 & 10053.)  Ok to revert?

I think it would be better to at least try to fix the bug instead,
especially since it looks like it applies to Linux ports too but doesn't
produce symptoms in a bootstrap.  The error is correctly reporting
that the 'weak' attribute will not take effect because it's too late
to change the linkage at this point in the compilation.  Presumably,
the C++ frontend is calling comdat_linkage or maybe_make_one_only
after the decl has already been written.

-- 
- Geoffrey Keating <geoffk at geoffk dot org>


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