Re: [PATCH] opts: fix -gtoggle + optimize attribute

2022-03-07 Thread Richard Biener via Gcc-patches
On Fri, Mar 4, 2022 at 2:12 PM Martin Liška wrote: > > On 3/1/22 09:48, Richard Biener wrote: > > I think moving flag_gtoggle handling before the flag_syntax_only handling > > is a good thing. But I don't quite understand the flag_var_tracking > > disabling > > or how it worked before. > > Well,

Re: [PATCH] opts: fix -gtoggle + optimize attribute

2022-03-04 Thread Martin Liška
MartinFrom 1d9f77f00f208cca4142abc9c56995b865291229 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 4 Feb 2022 15:50:17 +0100 Subject: [PATCH] opts: fix -gtoggle + optimize attribute Note -fvar-tracking is enabled automatically with OPT_LEVELS_1_PLUS and so we need to drop it if we are c

Re: [PATCH] opts: fix -gtoggle + optimize attribute

2022-03-01 Thread Richard Biener via Gcc-patches
On Mon, Feb 28, 2022 at 10:03 AM Martin Liška wrote: > > Note -fvar-tracking is enabled automatically with OPT_LEVELS_1_PLUS and > so we need to drop it if we are called from optimize attribute and the > option is unset. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. >

[PATCH] opts: fix -gtoggle + optimize attribute

2022-02-28 Thread Martin Liška
Note -fvar-tracking is enabled automatically with OPT_LEVELS_1_PLUS and so we need to drop it if we are called from optimize attribute and the option is unset. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin PR middle-end/1043