[Bug c++/87967] [9 Regression] ICE in slpeel_duplicate_current_defs_from_edges

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 13 13:50:00 GMT 2018


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Nov 13 13:50:18 2018
New Revision: 266070

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

        PR tree-optimization/87967
        * tree-vect-loop.c (vect_transform_loop): Also copy PHIs
        for constants for the scalar loop.

        * g++.dg/opt/pr87967.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr87967.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c


More information about the Gcc-bugs mailing list