This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix pr81083 testcase
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 Jun 2017 13:43:04 +0200 (CEST)
- Subject: [PATCH] Fix pr81083 testcase
- Authentication-results: sourceware.org; auth=none
Somehow I managed to not see the new testcase fail. I do now.
Tested on x86_64-unknown-linux-gnu, applied.
Richard.
2017-06-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/81083
* gcc.dg/torture/pr81083.c: Add prototypes.
Index: gcc/testsuite/gcc.dg/torture/pr81083.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr81083.c (revision 249192)
+++ gcc/testsuite/gcc.dg/torture/pr81083.c (working copy)
@@ -1,5 +1,7 @@
/* { dg-do compile } */
+void setjmp();
+void func();
void a(int arg)
{
extern struct { int x; } obj;