This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite] No short enum in tree-ssa test
- From: Janis Johnson <janis_johnson at mentor dot com>
- To: Joey Ye <joey dot ye at arm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 24 Aug 2012 14:01:18 -0700
- Subject: Re: [PATCH, testsuite] No short enum in tree-ssa test
- References: <000801cd81a5$4cc3a6d0$e64af470$@ye@arm.com>
- Reply-to: <janisjo at codesourcery dot com>
On 08/23/2012 08:05 PM, Joey Ye wrote:
> 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?
OK.
Janis
> 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;
>
>
>
>
>
>
>