summaryrefslogtreecommitdiffstats
path: root/gcc/config/arm/arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arm/arm.h')
-rw-r--r--gcc/config/arm/arm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index e0430908901..56d1a334912 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -480,10 +480,9 @@ extern int arm_arch_hwdiv;
}
#define PROMOTE_FUNCTION_MODE(MODE, UNSIGNEDP, TYPE) \
- if ((GET_MODE_CLASS (MODE) == MODE_INT \
- || GET_MODE_CLASS (MODE) == MODE_COMPLEX_INT) \
+ if (GET_MODE_CLASS (MODE) == MODE_INT \
&& GET_MODE_SIZE (MODE) < 4) \
- (MODE) = SImode; \
+ (MODE) = SImode;
/* Define this if most significant bit is lowest numbered
in instructions that operate on numbered bit-fields. */
OpenPOWER on IntegriCloud