aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2006-05-19 10:06:17 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-05-19 10:06:17 +0000
commit6a1f86116204a1aaecbd1824cfd520ae248bb026 (patch)
treee62a3d2fc60147525f84a1dc878d3ba616570d45 /gcc/c-parser.c
parentbaffad1f3d30a473263e56f86b1420dbc7371ab3 (diff)
downloadgcc-6a1f86116204a1aaecbd1824cfd520ae248bb026.zip
gcc-6a1f86116204a1aaecbd1824cfd520ae248bb026.tar.gz
gcc-6a1f86116204a1aaecbd1824cfd520ae248bb026.tar.bz2
re PR c/27673 (Gcc failed to bootstrap on Linux)
PR c/27673 * c-parser.c (c_parser_parms_declarator): Initialize had_vla_unspec. (c_parser_parms_list_declarator): Likewise. From-SVN: r113904
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r--gcc/c-parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index eeb0ce9..8afe79c 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -2522,6 +2522,7 @@ c_parser_parms_declarator (c_parser *parser, bool id_list_ok, tree attrs)
ret->tags = 0;
ret->types = list;
ret->others = 0;
+ ret->had_vla_unspec = 0;
c_parser_consume_token (parser);
pop_scope ();
return ret;
@@ -2563,6 +2564,7 @@ c_parser_parms_list_declarator (c_parser *parser, tree attrs)
ret->tags = 0;
ret->types = 0;
ret->others = 0;
+ ret->had_vla_unspec = 0;
c_parser_consume_token (parser);
return ret;
}
@@ -2572,6 +2574,7 @@ c_parser_parms_list_declarator (c_parser *parser, tree attrs)
ret->parms = 0;
ret->tags = 0;
ret->others = 0;
+ ret->had_vla_unspec = 0;
/* Suppress -Wold-style-definition for this case. */
ret->types = error_mark_node;
error ("ISO C requires a named argument before %<...%>");
@@ -2622,6 +2625,7 @@ c_parser_parms_list_declarator (c_parser *parser, tree attrs)
ret->tags = 0;
ret->types = 0;
ret->others = 0;
+ ret->had_vla_unspec = 0;
return ret;
}
}
@@ -2647,6 +2651,7 @@ c_parser_parms_list_declarator (c_parser *parser, tree attrs)
ret->tags = 0;
ret->types = 0;
ret->others = 0;
+ ret->had_vla_unspec = 0;
return ret;
}
}