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

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

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

commit r14-10568-gba26c471cf6ee760e53836fd4e9bc00250b8b882
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