aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-21 09:52:03 +0000
committerxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-21 09:52:03 +0000
commitac24d59301b393c57b32f6c3db41b802802ca047 (patch)
treee07be4f172fa9b539ed01a2833c665cd8c8ef93e
parented33297afdb5c5277fc4fffd2ffcae01a15945db (diff)
Backport r178975 from mainline
2011-09-19 Ian Bolton <ian.bolton@arm.com> * gcc.dg/20100906-1.c: Use -fno-short-enums option for "target arm_eabi". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179041 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog.arm8
-rw-r--r--gcc/testsuite/gcc.dg/20100906-1.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog.arm b/gcc/testsuite/ChangeLog.arm
index eea39db14d1..ff2c660a69a 100644
--- a/gcc/testsuite/ChangeLog.arm
+++ b/gcc/testsuite/ChangeLog.arm
@@ -1,3 +1,11 @@
+2011-09-21 Terry Guo <terry.guo@arm.com>
+
+ Backport r178975 from mainline
+ 2011-09-19 Ian Bolton <ian.bolton@arm.com>
+
+ * gcc.dg/20100906-1.c: Use -fno-short-enums option for
+ "target arm_eabi".
+
2011-09-20 Terry Guo <terry.guo@arm.com>
Backport r177357 from mainline
diff --git a/gcc/testsuite/gcc.dg/20100906-1.c b/gcc/testsuite/gcc.dg/20100906-1.c
index a6541e3ff84..042ba99c534 100644
--- a/gcc/testsuite/gcc.dg/20100906-1.c
+++ b/gcc/testsuite/gcc.dg/20100906-1.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-short-enums -Wl,--no-enum-size-warning" {target arm_eabi} } */
/* This testcase got misoptimized by combine due to a wrong setting of
subst_low_luid in try_combine. */