diff options
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/loop.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f015ca4..8886dc5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-25 Philip Blundell <philb@gnu.org> + + PR wrong-code/15089 + * loop.c (scan_loop): Do not move user-specified register + assignments. + 2004-06-25 DJ Delorie <dj@redhat.com> * c-common.h (warn_cast_qual, warn_missing_format_attribute, @@ -931,6 +931,7 @@ scan_loop (struct loop *loop, int flags) || (! (REG_P (SET_SRC (set)) && (REGNO (SET_SRC (set)) < FIRST_PSEUDO_REGISTER)))) + && regno >= FIRST_PSEUDO_REGISTER /* This test is not redundant; SET_SRC (set) might be a call-clobbered register and the life of REGNO might span a call. */ |
