From: Jakub Jelinek Date: Wed, 25 May 2011 17:26:23 +0000 (+0200) Subject: c-common.c (def_fn_type): Remove extra va_end. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0957c02992ea933aac1add6d27226430cff84b4f;p=gcc.git 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 --- 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)