re PR rtl-optimization/12275 ([unit-at-a-time] ICE in htab_clear_slot)
authorJan Hubicka <jh@suse.cz>
Thu, 13 Nov 2003 02:07:57 +0000 (03:07 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 13 Nov 2003 02:07:57 +0000 (02:07 +0000)
commitfccc4eb2409acbe8eb9150a6bfe97dd7fe441c7f
tree1dfb694a6a20bcea1203ad2a8b503169f1bb675b
parent1b2b8ee7a9e27b78b76687b6b94f956765039c1a
re PR rtl-optimization/12275 ([unit-at-a-time] ICE in htab_clear_slot)

PR opt/12275
* c-decl.c (finish_decl): Use change_decl_assembler_name.
* c-pragma.c (handle_pragma_redefine_extname): Likewise.
* varasm.c (make_decl_rtl): Likewise.
* cgraph.c (change_decl_assembler_name): New function.
* tree.h (set_decl_assembler_name): Kill dead declaration.
(change_decl_assembler_name): Declare.

* decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
* decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.

From-SVN: r73532
gcc/ChangeLog
gcc/c-decl.c
gcc/c-pragma.c
gcc/cgraph.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20031112-1.c [new file with mode: 0644]
gcc/tree.h
gcc/varasm.c