[Bug target/69888] ICE: SIGSEGV in decide_alg (i386.c:26169) due to infinite (?) recursion with -minline-all-stringops -mmemset-strategy=no_stringop:-1:noalign
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 30 12:40:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69888
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:39:20 2016
New Revision: 234560
URL: https://gcc.gnu.org/viewcvs?rev=234560&root=gcc&view=rev
Log:
Backported from mainline
2016-03-04 Jakub Jelinek <jakub@redhat.com>
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.
2016-02-22 Jakub Jelinek <jakub@redhat.com>
PR target/69888
* config/i386/i386.c (decide_alg): Ensure we don't recurse with
identical arguments. Formatting and spelling fixes.
* gcc.target/i386/pr69888.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr69888.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr70062.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list