[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 17 19:01:01 GMT 2022


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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robin Dapp <rdapp@gcc.gnu.org>:

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

commit r12-7283-gfac15bf84807a58f83c741b1034c1bc96348319d
Author: Robin Dapp <rdapp@linux.ibm.com>
Date:   Thu Feb 17 19:59:51 2022 +0100

    rs6000: Workaround for new ifcvt behavior [PR104335].

    Since r12-6747-gaa8cfe785953a0 ifcvt passes a "cc comparison"
    i.e. the representation of the result of a comparison to the
    backend.  rs6000_emit_int_cmove () is not prepared to handle this.
    Therefore, this patch makes it return false in such a case.

            PR target/104335

    gcc/ChangeLog:

            * config/rs6000/rs6000.cc (rs6000_emit_int_cmove): Return false
            if the expected comparison's first operand is of mode MODE_CC.


More information about the Gcc-bugs mailing list