Patch for bootstrap problem compiling

Richard Earnshaw
Sat Sep 18 06:06:00 GMT 1999

The following patch fixes a bootstrap problem on arm-netbsd; I've based it 
on a similar patch by Mark Mitchell for preserve_subexpression_p().  The 
symptom was a segmentation fault when dereferencing block_stack because 
current_function->stmt was NULL.

<date>  Richard Earnshaw (

	* stmt.c (any_pending_cleanups): Don't crash when 
	current_function->stmt is unset.

More information about the Gcc-bugs mailing list