Re: [PATCH] Avoid illegal argument to verbose in dg-test callback

2021-08-17 Thread Jonathan Wakely via Gcc-patches
On Tue, 17 Aug 2021 at 20:15, Thomas Schwinge wrote: > > Hi! > > On 2020-04-16T15:21:44+0200, Matthias Kretz wrote: > > If extra_tool_flags starts with a dash, an error like 'ERROR: verbose: > > illegal argument: -march=native -O2 -std=c++17' is printed. This is > > easily fixed by inserting a do

Re: [PATCH] Avoid illegal argument to verbose in dg-test callback

2021-08-17 Thread Thomas Schwinge
Hi! On 2020-04-16T15:21:44+0200, Matthias Kretz wrote: > If extra_tool_flags starts with a dash, an error like 'ERROR: verbose: > illegal argument: -march=native -O2 -std=c++17' is printed. This is > easily fixed by inserting a double dash before the variable. > --- a/libstdc++-v3/testsuite/lib/

Re: [PATCH] Avoid illegal argument to verbose in dg-test callback

2020-04-20 Thread Jonathan Wakely via Gcc-patches
On 16/04/20 15:21 +0200, Matthias Kretz wrote: From: Matthias Kretz If extra_tool_flags starts with a dash, an error like 'ERROR: verbose: illegal argument: -march=native -O2 -std=c++17' is printed. This is easily fixed by inserting a double dash before the variable. * testsuite/lib/lib

[PATCH] Avoid illegal argument to verbose in dg-test callback

2020-04-16 Thread Matthias Kretz
From: Matthias Kretz If extra_tool_flags starts with a dash, an error like 'ERROR: verbose: illegal argument: -march=native -O2 -std=c++17' is printed. This is easily fixed by inserting a double dash before the variable. * testsuite/lib/libstdc++.exp: Avoid illegal argument to ve