Commit 03c03770 by Andreas Schwab Committed by Andreas Schwab

stmt.c (expand_end_case): Return right away if the case stack is empty.

	* stmt.c (expand_end_case): Return right away if the case stack is
	empty.

From-SVN: r29400
parent 21f50117
Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
* stmt.c (expand_end_case): Return right away if the case stack is
empty.
Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
* Makefile.in (version.c): Remove rule incorrectly brought in from
......
......@@ -5188,6 +5188,10 @@ expand_end_case (orig_index)
tree index_expr, index_type;
int unsignedp;
/* Don't crash due to previous errors. */
if (thiscase == NULL)
return;
table_label = gen_label_rtx ();
index_expr = thiscase->data.case_stmt.index_expr;
index_type = TREE_TYPE (index_expr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment