re PR tree-optimization/15089 (local register variable with a specified register is bad)
PR wrong-code/15089 * loop.c (scan_loop): Do not move user-specified register assignments. From-SVN: r83684
This commit is contained in:
parent
7619c085c5
commit
6ef30017a0
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user