https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105461
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:6b4cc784806ac8676a08ecbbeadbd1bfa56073bb commit r13-83-g6b4cc784806ac8676a08ecbbeadbd1bfa56073bb Author: Richard Biener <rguent...@suse.de> Date: Tue May 3 10:36:30 2022 +0200 middle-end/105461 - opts processing of -fvar-tracking The flag_var_tracking reset in finish_options doesn't match the condition in process_options, in particular we fail to reset it when the option was specified on the command line. The following fixes this and also alters the debug info level guard to match the one in process_options. 2022-05-03 Richard Biener <rguent...@suse.de> PR middle-end/105461 * opts.cc (finish_options): Match the condition to disable flag_var_tracking to that of process_options. * gcc.dg/pr105461.c: New testcase.