aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expmed.cc')
-rw-r--r--gcc/expmed.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.cc b/gcc/expmed.cc
index 6c02c3b..323565f 100644
--- a/gcc/expmed.cc
+++ b/gcc/expmed.cc
@@ -2705,7 +2705,7 @@ expand_shift (enum tree_code code, machine_mode mode, rtx shifted,
/* Likewise, but return 0 if that cannot be done. */
-static rtx
+rtx
maybe_expand_shift (enum tree_code code, machine_mode mode, rtx shifted,
int amount, rtx target, int unsignedp)
{
@@ -5712,7 +5712,7 @@ emit_store_flag_1 (rtx target, enum rtx_code code, rtx op0, rtx op1,
/* Next try expanding this via the backend's cstore<mode>4. */
mclass = GET_MODE_CLASS (mode);
- FOR_EACH_MODE_FROM (compare_mode, mode)
+ FOR_EACH_WIDER_MODE_FROM (compare_mode, mode)
{
machine_mode optab_mode = mclass == MODE_CC ? CCmode : compare_mode;
icode = optab_handler (cstore_optab, optab_mode);