[Bug tree-optimization/96579] [8 Regression] ICE in gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs1, at gimple.h:2605 since r7-950-g8a85cee26eabf5cf

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 17 11:14:16 GMT 2021


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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:19b7dd1caf953f8b79b16c6fc0439dba2a598b1f

commit r8-10805-g19b7dd1caf953f8b79b16c6fc0439dba2a598b1f
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Aug 27 10:02:22 2020 +0200

    tree-optimization/96579 - another special-operands fix in reassoc

    This makes sure to put special-ops expanded rhs left where
    expression rewrite expects it.

    2020-08-27  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/96579
            * tree-ssa-reassoc.c (linearize_expr_tree): If we expand
            rhs via special ops make sure to swap operands.

            * gcc.dg/pr96579.c: New testcase.

    (cherry picked from commit 92b6627874cc924eeed9084a09f09504e20b5387)


More information about the Gcc-bugs mailing list