On 10/11/21 15:05, Richard Biener wrote:
+  if (!opts_set->x_flag_var_tracking)
+    opts->x_flag_var_tracking = optimize >= 1;
That's still not equivalent to the old code for -fvar-tracking-uninit which
sets opts->x_flag_var_tracking to 1 and the old code checked that
for AUTOINIT_VALUE but you override it here for -O0.


Do you mean the newly added code:

+  if (!opts_set->x_flag_var_tracking)

+    opts->x_flag_var_tracking = optimize >= 1;


that should be equivalent to:

-  if (flag_var_tracking == AUTODETECT_VALUE)

-    flag_var_tracking = optimize >= 1;


? Or do I miss something?

Thanks,
Martin

Reply via email to