OSDN Git Service

PR 43562
authorjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 02:44:10 +0000 (02:44 +0000)
committerjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 02:44:10 +0000 (02:44 +0000)
commit4e4c89ecdf082d0ea8a21af9c78b969a989cf62d
treebdc83c7c76ffc03569d38f8626f441aecbd9e452
parent5632bff570a3489804e448af25abf1db374c6762
PR 43562
* reload.h (caller_save_initialized_p): Declare.
* toplev.c (backend_init_target): Don't call
init_caller_save but set caller_save_initialized_p
to false.
* caller-save.c (caller_save_initialized_p): Define.
(init_caller_save): Check caller_save_initialized_p.
* ira.c (ira): Call init_caller_save if flag_caller_saves.

testsuite/
PR 43562
* gcc.dg/pr43562.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157849 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/caller-save.c
gcc/ira.c
gcc/reload.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr43562.c [new file with mode: 0644]
gcc/toplev.c