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

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

https://gcc.gnu.org/g:48fde80dea1fd59db34d0723427c41d0fb1ad951

commit r9-9985-g48fde80dea1fd59db34d0723427c41d0fb1ad951
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Feb 9 08:48:35 2022 +0100

    target/104453 - guard call folding with NULL LHS

    This guards shift builtin folding to do nothing when there is
    no LHS, similar to what other foldings do.

    2022-02-09  Richard Biener  <rguent...@suse.de>

            PR target/104453
            * config/i386/i386.c (ix86_gimple_fold_builtin): Guard shift
            folding for NULL LHS.

            * gcc.target/i386/pr104453.c: New testcase.

    (cherry picked from commit 1c827873ed283df282f2df11dfe0ff607e07dab3)

Reply via email to