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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John David Anglin <dang...@gcc.gnu.org>:

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

commit r15-2765-gdc01f249db5c4d08b76dc2783b1539290a800f2d
Author: John David Anglin <dang...@gcc.gnu.org>
Date:   Tue Aug 6 13:40:26 2024 -0400

    hppa: Fix (plus (plus (mult (a) (mem_shadd_constant)) (b)) (c))
optimization

    The constant C must be an integral multiple of the shift value in
    the above optimization.  Non integral values can occur evaluating
    IMAGPART_EXPR when the shadd constant is 8 and we have SFmode.

    2024-08-06  John David Anglin  <dang...@gcc.gnu.org>

    gcc/ChangeLog:

            PR target/113384
            * config/pa/pa.cc (hppa_legitimize_address): Add check to
            ensure constant is an integral multiple of shift the value.

Reply via email to