[Bug middle-end/85567] [7/8 Regression] internal compiler error: in gimplify_modify_expr, at gimplify.c:5797 when using sincos()

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 8 13:34:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85567

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue May  8 13:33:54 2018
New Revision: 260044

URL: https://gcc.gnu.org/viewcvs?rev=260044&root=gcc&view=rev
Log:
2018-05-08  Richard Biener  <rguenther@suse.de>

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

        PR middle-end/85588
        * fold-const.c (negate_expr_p): Restrict negation of operand
        zero of a division to when we know that can happen without
        overflow.
        (fold_negate_expr_1): Likewise.

        * gcc.dg/torture/pr85588.c: New testcase.
        * gcc.dg/torture/pr57656.c: Use dg-additional-options.

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

        PR tree-optimization/85615
        * tree-ssa-threadupdate.c (thread_block_1): Only allow exits
        to loops not nested in BBs loop father to avoid creating multi-entry
        loops.

        * gcc.dg/torture/pr85615.c: New testcase.

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

        PR middle-end/85567
        * gimplify.c (gimplify_save_expr): When in SSA form allow
        SAVE_EXPRs to compute to SSA vars.

        * gcc.dg/torture/pr85567.c: New testcase.

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

        PR tree-optimization/85597
        * tree-vect-stmts.c (vectorizable_operation): For ternary SLP
        do not use split vect_get_vec_defs call but call vect_get_slp_defs
        directly.

        * gcc.dg/vect/pr85597.c: New testcase.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr85567.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr85588.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr85615.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/vect/pr85597.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/fold-const.c
    branches/gcc-8-branch/gcc/gimplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr57656.c
    branches/gcc-8-branch/gcc/tree-ssa-threadupdate.c
    branches/gcc-8-branch/gcc/tree-vect-stmts.c


More information about the Gcc-bugs mailing list