https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528
--- Comment #23 from Jürgen Reuter <juergen.reuter at desy dot de> --- Created attachment 58486 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58486&action=edit 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.