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

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

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

commit r13-8963-gf6624adc535a165ab667646c57b73e213d868cca
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