Bernd Edlinger <bernd.edlin...@hotmail.de> wrote: > No, I actually fixed it, thanks. That test was done without my patch: > > > LAST_UPDATED: Sun May 1 13:46:11 UTC 2016 (revision 235692) > > svn log -r235762 > ------------------------------------------------------------------------ > r235762 | edlinger | 2016-05-02 16:41:25 +0200 (Mo, 02. Mai 2016) | 5 Zeilen > > 2016-05-02 Bernd Edlinger <bernd.edlin...@hotmail.de> > > * gcc.dg/spec-options.c: Run the test on all targets. > * gcc.dg/foo.specs: Use cpp_unique_options. > > You see: 235692 < 235762 > > As I said the test case _was_ bogus from the beginning, and would > _only_ pass for sh*-superh-elf target, but it was never passing for > --target=sh4-unknown-linux-gnu. However we were not aware of that > fact, because the dejagnu bug masked that until the two contradicting > dg-do rules were swapped. > > I'd bet that the rest of the handful of testcases where two different > dg-do statements are used, are also bogus, because they have never been > executed due to the dejagu-bug, and they are written differently than > all the other tests.
Ah, I see what is going on. Thanks for your explanation. As I've just written, now the testcase passes on sh4-unknown-linux-gnu. Regards, kaz