https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295
--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Created attachment 58410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58410&action=edit 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.