summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr39845.c
diff options
context:
space:
mode:
authoribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 15:52:28 +0000
committeribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 15:52:28 +0000
commit3bfb8d8ca7584f7d1ea1223bb625b9097cefc5f4 (patch)
tree325808a106fec2282a82dee4e439e9de62583a44 /gcc/testsuite/gcc.c-torture/compile/pr39845.c
parent880a1da685c9958809a3c76e42bff5ba1c3d3a2c (diff)
downloadgcc-3bfb8d8ca7584f7d1ea1223bb625b9097cefc5f4.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr39845.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr39845.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr39845.c b/gcc/testsuite/gcc.c-torture/compile/pr39845.c
index beade5f4322..bd731989d08 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr39845.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr39845.c
@@ -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 };