From 57b38f517c7f434809f5ceb5be1e3bf4c0055bf9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 1 Sep 2004 20:14:32 +0000 Subject: [PATCH] re PR c/15224 (Attribute mode causes ICE when applied to enums) PR c/15224 * gcc.c-torture/compile/20040901-1.c: New test, from PR. From-SVN: r86927 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/compile/20040901-1.c | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/20040901-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3bd1005a1c8..5721b13429f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-01 Richard Kenner + + PR c/1522 + * gcc.c-torture/compile/20040901-1.c: New test, from PR. + 2004-09-01 Mark Mitchell * g++.dg/opt/loop1.C: Do not XFAIL. diff --git a/gcc/testsuite/gcc.c-torture/compile/20040901-1.c b/gcc/testsuite/gcc.c-torture/compile/20040901-1.c new file mode 100644 index 00000000000..68aaa74ae7e --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20040901-1.c @@ -0,0 +1,2 @@ +typedef enum {a, b} __attribute__((__mode__(__QI__))) x; +x foo; -- 2.30.2