re PR middle-end/27536 (-fsection-anchors breaks Ada)
authorRichard Guenther <rguenther@suse.de>
Tue, 13 Jun 2006 07:23:59 +0000 (07:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Jun 2006 07:23:59 +0000 (07:23 +0000)
2006-06-13  Richard Guenther  <rguenther@suse.de>

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

From-SVN: r114601

gcc/ChangeLog
gcc/except.c

index 7798dd0..deaac82 100644 (file)
@@ -1,5 +1,10 @@
 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
        * tree-inline.c (copy_body_r): For copying the operand
        of an ADDR_EXPR make sure to fold &* afterwards.
index be563e4..6fb454e 100644 (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