On Sun, 16 Sep 2018, Bernd Edlinger wrote:

> Hi,
> 
> 
> this prevents test failures when gcc-4.8 is used as host-g++ tool, since this 
> version does
> understand -std=c++11 but not -fno-diagnostics-show-line-numbers and 
> -fdiagnostics-color=never.
> With slightly newer gcc tools like gcc-5 everything works fine.
> 
> Apparently the following commit added those options to TEST_ALWAYS_FLAGS.
> 
> 2018-08-09  David Malcolm  <dmalc...@redhat.com>
> 
>          PR other/84889
>          * gcc.dg/plugin/diagnostic-test-show-locus-bw-line-numbers.c: New
>          test.
>          * gcc.dg/plugin/diagnostic-test-show-locus-color-line-numbers.c:
>          New test.
>          * gcc.dg/plugin/plugin.exp (plugin_test_list): Add the new tests.
>          * lib/prune.exp: Add -fno-diagnostics-show-line-numbers to
>          TEST_ALWAYS_FLAGS.
> 
> Work around is not using TEST_ALWAYS_FLAGS in the host tool invocation.
> 
> 
> Bootstrapped and reg-tested with gcc-4.8 and gcc-5 host tools.
> Is it OK for trunk?

OK.
 
> 
> Thanks
> Bernd.
> 
> 

-- 
Richard Biener <rguent...@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 
21284 (AG Nuernberg)

Reply via email to