[Bug debug/83480] ICE in create_block_for_bookkeeping, at sel-sched.c:4557

2018-04-09 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

Andrey Belevantsev  changed:

   What|Removed |Added

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

--- Comment #15 from Andrey Belevantsev  ---
Fixed on trunk.

[Bug debug/83480] ICE in create_block_for_bookkeeping, at sel-sched.c:4557

2018-04-09 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

--- Comment #14 from Andrey Belevantsev  ---
Author: abel
Date: Mon Apr  9 10:19:50 2018
New Revision: 259231

URL: https://gcc.gnu.org/viewcvs?rev=259231=gcc=rev
Log:
   PR rtl-optimization/80463
   PR rtl-optimization/83972
   PR rtl-optimization/83480

   * sel-sched-ir.c (has_dependence_note_mem_dep): Take into account the
   correct producer for the insn.
   (tidy_control_flow): Fixup seqnos in case of debug insns.

   * gcc.dg/pr80463.c: New test.
   * g++.dg/pr80463.C: Likewise.
   * gcc.dg/pr83972.c: Likewise.


Added:
trunk/gcc/testsuite/g++.dg/pr80463.C
trunk/gcc/testsuite/gcc.dg/pr80463.c
trunk/gcc/testsuite/gcc.dg/pr83972.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/sel-sched-ir.c
trunk/gcc/testsuite/ChangeLog

[Bug debug/83480] ICE in create_block_for_bookkeeping, at sel-sched.c:4557

2018-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|8.0 |---
Summary|[8 Regression] ICE in   |ICE in
   |create_block_for_bookkeepin |create_block_for_bookkeepin
   |g, at sel-sched.c:4557  |g, at sel-sched.c:4557

--- Comment #13 from Richard Biener  ---
It's no longer a regression now since -gstatement-frontiers is new and now
required to trigger the ICE.