re PR tree-optimization/88030 (ICE in calc_dfs_tree, at dominance.c:458)
authorRichard Biener <rguenther@suse.de>
Thu, 15 Nov 2018 10:42:15 +0000 (10:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 15 Nov 2018 10:42:15 +0000 (10:42 +0000)
commitbca7138a499a88d774ada82f0401ad0981fe7572
tree9b4b85f1fa75a6ae7fc24ae3da351319ac5e3e4c
parent3df45f179a29e223d795502b80c1a877bca47a14
re PR tree-optimization/88030 (ICE in calc_dfs_tree, at dominance.c:458)

2018-11-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88030
* tree-complex.c (need_eh_cleanup): New global.
(update_complex_assignment): Mark blocks that need EH update.
(expand_complex_comparison): Likewise.
(tree_lower_complex): Allocate and deallocate need_eh_cleanup,
perform EH cleanup and schedule CFG cleanup if that did anything.

* gcc.dg/tsan/pr88030.c: New testcase.

From-SVN: r266175
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tsan/pr88030.c [new file with mode: 0644]
gcc/tree-complex.c