aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 75899e4..f8d5230 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-02 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * pt.c (tsubst_function_type): Initialize arg_types.
+
2014-06-02 Siva Chandra Reddy <sivachandra@google.com>
PR debug/57519
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index c0e0646..2b9ca20 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -11320,7 +11320,7 @@ tsubst_function_type (tree t,
tree in_decl)
{
tree return_type;
- tree arg_types;
+ tree arg_types = NULL_TREE;
tree fntype;
/* The TYPE_CONTEXT is not used for function/method types. */