re PR middle-end/23199 (ICE in int_mode_for_mode, at stor-layout.c:251)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 19 Oct 2005 14:42:17 +0000 (16:42 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 19 Oct 2005 14:42:17 +0000 (14:42 +0000)
commite48050bd060e5faeae80c4c833e14fe3885ed599
tree78ff2fa79db3827d5cfd641d055766a3bbc93414
parent486516b60ba69fa8bd5fd13a9e4f630642d18546
re PR middle-end/23199 (ICE in int_mode_for_mode, at stor-layout.c:251)

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.

From-SVN: r105618
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/profile-generate-2.c [new file with mode: 0644]