pr44832.c: Use -fno-short-enums option for "target short_enums".
authorIan Bolton <ian.bolton@arm.com>
Mon, 22 Nov 2010 15:52:28 +0000 (15:52 +0000)
committerIan Bolton <ibolton@gcc.gnu.org>
Mon, 22 Nov 2010 15:52:28 +0000 (15:52 +0000)
2010-11-22  Ian Bolton  <ian.bolton@arm.com>

* testsuite/c-c++-common/pr44832.c: Use -fno-short-enums
option for "target short_enums".
* testsuite/gcc.c-torture/compile/pr39845.c: Likewise.

From-SVN: r167036

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr44832.c
gcc/testsuite/gcc.c-torture/compile/pr39845.c

index 630ea927251706e866e86ddae3b3f985654b1361..4d9bbc5d1649c013447c77429a96213da2a8138b 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-22  Ian Bolton  <ian.bolton@arm.com>
+
+       * testsuite/c-c++-common/pr44832.c: Use -fno-short-enums option for
+       "target short_enums".
+       * testsuite/gcc.c-torture/compile/pr39845.c: Likewise.
+
 2010-11-22  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR rtl-optimization/46603
index 4138e37f01de77151fad60f572515a4d2fc3f0f3..ccb2826ee08153cdd70340ba9933ecbc407fdbd2 100644 (file)
@@ -1,6 +1,7 @@
 /* PR debug/44832 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fcompare-debug" } */
+/* { dg-options "-O2 -fcompare-debug -fno-short-enums" {target short_enums} } */
 
 struct rtx_def;
 typedef struct rtx_def *rtx;
index beade5f43228989e8f989f9d1382961295006981..bd731989d082a67a6c91a7d73a7823d04d3e5d90 100644 (file)
@@ -1,3 +1,5 @@
+
+/* { dg-options "-fno-short-enums" {target short_enums} } */
 typedef union tree_node *tree;
 enum tree_code { EXCESS_PRECISION_EXPR };
 enum built_in_function { BUILT_IN_ACOS, BUILT_IN_FPCLASSIFY, BUILT_IN_ISFINITE };