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: Add CONSTRUCTOR case to loc_descriptor_from_tree in dwarf2out.c


    Well, you add a new varasm function that looks at the hash table
    but *doesn't* write data.  Seems easy enough.

Sure, but is it worth it for just that case?  Remember that if we do that, we
have to return 0, which will cause the Dwarf writer to say it can't figure
out the location.  Plus, it's hard to see how the location or position of
something can depend on a CONSTRUCTOR that was never used.  And the case of a
CONSTRUCTOR is very rare anyway.  Finally, it's the data segment, not the
code segment.


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