[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Jakub Jelinek  ---
Fixed.

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

--- Comment #13 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:03:03 2017
New Revision: 248649

URL: https://gcc.gnu.org/viewcvs?rev=248649=gcc=rev
Log:
Backported from mainline
2017-02-21  Jakub Jelinek  

PR target/79570
* sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
on temporarily removed DEBUG_INSNs.

* gcc.dg/pr79570.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr79570.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/sel-sched.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-05-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

--- Comment #12 from Jakub Jelinek  ---
Author: jakub
Date: Fri May  5 21:29:10 2017
New Revision: 247673

URL: https://gcc.gnu.org/viewcvs?rev=247673=gcc=rev
Log:
Backported from mainline
2017-02-21  Jakub Jelinek  

PR target/79570
* sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
on temporarily removed DEBUG_INSNs.

* gcc.dg/pr79570.c: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr79570.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/sel-sched.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-21 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

--- Comment #11 from Andrey Belevantsev  ---
(In reply to Jakub Jelinek from comment #10)
> Fixed on the trunk so far.

FWIW I stared at the code for some time but couldn't devise anything better
than your patch.  The hunk itself is somewhat suspicious as Alex said, and he
wanted to experiment with removing it altogether and looking at how it
influenced the -fcompare-debug.  But I doubt it would make any difference.

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[5/6/7 Regression] ICE in   |[5/6 Regression] ICE in
   |sel-sched-ir.c:4534 in  |sel-sched-ir.c:4534 in
   |pr69956.c   |pr69956.c

--- Comment #10 from Jakub Jelinek  ---
Fixed on the trunk so far.