------- Comment #4 from sje at cup dot hp dot com  2009-06-04 16:42 -------
I am not sure I understand the what the pointer in comment #3 has to do with
this failure.  I think the issue is get_file_function_name in tree.c.  If
first_global_object_name is false and targetm.have_ctors_dtors is false then
we run into code that has the comment:

     /* Otherwise, the name must be unique across the entire link.
         We don't have anything that we know to be unique to this translation
         unit, so use what we do have and throw in some randomness.  */

I think this is what we are running into.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40338

Reply via email to