pt.c (tsubst_function_type): Initialize arg_types.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 3 Jun 2014 02:31:01 +0000 (02:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 3 Jun 2014 02:31:01 +0000 (02:31 +0000)
2014-06-02  Paolo Carlini  <paolo.carlini@oracle.com>

* pt.c (tsubst_function_type): Initialize arg_types.

From-SVN: r211158

gcc/cp/ChangeLog
gcc/cp/pt.c

index 75899e4a3c0d3e9f35f839a85301bd47fc868758..f8d523024c27c44593dd9c096f7a5a901e776e2d 100644 (file)
@@ -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
index c0e0646704ddb0cbf199ed96b77e891e842d08ab..2b9ca204bdc2c67864935bac759f91d427fe57e2 100644 (file)
@@ -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.  */