aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-07-17 15:29:19 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-07-17 15:29:19 +0000
commitf8bdb931a97bcd90dd47cfcd3b4fbabf1872a84f (patch)
tree8cfddf5a3cfaa67dde48fbb4db6998a680d1afed /gcc/optabs.c
parent77bffd4cee22d47afd683172ad0a91e4c4cd4990 (diff)
downloadgcc-f8bdb931a97bcd90dd47cfcd3b4fbabf1872a84f.zip
gcc-f8bdb931a97bcd90dd47cfcd3b4fbabf1872a84f.tar.gz
gcc-f8bdb931a97bcd90dd47cfcd3b4fbabf1872a84f.tar.bz2
re PR middle-end/28402 (Doubleword shifts implemented using word_mode libcalls)
gcc/ PR middle-end/28402 * optabs.c (expand_binop): Pass next_methods rather than methods to expand_doubleword_shift. gcc/testsuite/ PR middle-end/28402 * gcc.dg/pr28402.c: New test. From-SVN: r115524
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index a961bd4..a8be6f9 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -1558,7 +1558,7 @@ expand_binop (enum machine_mode mode, optab binoptab, rtx op0, rtx op1,
if (expand_doubleword_shift (op1_mode, binoptab,
outof_input, into_input, op1,
outof_target, into_target,
- unsignedp, methods, shift_mask))
+ unsignedp, next_methods, shift_mask))
{
insns = get_insns ();
end_sequence ();