From a21e55d2bb4caac33798c71d33cca7279d4664a8 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Tue, 3 Jun 2014 02:31:01 +0000 Subject: [PATCH] pt.c (tsubst_function_type): Initialize arg_types. 2014-06-02 Paolo Carlini * pt.c (tsubst_function_type): Initialize arg_types. From-SVN: r211158 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * pt.c (tsubst_function_type): Initialize arg_types. + 2014-06-02 Siva Chandra Reddy 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. */ -- 2.30.2