https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105461

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:1b13a6e0dc2f61fc26ebfd33ee8549da45286f34

commit r12-8344-g1b13a6e0dc2f61fc26ebfd33ee8549da45286f34
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.

    (cherry picked from commit 6b4cc784806ac8676a08ecbbeadbd1bfa56073bb)

Reply via email to