aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2018-11-17 16:09:43 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-11-17 16:09:43 +0100
commite14aba114fb0199d12b06934d9e9af8252cce1c2 (patch)
tree3ba15649218e146bf900508a8ba7e7a15c1c78ab /gcc
parentba1677480a6974a693c8b4136b4a0bc52e19d551 (diff)
downloadgcc-e14aba114fb0199d12b06934d9e9af8252cce1c2.zip
gcc-e14aba114fb0199d12b06934d9e9af8252cce1c2.tar.gz
gcc-e14aba114fb0199d12b06934d9e9af8252cce1c2.tar.bz2
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: r266236
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/tsan/pr88018.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/tsan/pr88018.C b/gcc/testsuite/g++.dg/tsan/pr88018.C
new file mode 100644
index 0000000..9a909b4
--- /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"