[Bug optimization/11523] Intermodule Optimisation handles duplicate names wrong

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Jul 15 11:20:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
           Keywords|                            |wrong-code


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-15 11:20 -------
Actually it is caused by a patch which tried to fix bootstrap failure caused by the multiple-unit 
compiling, it was not totally the right fix, as it causes this bug, the right fix is to fix PR 11498 and 
use asm name with crt.c.

2003-07-11  Mark Mitchell

        * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
        TRANSLATION_UNIT_DECL as top_level.

I undid this patch and your testcase worked.



More information about the Gcc-bugs mailing list