re PR middle-end/27536 (-fsection-anchors breaks Ada)

2006-06-13  Richard Guenther  <rguenther@suse.de>

	PR middle-end/27536
	* except.c (output_ttype): Expand type with EXPAND_INITIALIZER.

From-SVN: r114601
This commit is contained in:
Richard Guenther 2006-06-13 07:23:59 +00:00 committed by Richard Biener
parent 8e85fd14bf
commit cda5bf3902
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-06-13 Richard Guenther <rguenther@suse.de>
PR middle-end/27536
* except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
2006-06-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27830

View File

@ -3588,7 +3588,7 @@ output_ttype (tree type, int tt_format, int tt_format_size)
struct cgraph_varpool_node *node;
type = lookup_type_for_runtime (type);
value = expand_normal (type);
value = expand_expr (type, NULL_RTX, VOIDmode, EXPAND_INITIALIZER);
/* Let cgraph know that the rtti decl is used. Not all of the
paths below go through assemble_integer, which would take