This is the mail archive of the gcc-bugs@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]

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


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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 16:04 -------
It still happens on the mainline (20030718) even after Keating's fix:
2003-07-17  Geoffrey Keating

        PR 11498
        * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
        (langhooks.o): Add $(GGC_H), gt-langhooks.h.
        (GTFILES): Add langhooks.c.
        (gt-langhooks.h): New.
        * c-common.h (c_static_assembler_name): Prototype.
        * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
        * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
        * c-opts.c: Include langhooks-def.h.
        (c_static_assembler_name): New.
        * langhooks.c: Include ggc.h.  Include gt-langhooks.h.
        (var_labelno): New.
        (lhd_set_decl_assembler_name): Give static objects with context
        unique names.
        * varasm.c (var_labelno): Delete.
        (make_decl_rtl): Don't change the assembler name once it's set.

        * c-opts.c (this_input_filename): New.
        (finish_options): Take new parameter, name of file being compiled.
        Update callers.  Set this_input_filename.
        (push_command_line_include): Use this_input_filename not
        main_input_filename.


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