From 0957c02992ea933aac1add6d27226430cff84b4f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 25 May 2011 19:26:23 +0200 Subject: [PATCH] c-common.c (def_fn_type): Remove extra va_end. * c-common.c (def_fn_type): Remove extra va_end. * gcc-interface/utils.c (def_fn_type): Remove extra va_end. From-SVN: r174218 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/gcc-interface/utils.c | 1 - gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c-common.c | 1 - 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b69987f8bc6..0af991dd8ba 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2011-05-25 Jakub Jelinek + + * gcc-interface/utils.c (def_fn_type): Remove extra va_end. + 2011-05-25 Kai Tietz * adaint.c (__gnat_to_canonical_file_list_next): Use array diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index efeceea33c5..ad2ff2ad790 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -4965,7 +4965,6 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) goto egress; args[i] = t; } - va_end (list); t = builtin_types[ret]; if (t == error_mark_node) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 593086e8874..6ecf5094dd7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2011-05-25 Jakub Jelinek + + * c-common.c (def_fn_type): Remove extra va_end. + 2011-05-23 Jason Merrill PR c++/48106 diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index b822553ed87..2d4e4927c74 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -4451,7 +4451,6 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) goto egress; args[i] = t; } - va_end (list); t = builtin_types[ret]; if (t == error_mark_node) -- 2.30.2