Patch for bootstrap problem compiling tinfo.cc
Mark Mitchell
mark@codesourcery.com
Sat Sep 18 17:30:00 GMT 1999
>>>>> "Richard" == Richard Earnshaw <rearnsha@arm.com> writes:
Richard> The following patch fixes a bootstrap problem on
Richard> arm-netbsd; I've based it on a similar patch by Mark
Richard> Mitchell for preserve_subexpression_p(). The symptom was
Richard> a segmentation fault when dereferencing block_stack
Richard> because
current_function-> stmt was NULL.
Richard> <date> Richard Earnshaw (rearnsha@arm.com)
Richard> * stmt.c (any_pending_cleanups): Don't crash when
current_function-> stmt is unset.
I think this is fine. But, would you mind sending me the stack trace
from GDB when this happenned? I just want to make sure something
sensible is going on.
Thanks!
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-bugs
mailing list