Add a testcase for already fixed PR c/80778

Message ID 20180323104733.GE8577@tucnak
State New
Headers show
Series
  • Add a testcase for already fixed PR c/80778
Related show

Commit Message

Jakub Jelinek March 23, 2018, 10:47 a.m.
Hi!

This testcase has been already fixed on the trunk with r257620
aka PR84305 fix.  I've tested and committed as obvious following testcase so
that PR80778 can be closed.

2018-03-23  Jakub Jelinek  <jakub@redhat.com>

	PR c/80778
	* gcc.dg/lto/pr80778_0.c: New test.


	Jakub

Patch

--- gcc/testsuite/gcc.dg/lto/pr80778_0.c.jj	2018-03-23 11:42:03.210732409 +0100
+++ gcc/testsuite/gcc.dg/lto/pr80778_0.c	2018-03-23 11:41:58.087734143 +0100
@@ -0,0 +1,5 @@ 
+/* PR c/80778 */
+/* { dg-lto-do link } */
+/* { dg-require-effective-target alloca } */
+
+#include "../auto-type-1.c"