summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authordalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-31 04:44:14 +0000
committerdalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-31 04:44:14 +0000
commit8ec3c5c2f80dd6d2561899354c2d9d1d66551f12 (patch)
tree192fa663854a8c88d61fa5a51c2091381047e15d /gcc/expmed.c
parentf942e0529244dccabdfc96b9ab5723f4c7b9e092 (diff)
downloadgcc-8ec3c5c2f80dd6d2561899354c2d9d1d66551f12.tar.gz
2006-01-30 Marcin Dalecki <martin@dalecki.de>
* expr.h (expand_normal): new inline function. * builtins.c: use it, use EXPAND_NORMAL explicitely. * dojump.c: use it. * dwarf2out.c: use it. * expr.c: use it. * calls.c: use it. * expmed.c: use it. * except.c: use it. * config/sparc/sparc.c: use it. * config/i386/i386.c: use it. * config/rs6000/rs6000.c: use it. * config/arm/arm.c: use it. * config/mips/mips.c: use it. * stmt.c: use it, use EXPAND_NORMAL explicitely. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 1ad0949fc60..a12c65d1444 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -2169,7 +2169,7 @@ expand_shift (enum tree_code code, enum machine_mode mode, rtx shifted,
and shifted in the other direction; but that does not work
on all machines. */
- op1 = expand_expr (amount, NULL_RTX, VOIDmode, 0);
+ op1 = expand_normal (amount);
if (SHIFT_COUNT_TRUNCATED)
{