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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Might add that there are quite a few unaligned accesses:
runnable.exe(15999): unaligned access to 0x00000000001d080d at
ip=0x0000000000100357
runnable.exe(15999): unaligned access to 0x000000000021f439 at
ip=0x0000000000100357
runnable.exe(15999): unaligned access to 0x000000000021f44d at
ip=0x0000000000100357

(gdb) disass 0x10035c-16,0x10035c+16
Dump of assembler code from 0x10034c to 0x10036c:
   0x0010034c
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+0>: 
  ldo 40(sp),sp
   0x00100350
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+4>: 
  stw r19,-20(sp)
   0x00100354
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+8>: 
  ldw 0(r26),ret0
   0x00100358
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+12>:
  bb,<,n ret0,15,0x100374
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+40>
   0x0010035c
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+16>:
  stw r0,-38(sp)
   0x00100360
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+20>:
  ldw -38(sp),ret0
   0x00100364
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+24>:
  stw r0,-34(sp)
   0x00100368
<_D6object10ModuleInfo15importedModulesMxFNaNbNdNiZAyPS6object10ModuleInfo+28>:
  ldw -34(sp),ret1

(gdb) break *0x10035c
Breakpoint 3 at 0x10035c: file ../../../../gcc/libphobos/libdruntime/object.d,
line 1562.

(gdb) list ../../../../gcc/libphobos/libdruntime/object.d:1562
1557            return flags & MIunitTest ?
*cast(typeof(return)*)addrOf(MIunitTest) : null;
1558        }
1559
1560        @property immutable(ModuleInfo*)[] importedModules() nothrow pure
@nogc
1561        {
1562            if (flags & MIimportedModules)
1563            {
1564                auto p = cast(size_t*)addrOf(MIimportedModules);
1565                return (cast(immutable(ModuleInfo*)*)(p + 1))[0 .. *p];
1566            }

Reply via email to