Re: [PATCH][testsuite] Fix TORTURE_OPTIONS overriding

2015-06-24 Thread Richard Biener
On Tue, 23 Jun 2015, James Greenhalgh wrote: > > On Thu, Jun 18, 2015 at 11:10:01AM +0100, Richard Biener wrote: > > > > Currently when doing > > > > make check-gcc RUNTESTFLAGS="TORTURE_OPTIONS=\\\"{ -O3 } { -O2 }\\\" > > dg-torture.exp" > > > > you get -O3 and -O2 but also the two LTO torture o

Re: [PATCH][testsuite] Fix TORTURE_OPTIONS overriding

2015-06-23 Thread James Greenhalgh
On Thu, Jun 18, 2015 at 11:10:01AM +0100, Richard Biener wrote: > > Currently when doing > > make check-gcc RUNTESTFLAGS="TORTURE_OPTIONS=\\\"{ -O3 } { -O2 }\\\" > dg-torture.exp" > > you get -O3 and -O2 but also the two LTO torture option combinations. > That's undesired (those are the most expen

Re: [PATCH][testsuite] Fix TORTURE_OPTIONS overriding

2015-06-18 Thread Mike Stump
On Jun 18, 2015, at 3:10 AM, Richard Biener wrote: > Ok for trunk? Ok.

[PATCH][testsuite] Fix TORTURE_OPTIONS overriding

2015-06-18 Thread Richard Biener
Currently when doing make check-gcc RUNTESTFLAGS="TORTURE_OPTIONS=\\\"{ -O3 } { -O2 }\\\" dg-torture.exp" you get -O3 and -O2 but also the two LTO torture option combinations. That's undesired (those are the most expensive anyway). The following patch avoids this by setting LTO_TORTURE_OPTIONS