Fix compilation error due to strict aliasing rules on `i386-unknown-freebsd7.0'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 10 Oct 2008 08:00:21 +0000 (10:00 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 10 Oct 2008 08:00:57 +0000 (10:00 +0200)
commit88cefbc7de86e0061b0cc4fb5417de78f7afba15
tree4546187e7005b331e71bc43e4634f249b57f1e17
parentec9ef386157036ed5388023121720a179d4faeb9
Fix compilation error due to strict aliasing rules on `i386-unknown-freebsd7.0'.

* libguile/threads.c (scm_threads_mark_stacks): Cast `&t->regs' to
  `(void *)' rather than `(SCM_STACKITEM *)' to avoid "warning:
  dereferencing type-punned pointer will break strict-aliasing rules"
  with GCC 4.2.1 on `i386-unknown-freebsd7.0'.
NEWS
libguile/threads.c