This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch,Testsuite] Fix failure in gcc.dg/tree-ssa/forwprop-26.c


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.

Attachment: fix-test-forwprop-26.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]