aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-05-25 19:26:23 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-05-25 19:26:23 +0200
commit0957c02992ea933aac1add6d27226430cff84b4f (patch)
tree96454d48a51282ec077d7a1fa0b1317dd6765722
parent6c81b2bc2506326e34fd6097a64dad03f1eab084 (diff)
downloadgcc-0957c02992ea933aac1add6d27226430cff84b4f.zip
gcc-0957c02992ea933aac1add6d27226430cff84b4f.tar.gz
gcc-0957c02992ea933aac1add6d27226430cff84b4f.tar.bz2
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
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/gcc-interface/utils.c1
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c-common.c1
4 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index b69987f..0af991d 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-25 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc-interface/utils.c (def_fn_type): Remove extra va_end.
+
2011-05-25 Kai Tietz <ktietz@redhat.com>
* 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 efeceea..ad2ff2a 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 593086e..6ecf509 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-25 Jakub Jelinek <jakub@redhat.com>
+
+ * c-common.c (def_fn_type): Remove extra va_end.
+
2011-05-23 Jason Merrill <jason@redhat.com>
PR c++/48106
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index b822553..2d4e492 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)