PR rtl-optimization/88018
commita3f619a1b40509a8df861e0e4426e3967d8c5e66
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2018 08:47:21 +0000 (15 08:47 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2018 08:47:21 +0000 (15 08:47 +0000)
tree798e8b51907ec9f74ec6e2dec464b2fa447733ee
parenta36d6c3c43521cd4d56754a71ac91c87f4e22e96
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@266174 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog