This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,Testsuite] Fix failure in gcc.dg/tree-ssa/forwprop-26.c
- From: Jeff Law <law at redhat dot com>
- To: Greta Yorsh <greta dot yorsh at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, janisjo at codesourcery dot com, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Ramana dot Radhakrishnan at arm dot com
- Date: Fri, 03 May 2013 14:27:23 -0600
- Subject: Re: [Patch,Testsuite] Fix failure in gcc.dg/tree-ssa/forwprop-26.c
- References: <CAG-8DVkCZtbie5_F8TEYBEdoCwH9Uw1noZHk70yCHXB979BKWA at mail dot gmail dot com>
On 05/03/2013 01:13 PM, Greta Yorsh wrote:
This is a new test that fails on arm and probably other targets that
have short enums by default:
FAIL: gcc.dg/tree-ssa/forwprop-26.c (test for excess errors)
Excess errors:
/src/gcc/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c:13:22: error:
width of 'code' exceeds its type
gcc.dg/tree-ssa/forwprop-26.c: dump file does not exist
This patch adds missing -fno-short-enums to dg-options. It fixes the
test failure.
Ok for trunk?
Thanks,
Greta
gcc/testsuite/ChangeLog
2013-05-03 Greta Yorsh <Greta.Yorsh@arm.com>
* gcc.dg/tree-ssa/forwprop-26.c: Add -fno-short-enums
to dg-options.
This is fine. Sorry for introducing the noise.
jeff