[Bug target/70062] ICE: in decide_alg, at config/i386/i386.c:26173 with -mmemcpy-strategy=libcall

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 4 20:29:00 GMT 2016


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  4 20:28:27 2016
New Revision: 233979

URL: https://gcc.gnu.org/viewcvs?rev=233979&root=gcc&view=rev
Log:
        PR target/70062
        * config/i386/i386.c (decide_alg): Add RECUR argument.  Revert
        2016-02-22 changes, instead don't recurse if RECUR is already true.
        Don't change *dynamic_check if RECUR.  Adjust recursive caller
        to pass true to the new argument.
        (ix86_expand_set_or_movmem): Adjust decide_alg caller.

        * gcc.target/i386/pr70062.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr70062.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list