re PR middle-end/86979 (ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with...
authorJakub Jelinek <jakub@gcc.gnu.org>
Mon, 18 Mar 2019 08:31:41 +0000 (09:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 18 Mar 2019 08:31:41 +0000 (09:31 +0100)
PR middle-end/86979
* gcc.dg/pr86979.c: New test.

From-SVN: r269752

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

index b66cb5d81cc69f0ead64a88b517c74543188dc52..7580713c8cf97372dd39f24db70decebce2614ea 100644 (file)
@@ -1,6 +1,6 @@
 2019-03-18  Andrey Belevantsev  <abel@ispras.ru>
 
-       PR middle-end/89676
+       PR middle-end/86979
        * sel-sched.c (compute_av_set_at_bb_end): When we have an ineligible
        successor, use NULL as its av set.
 
index ecb996281674216fdae8bccf4f26074de8a3f6f2..585cba50d97c19de06d345ca0f30a4f723f034c2 100644 (file)
@@ -1,3 +1,8 @@
+2019-03-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/86979
+       * gcc.dg/pr86979.c: New test.
+
 2019-03-17  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/88008
diff --git a/gcc/testsuite/gcc.dg/pr86979.c b/gcc/testsuite/gcc.dg/pr86979.c
new file mode 100644 (file)
index 0000000..5c78d78
--- /dev/null
@@ -0,0 +1,5 @@
+/* { dg-options "-Og -fPIC -fschedule-insns2 -fselective-scheduling2 -fno-tree-fre --param=max-sched-extend-regions-iters=2" } */
+/* { dg-require-effective-target scheduling } */
+/* { dg-require-effective-target fpic } */
+
+#include "../gcc.c-torture/compile/pr69102.c"