aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-07-24 05:41:45 +0000
committerRichard Stallman <rms@gnu.org>1993-07-24 05:41:45 +0000
commite28cae4f9c4c30a0f303ab58092215a100adcc91 (patch)
treed9292f8f26895107ac5bb52ce727ea31ebd27d20 /gcc
parent8245685d318255018188268f28f8796872b347b0 (diff)
downloadgcc-e28cae4f9c4c30a0f303ab58092215a100adcc91.zip
gcc-e28cae4f9c4c30a0f303ab58092215a100adcc91.tar.gz
gcc-e28cae4f9c4c30a0f303ab58092215a100adcc91.tar.bz2
(start_init): Second arg is now a tree.
From-SVN: r4980
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 5ad4a2a..f8702e2 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -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;