summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 02:31:01 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 02:31:01 +0000
commit73ba79480c14c626d08533edc11d7acea0109909 (patch)
treef59aaaae5d41ffd56d3522a77b9e8d48a414014e /gcc
parent98c9b2ed3d67596bc660904a664b85b50d9dfa1a (diff)
downloadgcc-73ba79480c14c626d08533edc11d7acea0109909.tar.gz
2014-06-02 Paolo Carlini <paolo.carlini@oracle.com>
* pt.c (tsubst_function_type): Initialize arg_types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 75899e4a3c0..f8d523024c2 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 c0e0646704d..2b9ca204bdc 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. */