(start_init): Second arg is now a tree.
authorRichard Stallman <rms@gnu.org>
Sat, 24 Jul 1993 05:41:45 +0000 (05:41 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 24 Jul 1993 05:41:45 +0000 (05:41 +0000)
From-SVN: r4980

gcc/c-typeck.c

index 5ad4a2a..f8702e2 100644 (file)
@@ -5181,14 +5181,18 @@ struct initializer_stack *initializer_stack;
 /* Prepare to parse and output the initializer for variable DECL.  */
 
 void
-start_init (decl, asmspec, top_level)
+start_init (decl, asmspec_tree, top_level)
      tree decl;
-     char *asmspec;
+     tree asmspec_tree;
      int top_level;
 {
   char *locus;
   struct initializer_stack *p
     = (struct initializer_stack *) xmalloc (sizeof (struct initializer_stack));
+  char *asmspec = 0;
+
+  if (asmspec_tree)
+    asmspec = TREE_STRING_POINTER (asmspec_tree);
 
   p->decl = constructor_decl;
   p->asmspec = constructor_asmspec;