https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528
--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #23) > Created attachment 58486 [details] > Shorter reproducer > > This is a shorter reproducer, two files of a few hundred lines each. It > seems that the problem with the vectorization appears only if the call and > the double do loop are in two different files. Thanks, but see comment#21 where I already reduced a testcase. I've posted a fix already at https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655376.html