re PR rtl-optimization/88018 (ICE in insert_insn_on_edge at cfgrtl.c:1952 since r255066)
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Nov 2018 08:47:21 +0000 (09:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Nov 2018 08:47:21 +0000 (09:47 +0100)
commit3df45f179a29e223d795502b80c1a877bca47a14
tree798e8b51907ec9f74ec6e2dec464b2fa447733ee
parentef0519fd4f688558fe2de79e741529655724478d
re PR rtl-optimization/88018 (ICE in insert_insn_on_edge at cfgrtl.c:1952 since r255066)

PR rtl-optimization/88018
* cfgrtl.c (fixup_abnormal_edges): Guard moving insns to fallthru edge
on the presence of fallthru edge, rather than if it is a USE or not.

* g++.dg/tsan/pr88018.C: New test.

From-SVN: r266174
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog