PR middle-end/23199
commite2de980eecb57e6891f77bd74a8272208bef1ace
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Oct 2005 14:42:17 +0000 (19 14:42 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Oct 2005 14:42:17 +0000 (19 14:42 +0000)
tree78ff2fa79db3827d5cfd641d055766a3bbc93414
parenta3ac714726d1bc20c2e0385f01ca227d74af95c9
PR middle-end/23199
* cfgrtl.c (safe_insert_insn_on_edge): Use can_copy_p to detect
whether registers live on the edge can be saved/restored.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105618 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/profile-generate-2.c [new file with mode: 0644]