This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/85627] [6/7/8/9 Regression] ICE in update_phi_components in tree-complex.c
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2018 07:31:24 +0000
- Subject: [Bug tree-optimization/85627] [6/7/8/9 Regression] ICE in update_phi_components in tree-complex.c
- Auto-submitted: auto-generated
- References: <bug-85627-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85627
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri May 4 07:30:50 2018
New Revision: 259923
URL: https://gcc.gnu.org/viewcvs?rev=259923&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr85627.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-complex.c
trunk/gcc/tree.c