aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2014-06-03 02:31:01 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2014-06-03 02:31:01 +0000
commita21e55d2bb4caac33798c71d33cca7279d4664a8 (patch)
treef59aaaae5d41ffd56d3522a77b9e8d48a414014e /gcc
parent2e91ec353c238bb8a2c9c183769918eb88ffe1a9 (diff)
downloadgcc-a21e55d2bb4caac33798c71d33cca7279d4664a8.zip
gcc-a21e55d2bb4caac33798c71d33cca7279d4664a8.tar.gz
gcc-a21e55d2bb4caac33798c71d33cca7279d4664a8.tar.bz2
pt.c (tsubst_function_type): Initialize arg_types.
2014-06-02 Paolo Carlini <paolo.carlini@oracle.com> * pt.c (tsubst_function_type): Initialize arg_types. From-SVN: r211158
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 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. */