diff options
author | 2003-03-11 04:52:27 +0000 | |
---|---|---|
committer | 2003-03-11 04:52:27 +0000 | |
commit | c626d89ceee37db134ef2a5db55a3ae3b26ccb48 (patch) | |
tree | 526d2074f4a33b81a21a7e229ddebd810ee1a6c4 | |
parent | not to combine the register related to frame addressing for the case FRAME_GROWS upward (diff) | |
download | wireguard-openbsd-c626d89ceee37db134ef2a5db55a3ae3b26ccb48.tar.xz wireguard-openbsd-c626d89ceee37db134ef2a5db55a3ae3b26ccb48.zip |
The loop optimization using frame pointer is omitted.
-rw-r--r-- | gnu/egcs/gcc/loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/loop.c b/gnu/egcs/gcc/loop.c index 16f4f47481e..4edc9eeee29 100644 --- a/gnu/egcs/gcc/loop.c +++ b/gnu/egcs/gcc/loop.c @@ -6204,7 +6204,8 @@ general_induction_var (x, src_reg, add_val, mult_val, is_addr, pbenefit) #ifndef FRAME_GROWS_DOWNWARD if (flag_propolice_protection && GET_CODE (*add_val) == PLUS - && XEXP (*add_val, 0) == frame_pointer_rtx) + && (XEXP (*add_val, 0) == frame_pointer_rtx + || XEXP (*add_val, 1) == frame_pointer_rtx)) return 0; #endif |