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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Segher Boessenkool <seg...@gcc.gnu.org>:

https://gcc.gnu.org/g:8bcf835e0a4e3334e1c60f314ae6917ba648bdde

commit r12-6877-g8bcf835e0a4e3334e1c60f314ae6917ba648bdde
Author: Raoni Fassina Firmino <ra...@linux.ibm.com>
Date:   Wed Jan 26 12:05:54 2022 -0300

    rtl: builtins: Fix builtins feclearexcept and feraiseexcept operand check
[PR94193]

    Commit 4343f5e25679 ("rtl: builtins: (not just) rs6000: Add builtins
    for fegetround, feclearexcept and feraiseexcept [PR94193]") broke gcc
    bootstra when building with --enable-checking=rtl[1].

    The function expand_builtin_feclear_feraise_except was failing to
    proper validate op0 predicate before emit_insn leading to the mismatch
    type failure.

    [1] https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589186.html

    2022-01-26  Raoni Fassina Firmino  <ra...@linux.ibm.com>

    gcc/
            PR target/94193
            * builtins.cc (expand_builtin_feclear_feraise_except): Add op0
            predicate check.

    Signed-off-by: Raoni Fassina Firmino <ra...@linux.ibm.com>

Reply via email to