]> Chaos Git - corbenik/corbenik.git/commit
Replace offset code like:
authorchaoskagami <chaos.kagami@gmail.com>
Sun, 12 Jun 2016 00:49:51 +0000 (20:49 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Sun, 12 Jun 2016 00:49:51 +0000 (20:49 -0400)
commit7a931bf957d88122314e0548c4aba8e2bb819aa9
tree7352232bc44055600027dd1338d71dba2221b214
parent78b0459289c4db86b201d06ea89c5fdd533c0f46
Replace offset code like:
  *(off)
with:
  off[0]
For some reason, this seems to trigger GCC to generate aligned
accesses when it should be doing unaligned accesses (which results
in the crashes on set)

I suspect this is a GCC bug, but until 6.0 this is a workaround.

TWL seems to broken (as dynamic, at least) and I may revert it
to how it was before since I found the cause now. AGB needs
no change since it isn't as in-depth.
source/interp.c
source/std/memory.c