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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

https://gcc.gnu.org/g:0368d169492017cfab5622d38b15be94154d458c

commit r14-172-g0368d169492017cfab5622d38b15be94154d458c
Author: liuhongt <hongtao....@intel.com>
Date:   Wed Feb 8 12:42:27 2023 +0800

    Use NO_REGS in cost calculation when the preferred register class are not
known yet.

    gcc/ChangeLog:

            PR rtl-optimization/108707
            * ira-costs.cc (scan_one_insn): Use NO_REGS instead of
            GENERAL_REGS when preferred reg_class is not known.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr108707.c: New test.

Reply via email to