aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-03-22 19:34:44 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-03-22 19:34:44 +0100
commitf3dd574e54fc67403c7bfe43780401e06e856dde (patch)
tree904be942771e5ff0b78f41ad11034f3427573b07 /gcc/gimplify.c
parentc6dd4ee6b4a2716ae8c70644eb2987230ad729ac (diff)
downloadgcc-f3dd574e54fc67403c7bfe43780401e06e856dde.zip
gcc-f3dd574e54fc67403c7bfe43780401e06e856dde.tar.gz
gcc-f3dd574e54fc67403c7bfe43780401e06e856dde.tar.bz2
re PR sanitizer/80110 (error: statement marked for throw, but doesn’t w/ -fsanitize=thread)
PR sanitizer/80110 * tsan.c: Include tree-eh.h. (instrument_builtin_call): Call maybe_clean_eh_stmt or maybe_clean_or_replace_eh_stmt where needed. (instrument_memory_accesses): Add cfg_changed argument. Call gimple_purge_dead_eh_edges on each block and set *cfg_changed if it returned true. (tsan_pass): Adjust caller. Return TODO_cleanup_cfg if cfg_changed. * g++.dg/tsan/pr80110.C: New test. From-SVN: r246399
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions