This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/85627] [6/7/8/9 Regression] ICE in update_phi_components in tree-complex.c


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]