mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-25 22:04:07 +08:00
rtl.h (FIND_REG_INC_NOTE): Call find_regno_note for REGs.
* rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT || HAVE_POST_DECREMENT]: Call find_regno_note for REGs. From-SVN: r45617
This commit is contained in:
parent
86c7007a57
commit
e75ecd268a
@ -1,4 +1,8 @@
|
||||
2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
2001-09-15 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
|
||||
|| HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
|
||||
|| HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
|
||||
|
||||
* reorg.c (fill_slots_from_thread): After call to
|
||||
steal_delay_list_from_target, update own_thread as new_thread may
|
||||
|
@ -944,7 +944,10 @@ extern unsigned int subreg_regno PARAMS ((rtx));
|
||||
|
||||
/* Don't continue this line--convex cc version 4.1 would lose. */
|
||||
#if (defined (HAVE_PRE_INCREMENT) || defined (HAVE_PRE_DECREMENT) || defined (HAVE_POST_INCREMENT) || defined (HAVE_POST_DECREMENT))
|
||||
#define FIND_REG_INC_NOTE(insn, reg) (find_reg_note ((insn), REG_INC, (reg)))
|
||||
#define FIND_REG_INC_NOTE(insn, reg) \
|
||||
(reg != NULL_RTX && REG_P ((rtx) (reg)) \
|
||||
? find_regno_note ((insn), REG_INC, REGNO ((rtx) (reg))) \
|
||||
: find_reg_note ((insn), REG_INC, (reg)))
|
||||
#else
|
||||
#define FIND_REG_INC_NOTE(insn, reg) 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user