This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR 86979
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andrey Belevantsev <abel at ispras dot ru>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Alexander Monakov <amonakov at ispras dot ru>
- Date: Mon, 18 Mar 2019 09:33:58 +0100
- Subject: Re: Fix PR 86979
- References: <b453ef22-0a65-4b4e-3241-b18c074ef3f7@ispras.ru>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 15, 2019 at 01:25:57PM +0300, Andrey Belevantsev wrote:
> 2019-03-15 Andrey Belevantsev <abel@ispras.ru>
>
> PR middle-end/89676
There is a typo in the PR number that I've fixed and added a testcase for
this, committed as obvious:
2019-03-18 Jakub Jelinek <jakub@redhat.com>
PR middle-end/86979
* gcc.dg/pr86979.c: New test.
--- gcc/testsuite/gcc.dg/pr86979.c.jj 2019-03-18 09:28:00.090554402 +0100
+++ gcc/testsuite/gcc.dg/pr86979.c 2019-03-18 09:27:49.313728712 +0100
@@ -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"
--- gcc/ChangeLog.jj 2019-03-18 09:17:43.669527380 +0100
+++ gcc/ChangeLog 2019-03-18 09:30:15.647361882 +0100
@@ -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.
Jakub