This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Testsuite fix
- From: Paul Brook <paul at codesourcery dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 May 2004 19:00:20 +0100
- Subject: [patch] Testsuite fix
- Organization: CodeSourcery
The following patch fixes a test which fails with -fshort-enums.
Tested with cross to arm-none-elf.
Applied as obvious.
Paul
2004-05-11 Paul Brook <paul@codesourcery.com>
* gcc.c-torture/compile/20010518-1.c: Force enum size.
Index: gcc.c-torture/compile/20010518-1.c
===================================================================
RCS
file: /var/cvsroot/gcc-cvs/gcc/gcc/testsuite/gcc.c-torture/compile/20010518-1.c,v
retrieving revision 1.1
diff -u -p -r1.1 20010518-1.c
--- a/gcc.c-torture/compile/20010518-1.c 18 May 2001 22:33:26 -0000 1.1
+++ b/gcc.c-torture/compile/20010518-1.c 11 May 2004 17:39:30 -0000
@@ -25,7 +25,7 @@ enum rtx_code
UNKNOWN,
NIL,
REG,
- LAST_AND_UNUSED_RTX_CODE
+ LAST_AND_UNUSED_RTX_CODE = 256
};
typedef struct