]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/80463 (ICE with -fselective-scheduling2 and -fvar-tracking...
authorAndrey Belevantsev <abel@ispras.ru>
Mon, 9 Apr 2018 10:19:50 +0000 (13:19 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Mon, 9 Apr 2018 10:19:50 +0000 (13:19 +0300)
commit6abce7391ae63fd2808aa471aa9dd2679eb00496
tree6eed31f778672ee91998c2248cd01ed9927de7fd
parent8e9a9b014264250eeda5544cafbdc16eba9489e1
re PR rtl-optimization/80463 (ICE with -fselective-scheduling2 and -fvar-tracking-assignments)

       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.

From-SVN: r259231
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr80463.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr80463.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr83972.c [new file with mode: 0644]