[Bug middle-end/90435] gcc generate infinite loop code when using -O2 or -O3
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 12 05:33:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90435
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to 庞庆源 from comment #2)
> gcc pmalloc.c -O2 -o ppp -ldl -fno-tree-loop-distribute-patterns
> -fno-strict-aliasing
> Still not work.
-fno-builtin (the malloc+memset -> calloc is not part of loop distribution)
> Why I don't see stack overflow if this will trigger function loop calling
tail call?
More information about the Gcc-bugs
mailing list