aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-07-17 15:31:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-07-17 15:31:12 +0000
commit2763a67eff553784e396cb651ef6929a6e14b0a9 (patch)
treea71c2c5cb75f6a5f78a826569ea10fb95b94af4b /gcc/optabs.c
parentf8bdb931a97bcd90dd47cfcd3b4fbabf1872a84f (diff)
downloadgcc-2763a67eff553784e396cb651ef6929a6e14b0a9.zip
gcc-2763a67eff553784e396cb651ef6929a6e14b0a9.tar.gz
gcc-2763a67eff553784e396cb651ef6929a6e14b0a9.tar.bz2
re PR middle-end/28403 (Missed argument pop after doubleword shift)
gcc/ 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. gcc/testsuite/ PR middle-end/28403 * gcc.c-torture/execute/pr28403.c: New test. From-SVN: r115525
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 a8be6f9..fe7ae06 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -959,8 +959,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,