Add missing file
authorMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Nov 2016 09:26:03 +0000 (09:26 +0000)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Nov 2016 09:26:03 +0000 (09:26 +0000)
From-SVN: r243002

gcc/testsuite/gcc.dg/pr78582.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/pr78582.c b/gcc/testsuite/gcc.dg/pr78582.c
new file mode 100644 (file)
index 0000000..3084e3b
--- /dev/null
@@ -0,0 +1,18 @@
+/* PR target/78582. */
+/* { dg-options "-fprofile-generate" } */
+/* { dg-compile } */
+
+#include <setjmp.h>
+
+void reader_loop () {}
+
+int
+main (int argc, char argv, char env)
+{
+  int a;
+  sigsetjmp (0, 0);
+  argc = a = argc;
+  reader_loop ();
+
+  return 0;
+}