This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite] No short enum in tree-ssa test
- From: "Joey Ye" <joey dot ye at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 24 Aug 2012 11:05:19 +0800
- Subject: [PATCH, testsuite] No short enum in tree-ssa test
Ssa-dom-thread-3.c has following code to trigger a warning on ARM. Add
-fno-short-enums to suppress it.
struct tree_base
{
enum tree_code code:16;
};
OK to trunk and 4.7?
2012-08-15 Joey Ye <Joey.Ye@arm.com>
* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums.
Index: testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c
===================================================================
--- testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (revision 190337)
+++ testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-dom1-details" } */
+/* { dg-options "-O2 -fdump-tree-dom1-details -fno-short-enums" } */
extern void abort (void) __attribute__ ((__noreturn__));
union tree_node;
typedef union tree_node *tree;