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

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

--- Comment #12 from Andrey Belevantsev  ---
(In reply to Jakub Jelinek from comment #11)
> Not fully fixed yet, the testcase still ICEs with:
> -O2 -g -gstatement-frontiers -fselective-scheduling2 -fsel-sched-pipelining
> -fgcse-sm -floop-parallelize-all -fno-tree-loop-im

I couldn't make testcase from #c2 to ICE with those, so I've checked out the
reported rev. 255766 and reproduced the ICE from that comment.  That one is
fixed with the same patch as for PR 80463 #c3 and PR 83972.

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

2018-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

--- Comment #11 from Jakub Jelinek  ---
Not fully fixed yet, the testcase still ICEs with:
-O2 -g -gstatement-frontiers -fselective-scheduling2 -fsel-sched-pipelining
-fgcse-sm -floop-parallelize-all -fno-tree-loop-im

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

2018-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Sat Jan  6 07:48:31 2018
New Revision: 256309

URL: https://gcc.gnu.org/viewcvs?rev=256309=gcc=rev
Log:
PR debug/83480
* toplev.c (process_options): Don't enable debug_nonbind_markers_p
by default if flag_selective_schedling{,2}.  Formatting fixes.

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

Added:
trunk/gcc/testsuite/gcc.dg/pr83480.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/toplev.c

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

2018-01-05 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

--- Comment #9 from Alexandre Oliva  ---
didn't we print a warning if we found VTA and sel-sched enabled at the same
time, too?  I guess that might be useful in this case as well.  (thanks for
taking care of this!)

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

2018-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480

--- Comment #8 from Jakub Jelinek  ---
Created attachment 43045
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43045=edit
gcc8-pr83480.patch

In any case, I think this patch is a small step towards the right direction.