From: Richard Guenther Date: Tue, 13 Jun 2006 07:23:59 +0000 (+0000) Subject: re PR middle-end/27536 (-fsection-anchors breaks Ada) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cda5bf3902cfd5dc52866d3d6b0c1cadbd2441cc;p=gcc.git re PR middle-end/27536 (-fsection-anchors breaks Ada) 2006-06-13 Richard Guenther PR middle-end/27536 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER. From-SVN: r114601 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7798dd053d8..deaac82e1eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-13 Richard Guenther + + PR middle-end/27536 + * except.c (output_ttype): Expand type with EXPAND_INITIALIZER. + 2006-06-13 Richard Guenther PR tree-optimization/27830 diff --git a/gcc/except.c b/gcc/except.c index be563e496a4..6fb454e8543 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -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