https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528
--- Comment #26 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Richard Biener from comment #24) > (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 So your reproducer doesn't segfault with the corresponding commit, it just produces wrong code, right?