This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PING [patch, testsuite] Fix a short-enums testsuite error
- From: "Ian Bolton" <ian dot bolton at arm dot com>
- To: "'Joseph Myers'" <joseph at codesourcery dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Feb 2011 10:56:13 -0000
- Subject: PING [patch, testsuite] Fix a short-enums testsuite error
- References: <000001cbb3f8$8351ab60$89f50220$@bolton@arm.com> <Pine.LNX.4.64.1101141723290.18651@digraph.polyomino.org.uk> <000201cbb6f4$9474f740$bd5ee5c0$@bolton@arm.com> <Pine.LNX.4.64.1101252258190.1203@digraph.polyomino.org.uk> <000001cbbd85$6c6ec590$454c50b0$@bolton@arm.com>
> Is the following patch OK for trunk?
>
>
> 2011-01-26 Ian Bolton <ian.bolton@arm.com>
>
> * testsuite/gcc.dg/20100906-1.c: Use -fno-short-enums
> option for "target arm_eabi".
>
>
> Index: gcc/testsuite/gcc.dg/20100906-1.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/20100906-1.c (revision 168543)
> +++ gcc/testsuite/gcc.dg/20100906-1.c (working copy)
> @@ -1,5 +1,6 @@
> /* { dg-do run } */
> /* { dg-options "-O2" } */
> +/* { dg-options "-O2 -fno-short-enums -Wl,--no-enum-size-warning"
> {target
> arm_eabi} } */
>
> /* This testcase got misoptimized by combine due to a wrong setting of
> subst_low_luid in try_combine. */
PING.