load: handle all cases in cast()
commit98cd2e817616fff14622b8e514fc88b378a100ef
authorMichael Forney <mforney@mforney.org>
Sun, 11 Apr 2021 08:49:15 +0000 (11 01:49 -0700)
committerQuentin Carbonneaux <quentin@c9x.me>
Thu, 29 Jul 2021 21:37:57 +0000 (29 23:37 +0200)
tree9d58b2183ad879f8b12cb07ccd1bea51d5082eae
parentb543ffed71497fb079bfdca53934870a1189c325
load: handle all cases in cast()

Previously, all casts but d->w, d->s, l->s, s->d, w->d were supported.
At least the first three can occur by storing to then loading from
a slot, currently triggering an assertion failure. Though the other
two might not be possible, they are easy enough to support as well.

Fixes hare#360.
load.c