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

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

https://gcc.gnu.org/g:228c6a864577098f1b3aeeb412c2eb5f05787f02

commit r10-8749-g228c6a864577098f1b3aeeb412c2eb5f05787f02
Author: Richard Biener <rguent...@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  <rguent...@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 ff7463172e564c5dd2432d7af8eaa0124cbd4af7)

Reply via email to