]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/13376 (Incorrect dumps of RTL for passes that use current_function_name)
authorSteven Bosscher <stevenb@suse.de>
Tue, 13 Jan 2004 01:58:45 +0000 (01:58 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Tue, 13 Jan 2004 01:58:45 +0000 (01:58 +0000)
commitfaed5cc356c09c41cdbc7de97ef2520c7f5a805d
tree620724275961c3e490611bea34f8d2c8cba0a9dd
parente4a32afbe15212baa1f5eab9d0315077ca005a9d
re PR c++/13376 (Incorrect dumps of RTL for passes that use current_function_name)

PR c++/13376
* function.h (struct function): Kill `name' field.
(current_function_name): Make it an extern function.
* function.c (current_function_name): New function.
* graph.c: Update all uses of current_function_name.
* gcse.c: Likewise.
* config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
* config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
instead of a strcmp with "main".

From-SVN: r75784
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/avr/avr.c
gcc/config/c4x/c4x.c
gcc/config/ip2k/ip2k.c
gcc/config/mips/mips.c
gcc/config/pdp11/pdp11.c
gcc/function.c
gcc/function.h
gcc/gcse.c
gcc/graph.c