PR rtl-optimization/88018
commit2c9099d3af154ea274f3ac35d13548ab65d46eb5
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Nov 2018 15:09:43 +0000 (17 15:09 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Nov 2018 15:09:43 +0000 (17 15:09 +0000)
tree3ba15649218e146bf900508a8ba7e7a15c1c78ab
parentfc9dd36922b92c9fad32f9a8ea9dc8c709b59c71
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266236 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/g++.dg/tsan/pr88018.C [new file with mode: 0644]