Backport GCPRO fix from trunk.
commit974c7646ec5b2985a50007c9d599154d667df349
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Feb 2013 22:08:38 +0000 (14 14:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Feb 2013 22:08:38 +0000 (14 14:08 -0800)
treead7e887ee050d4a53dcb52afca14562294ad5636
parent35b3a27e67b60e547ac8bc9388e7724d1f829959
Backport GCPRO fix from trunk.

The bug was reported for AIX before today's changes.
I reproduced the problem on Fedora 17 x86-64 when setting
GC_MARK_STACK by hand, and I presume it occurs with default
configurations on HP-UX and Unixware.
Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.

Fixes: debbugs:13650
src/ChangeLog
src/eval.c