aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/c/c-parser.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index b78666c..4c8e455 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-12 Marek Polacek <polacek@redhat.com>
+
+ PR c/44938
+ * c-parser.c (c_parser_postfix_expression_after_primary): Initialize
+ origtypes to NULL.
+
2013-01-24 Jakub Jelinek <jakub@redhat.com>
PR c/56078
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index a714a49..2ae4622 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -6864,7 +6864,7 @@ c_parser_postfix_expression_after_primary (c_parser *parser,
tree sizeof_arg[3];
unsigned int i;
vec<tree, va_gc> *exprlist;
- vec<tree, va_gc> *origtypes;
+ vec<tree, va_gc> *origtypes = NULL;
while (true)
{
location_t op_loc = c_parser_peek_token (parser)->location;