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

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

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

commit r12-5395-gfb15abdc9b61a0b7fa24a37f85d19dc449cfd5bf
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Nov 16 11:47:26 2021 +0100

    middle-end/103248 - fix RDIV_EXPR handling with fixed point

    This fixes the previous adjustment to operation_could_trap_helper_p
    where I failed to realize that RDIV_EXPR is also used for
    fixed-point types.  It also fixes that handling by properly
    checking for a fixed_zerop divisor.

    2021-11-16  Richard Biener  <rguent...@suse.de>

            PR middle-end/103248
            * tree-eh.c (operation_could_trap_helper_p): Properly handle
            fixed-point RDIV_EXPR.

            * gcc.dg/pr103248.c: New testcase.

Reply via email to