re PR c/15224 (Attribute mode causes ICE when applied to enums)
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Wed, 1 Sep 2004 20:14:32 +0000 (20:14 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 1 Sep 2004 20:14:32 +0000 (16:14 -0400)
PR c/15224
* gcc.c-torture/compile/20040901-1.c: New test, from PR.

From-SVN: r86927

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20040901-1.c [new file with mode: 0644]

index 3bd1005a1c87ac46ef31e9cfc0a848295c3ebe70..5721b13429ff61f81fb769697bf5b335d984a186 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       PR c/1522
+       * gcc.c-torture/compile/20040901-1.c: New test, from PR.
+
 2004-09-01  Mark Mitchell  <mark@codesourcery.com>
 
        * 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 (file)
index 0000000..68aaa74
--- /dev/null
@@ -0,0 +1,2 @@
+typedef enum {a, b} __attribute__((__mode__(__QI__))) x;
+x foo;