[Patch Ping^2, C++] Move assemble_external call in cp/decl2.c.
Mark Mitchell
mark@codesourcery.com
Mon Dec 8 18:50:00 GMT 2008
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
More information about the Libstdc++
mailing list