https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Alexandre Oliva from comment #4) > Created attachment 58410 [details] > candidate patch > > This patch reverts dg-additional-sources to the earlier behavior, in which > sources are added regardless of the test, introducing an explicit flag to > activate the link-only mode. This should bring the D testsuite back to a > functioning state (I'd appreciate if someone who has a D compiler could give > it a spin; I'm new to it), and the additional of the flag to the pr95401.cc > test should address the original problem. So I fixed the other `dg-additional-sources` issues in the vect testsuite by adding `dg-do run` to them (PR 113899, r14-8978-g948dbc5ee45f9f). I suspect we should just do the same for g++.dg/vect/pr95401.cc . I had missed the c++ testsuite's vect testcases when I was looking for dg-additional-sources when I fixed that one.