From: jakub Date: Sat, 17 Nov 2018 15:09:43 +0000 (+0000) Subject: PR rtl-optimization/88018 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9099d3af154ea274f3ac35d13548ab65d46eb5;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/g++.dg/tsan/pr88018.C b/gcc/testsuite/g++.dg/tsan/pr88018.C new file mode 100644 index 000000000000..9a909b4dbe3f --- /dev/null +++ b/gcc/testsuite/g++.dg/tsan/pr88018.C @@ -0,0 +1,6 @@ +// PR rtl-optimization/88018 +// { dg-do compile } +// { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } +// { dg-options "-fsanitize=thread -fno-ipa-pure-const -O1 -fno-inline-functions-called-once -w" } + +#include "../pr69667.C"