aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <marxin@gcc.gnu.org>2016-11-30 09:26:03 +0000
committerMartin Liska <marxin@gcc.gnu.org>2016-11-30 09:26:03 +0000
commite03fb6ec681070048ecc0f1f2d2a299dc3d3db1a (patch)
tree5d1549c2aae0ee6cb3dc5573ad864aedbb163312 /gcc
parentdfad822a610f2293d779f72c454437c0779c9b4d (diff)
downloadgcc-e03fb6ec681070048ecc0f1f2d2a299dc3d3db1a.zip
gcc-e03fb6ec681070048ecc0f1f2d2a299dc3d3db1a.tar.gz
gcc-e03fb6ec681070048ecc0f1f2d2a299dc3d3db1a.tar.bz2
Add missing file
From-SVN: r243002
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr78582.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr78582.c b/gcc/testsuite/gcc.dg/pr78582.c
new file mode 100644
index 0000000..3084e3b
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr78582.c
@@ -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;
+}