On Mon, 2016-05-02 at 16:13 +0200, Bernd Schmidt wrote: > On 05/02/2016 03:43 PM, Bernd Edlinger wrote: > > Yes, you are right. Only the original use-case seems to be > > sh-superh-elf specific. But there are also spec strings > > that are always available. I think adding -DFOO to > > "cpp_unique_options" will work on any target, and make the > > test case even more useful. > > > > > > So is the updated patch OK? > > If that passes testing on non-sh, yes.
It seems that test case doesn't work on sh4-linux. There's a new failure: https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00089.html FAIL: gcc.dg/spec-options.c execution test Cheers, Oleg