Re: Merge dg-options and dg-additional-options (with a target directive)?

2020-04-14 Thread Jakub Jelinek via Gcc-patches
On Tue, Apr 14, 2020 at 01:39:43PM +0200, Martin Liška wrote: > On 4/14/20 1:26 PM, Jakub Jelinek wrote: > > On Tue, Apr 14, 2020 at 01:11:36PM +0200, Martin Liška wrote: > > > Hi. > > > > > > I've noticed that various files compile both these directives. > > > Do we want to merge them into

Re: Merge dg-options and dg-additional-options (with a target directive)?

2020-04-14 Thread Martin Liška
On 4/14/20 1:26 PM, Jakub Jelinek wrote: On Tue, Apr 14, 2020 at 01:11:36PM +0200, Martin Liška wrote: Hi. I've noticed that various files compile both these directives. Do we want to merge them into dg-options? I'd defer for GCC11 I'm fine with that. , and only do it if the line doesn't

Re: Merge dg-options and dg-additional-options (with a target directive)?

2020-04-14 Thread Jakub Jelinek via Gcc-patches
On Tue, Apr 14, 2020 at 01:11:36PM +0200, Martin Liška wrote: > Hi. > > I've noticed that various files compile both these directives. > Do we want to merge them into dg-options? I'd defer for GCC11, and only do it if the line doesn't get way too long. Jakub

Merge dg-options and dg-additional-options (with a target directive)?

2020-04-14 Thread Martin Liška
Hi. I've noticed that various files compile both these directives. Do we want to merge them into dg-options? Thanks, Martin gcc/gcc/testsuite/g++.old-deja/g++.robertl/eb27.C: // { dg-options "-Wno-deprecated" } // { dg-additional-options "-Wno-return-type" }