summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-28 05:42:20 +0000
committerHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-28 05:42:20 +0000
commitdb51615edc986ca35ed9538dd9affedf3da17a9e (patch)
tree90cafb9ef9cf2d711cd89b062801bc45dcc122de /gnu/egcs
parentffddc4dbfc83f1944378c5c6754efae13e35e9a5 (diff)
changes to fold the frame address of a setjmp insn
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/cse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/cse.c b/gnu/egcs/gcc/cse.c
index f4c98de36b8..4a0f25983cf 100644
--- a/gnu/egcs/gcc/cse.c
+++ b/gnu/egcs/gcc/cse.c
@@ -6048,6 +6048,7 @@ fold_rtx (x, insn)
if (flag_propolice_protection
&& GET_CODE (y) == PLUS
&& XEXP (y, 0) == frame_pointer_rtx
+ && INTVAL (inner_const) > 0
&& INTVAL (new_const) <= 0)
break;
#endif