This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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 Ping^2, C++] Move assemble_external call in cp/decl2.c.


Steve Ellcey wrote:

> It looks like I can simply remove the call to assemble_external from
> mark_used and everything still works fine, which means assemble_external
> is still getting called when needed from somewhere else.

I think we need to figure out where that something else is.  Your
empirical evidence (on HP-UX) certainly suggests that this call is
unnecessary, but I'd like to understand what is making sure that we call
assemble_external for a reference to a global function not defined in
the current translation unit.

Once we understand that, the patch is probably OK; certainly, it would
be nice to reduce the presence of this kind of thing in the front ends.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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