[Bug tree-optimization/82518] [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917

nickc at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 5 17:20:00 GMT 2018


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

--- Comment #21 from Nick Clifton <nickc at redhat dot com> ---
Hi Aldy,

>>> instruction. :-(  Looking at the code in Handle_Store_Double() in 
>>> sim/arm/armemu.c, I think that the reason is probably because the address
>>> for the store is not double word aligned.  Which leads me to wonder,
>>> what value is stored in r5 when the STRD instruction is being executed ?


>> => 0x8c24 <initialise_monitor_handles+156>:     strd    r2, [r5, #12]
>> (gdb) info reg r5
>> r5             0x1b6e8  112360

>> ...which is 64 bit aligned.

But, as you have just discovered, (r5 + 12) is not 64-bit aligned...


More information about the Gcc-bugs mailing list