aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-05-14 13:12:04 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2009-05-14 13:12:04 +0000
commit3bd0d9c861f3600eb76397e600358f4e8bc3ada2 (patch)
treebeb691e8a7e6cc7f9de29e233df854dbe8322ace /gcc
parenta531043b0e792bfecf869565220948de19c7c49d (diff)
downloadgcc-3bd0d9c861f3600eb76397e600358f4e8bc3ada2.zip
gcc-3bd0d9c861f3600eb76397e600358f4e8bc3ada2.tar.gz
gcc-3bd0d9c861f3600eb76397e600358f4e8bc3ada2.tar.bz2
arm.h (PROMOTE_FUNCTION_MODE): Remove handling of MODE_COMPLEX_INT.
2009-05-14 Paolo Bonzini <bonzini@gnu.org> * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Remove handling of MODE_COMPLEX_INT. From-SVN: r147531
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.h5
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6150c37..74a7376 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-14 Paolo Bonzini <bonzini@gnu.org>
+
+ * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Remove handling
+ of MODE_COMPLEX_INT.
+
2009-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/alpha/alpha.c (alpha_initialize_trampoline): Change 0 to
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index e043090..56d1a33 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. */