OSDN Git Service

PR c++/13376
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2004 01:58:45 +0000 (01:58 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2004 01:58:45 +0000 (01:58 +0000)
commit3590147160cf77ac2afb72e80fd68d6ac0c3977b
tree620724275961c3e490611bea34f8d2c8cba0a9dd
parenta2ebbb48809073ff0ad025e7ab625bf9c3ec5b0a
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75784 138bc75d-0d04-0410-961f-82ee72b054a4
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