Commit 19ae5445 by Richard Kenner Committed by Richard Kenner

except.c (output_function_exception_table): Adjust last change to handle TYPE of INTEGER_CST.

	* except.c (output_function_exception_table): Adjust last change
	to handle TYPE of INTEGER_CST.

From-SVN: r71540
parent 5ae6cd0d
2003-09-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* except.c (output_function_exception_table): Adjust last change
to handle TYPE of INTEGER_CST.
2003-09-18 Mark Mitchell <mark@codesourcery.com> 2003-09-18 Mark Mitchell <mark@codesourcery.com>
PR target/11184 PR target/11184
......
...@@ -3707,13 +3707,15 @@ output_function_exception_table (void) ...@@ -3707,13 +3707,15 @@ output_function_exception_table (void)
/* Let cgraph know that the rtti decl is used. Not all of the /* Let cgraph know that the rtti decl is used. Not all of the
paths below go through assemble_integer, which would take paths below go through assemble_integer, which would take
care of this for us. */ care of this for us. */
if (TREE_CODE (type) != ADDR_EXPR) if (TREE_CODE (type) == ADDR_EXPR)
abort (); {
type = TREE_OPERAND (type, 0);
node = cgraph_varpool_node (type); node = cgraph_varpool_node (type);
if (node) if (node)
cgraph_varpool_mark_needed_node (node); cgraph_varpool_mark_needed_node (node);
} }
else if (TREE_CODE (type) != INTEGER_CST)
abort ();
}
if (tt_format == DW_EH_PE_absptr || tt_format == DW_EH_PE_aligned) if (tt_format == DW_EH_PE_absptr || tt_format == DW_EH_PE_aligned)
assemble_integer (value, tt_format_size, assemble_integer (value, tt_format_size,
......
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