[Bug tree-optimization/94949] [11 Regression] Wrong code for couple of SPEC benchmarks since r11-39-gf9e1ea10e657af9f

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 5 10:35:26 GMT 2020


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

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

https://gcc.gnu.org/g:0424a5ece5307cc22bbc0fe97edf4707d7a798ed

commit r11-67-g0424a5ece5307cc22bbc0fe97edf4707d7a798ed
Author: Richard Biener <rguenther@suse.de>
Date:   Tue May 5 11:00:09 2020 +0200

    tree-optimization/94949 - fix load eliding in SM

    This fixes the case of not using the multithreaded model when
    only conditionally storing to the destination.  We cannot elide
    the load in this case.

    2020-05-05  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/94949
            * tree-ssa-loop-im.c (execute_sm): Check whether we use
            the multithreaded model or always compute the stored value
            before eliding a load.

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


More information about the Gcc-bugs mailing list