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

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

https://gcc.gnu.org/g:960e42bba8d276ea31cb0b37acfa8f3739d55f1d

commit r12-10661-g960e42bba8d276ea31cb0b37acfa8f3739d55f1d
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