https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295

--- Comment #3 from Iain Buclaw <ibuclaw at gcc dot gnu.org> ---
(In reply to Alexandre Oliva from comment #2)
> Ugh, it looks like D deviates from one of the fundamental assumptions behind
> the change, namely, that for each named source file, the compiler would
> attempt to generate one (set of) output files, so when not linking, an
> explicitly named output file would be rejected by the compiler.
> 
> I suppose we could make the new behavior of omitting additional sources in
> compile tests dependent on the input language.

This is because D (and at a glance Go and Rust too) sets this setting in
lang-specs.h

```
int combinable;       /* If nonzero, compiler can deal with
                         multiple source files at once (IMA).  */
```

Reply via email to