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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Hongyu Wang
<hong...@gcc.gnu.org>:

https://gcc.gnu.org/g:cd161b335c2723d0dce1cab00ad216b423ec2767

commit r14-10262-gcd161b335c2723d0dce1cab00ad216b423ec2767
Author: Hongyu Wang <hongyu.w...@intel.com>
Date:   Wed May 15 11:24:34 2024 +0800

    i386: Fix ix86_option override after change [PR 113719]

    In ix86_override_options_after_change, calls to ix86_default_align
    and ix86_recompute_optlev_based_flags will cause mismatched target
    opt_set when doing cl_optimization_restore. Move them back to
    ix86_option_override_internal to solve the issue.

    gcc/ChangeLog:

            PR target/113719
            * config/i386/i386-options.cc (ix86_override_options_after_change):
            Remove call to ix86_default_align and
            ix86_recompute_optlev_based_flags.
            (ix86_option_override_internal): Call ix86_default_align and
            ix86_recompute_optlev_based_flags.

    (cherry picked from commit 499d00127d39ba894b0f7216d73660b380bdc325)

Reply via email to