re PR tree-optimization/85627 (ICE in update_phi_components in tree-complex.c)
authorRichard Biener <rguenther@suse.de>
Fri, 4 May 2018 07:30:50 +0000 (07:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 4 May 2018 07:30:50 +0000 (07:30 +0000)
commit7d187fdfdfcf16441c895625f2d947c7a09a0060
tree934fa97e4e8975a4351d77cb5226f668ac1a3a96
parent9b5713f7ce06d6f4c0df7410352623573d2506ea
re PR tree-optimization/85627 (ICE in update_phi_components in tree-complex.c)

2018-05-04  Richard Biener  <rguenther@suse.de>

PR middle-end/85627
* tree-complex.c (update_complex_assignment): We are always in SSA form.
(expand_complex_div_wide): Likewise.
(expand_complex_operations_1): Likewise.
(expand_complex_libcall): Preserve EH info of the original stmt.
(tree_lower_complex): Handle removed blocks.
* tree.c (build_common_builtin_nodes): Do not set ECF_NOTRHOW
on complex multiplication and division libcall builtins.

* g++.dg/torture/pr85627.C: New testcase.

From-SVN: r259923
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr85627.C [new file with mode: 0644]
gcc/tree-complex.c
gcc/tree.c