https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90435
--- Comment #4 from 庞庆源 <pangqingyuan1991 at 163 dot com> --- (In reply to Marc Glisse from comment #3) > (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? -fno-builtin is the solution, thanks!