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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed.  The problem occurs in fwprop1 where instructions corresponding to 
> the
> following assembly
>       addis r2,r31,ha16(_A.1.1600-L1$pb)
>       la r9,lo16(_A.1.1600-L1$pb)(r2)
>       ld r2,0(r9)
> are combined to
>       addis r2,r31,ha16(_A.1.1600-L1$pb)
>       la r9,lo16(_A.1.1600-L1$pb)(r2)
>       ld r2,lo16(_A.1.1600-L1$pb)(r2)
> ie. the offset is propagated into the memory load.  This ought to give you
> an error at assembly or link time.

No error at assembly or link time.

> If not, you have a bad assembler or linker..

Well, we'll have to live with them!-(EOL target).

> movdi_low is the culprit, I think.  It should require a suitably aligned
> offset (operand 2).

How?

Reply via email to