OSDN Git Service

2010-11-22 Ian Bolton <ian.bolton@arm.com>
authoribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2010 15:52:28 +0000 (15:52 +0000)
committeribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2010 15:52:28 +0000 (15:52 +0000)
* testsuite/c-c++-common/pr44832.c: Use -fno-short-enums
option for "target short_enums".
* testsuite/gcc.c-torture/compile/pr39845.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167036 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 630ea92..4d9bbc5 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 4138e37..ccb2826 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 beade5f..bd73198 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 };