re PR rtl-optimization/88347 (ICE in begin_move_insn, at sched-ebb.c:175)
authorJeff Law <law@gcc.gnu.org>
Mon, 25 Mar 2019 23:33:36 +0000 (17:33 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 25 Mar 2019 23:33:36 +0000 (17:33 -0600)
commitb9b0386a3e64702fe19180707613fbb6187a27b8
tree19da2bc05717221c2748d84150167c1a782aec09
parent0c9992c8b5e07e7295c8be65586a2a82e7f191e5
re PR rtl-optimization/88347 (ICE in begin_move_insn, at sched-ebb.c:175)

PR rtl-optimization/88347
PR rtl-optimization/88423
* sched-deps.c (sched_analyze_insn): Take into account that for
tablejumps the barrier appears after a label and a jump_table_data.

* gcc.c-torture/compile/pr88347.c: New test.
* gcc.c-torture/compile/pr88423.c: New test.

From-SVN: r269928
gcc/ChangeLog
gcc/sched-deps.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr88347.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr88423.c [new file with mode: 0644]