[PATCH] debug: Handle x_flag_var_tracking_* in finish_options [PR102585]

Martin Liška mliska@suse.cz
Mon Oct 4 12:16:06 GMT 2021


On 10/4/21 13:45, Jakub Jelinek wrote:
> On Mon, Oct 04, 2021 at 01:41:36PM +0200, Richard Biener via Gcc-patches wrote:
>>> The patch sets -1 for x_flag_var_tracking and x_flag_var_tracking_assignments similarly
>>> to toplev.c.
>>>
>>> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Shouldn't all those flag_* == AUTODETECT_VALUE be converted to
> !global_options_set.x_flag_* or at least
> !global_options_set.x_flag_* && flag_* == AUTODETECT_VALUE ?

Reading the code one more time, yes, I think so. It's pretty ugly code right now,
let me investigate what can we do with that..

Martin



More information about the Gcc-patches mailing list