This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Lazy allocation of DECL_ASSEMBLER_NAME
Dale Johannesen wrote:
Thanks. The problem I'm struggling with involves use of mutliple
TYPE_DECL nodes
for "the same" type multiply defined in different files.
Well, IMA is a whole 'nother can of worms.
I think our current approach is overly fragile, but that's not really
material here.
TYPE_DECLs are not covered by my earlier statements. We already have
multiple TYPE_DECLs for the same type because some of our TYPE_DECLs
refer to typedefs, which are of course the "same type" from the point of
view of the language. My statement should refer to FUNCTION_DECLs,
VAR_DECLs, and CONST_DECLs for enumeration constants.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com