aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-07-20 08:31:59 +0000
committerRichard Sandiford <richard@codesourcery.com>2006-07-20 08:31:59 +0000
commit0ebd0562b8a01e7413318556133f6b8d50563ff4 (patch)
tree4ce100535f55f2472a7f08c6caf516e294159081 /gcc/optabs.c
parent4d3c86e2fcb3770f6cff4713f1b58a3a577ebfb3 (diff)
Backport from mainline:
2006-07-17 Richard Sandiford <richard@codesourcery.com> PR middle-end/28403 * optabs.c (expand_doubleword_shift): Wrap the call to do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@115611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index d428b6c7c71..ab025200659 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -805,8 +805,10 @@ expand_doubleword_shift (enum machine_mode op1_mode, optab binoptab,
subword_label = gen_label_rtx ();
done_label = gen_label_rtx ();
+ NO_DEFER_POP;
do_compare_rtx_and_jump (cmp1, cmp2, cmp_code, false, op1_mode,
0, 0, subword_label);
+ OK_DEFER_POP;
if (!expand_superword_shift (binoptab, outof_input, superword_op1,
outof_target, into_target,