https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95401
--- Comment #9 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- It is definitely a problem in the dg infrastructure that compile mode doesn't work with additional sources, but fixing that seems quite involved, more than I can tackle right now. I've tried to duplicate the problem with a single test source file, with the compiler commit mentioned in the initial report, but failed, and it wasn't just because of the type inconsistency between var_14 across the current units. I suppose the alignment miscomputation, that caused an aligned vector store insn to be incorrectly used, doesn't come up when the alignment is known, and much stricter than what can be assumed for an external symbol. Oh well...