re PR c/80778 (gcc.dg/auto-type-1.c ICEs with -flto)
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 Mar 2018 10:45:36 +0000 (11:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Mar 2018 10:45:36 +0000 (11:45 +0100)
PR c/80778
* gcc.dg/lto/pr80778_0.c: New test.

From-SVN: r258797

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr80778_0.c [new file with mode: 0644]

index f004851943086eff876834ae0d83df76b549f5c4..2e6651a2f519183864b48ad96681f4dab0403ef6 100644 (file)
@@ -1,5 +1,8 @@
 2018-03-23  Jakub Jelinek  <jakub@redhat.com>
 
+       PR c/80778
+       * gcc.dg/lto/pr80778_0.c: New test.
+
        PR inline-asm/85034
        * gcc.target/i386/pr85034.c: New test.
 
diff --git a/gcc/testsuite/gcc.dg/lto/pr80778_0.c b/gcc/testsuite/gcc.dg/lto/pr80778_0.c
new file mode 100644 (file)
index 0000000..f936ed1
--- /dev/null
@@ -0,0 +1,5 @@
+/* PR c/80778 */
+/* { dg-lto-do link } */
+/* { dg-require-effective-target alloca } */
+
+#include "../auto-type-1.c"