https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105537
--- Comment #7 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:76db543db88727789a6c117608a23edc2eace713 commit r13-259-g76db543db88727789a6c117608a23edc2eace713 Author: Richard Biener <rguent...@suse.de> Date: Tue May 10 11:44:40 2022 +0200 middle-end/105537 - debug processing The following makes sure to have a consistent state of flag_var_tracking_assignments with the distributed handling in process_options and finish_options by moving everything to finish_options which also restores diagnostics for -g0 -fvar-tracking which was lost with previous changes. 2022-05-10 Richard Biener <rguent...@suse.de> PR middle-end/105537 * toplev.cc (process_options): Move flag_var_tracking handling ... * opts.cc (finish_options): ... here. * gcc.dg/torture/pr105537.c: New testcase.