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: Candidate fix for PR 15007


Geoff Keating <geoffk@desire.geoffk.org> writes:

> In theory, there is no reason why DECL_ASSEMBLER_NAME should be set
> before the end of compilation.  You could easily ensure this by
> changing c_static_assembler_name to do:
>
> if (!TREE_PUBLIC (decl) && !DECL_CONTEXT (decl))
>   abort ();

I looked into this.  Fixing all these places appears tractable,
however, it touches a lot of fiddly code that's going to get hit by
the tree-ssa merge.

I would therefore like to check in my original patch, which solves the
PCH bug, and then wait until tree-ssa merges before trying to fix
IMA.  Is that all right with you?

zw


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