https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Peter Bergner from comment #8) > FYI, here's a smaller test case that still shows the issue with today's > trunk: > > extern void foo (void); > long int > __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) > __memmove_ppc (long int cond) > { > if (cond) > foo (); > return cond; > } All right, I have a patch candidate. Would it be possible to prepare a GCC test-suite test-case?