https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88030
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Feb 7 08:16:07 2019 New Revision: 268608 URL: https://gcc.gnu.org/viewcvs?rev=268608&root=gcc&view=rev Log: 2019-02-07 Richard Biener <rguent...@suse.de> Backport from mainline 2018-12-11 Richard Biener <rguent...@suse.de> PR middle-end/88448 PR middle-end/88415 * tree-complex.c (update_complex_assignment): Properly transfer or clean EH info around gimple_assign_set_rhs_with_ops. * gcc.dg/gomp/pr88415.c: New testcase. 2018-11-15 Richard Biener <rguent...@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. 2018-11-08 Richard Biener <rguent...@suse.de> PR tree-optimization/87929 * tree-complex.c (expand_complex_comparison): Clean EH. * gcc.dg/pr87929.c: New testcase. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/gomp/pr88415.c branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr87929.c branches/gcc-8-branch/gcc/testsuite/gcc.dg/tsan/pr88030.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-complex.c