]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 16:39:10 +0000 (16:39 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 16:39:10 +0000 (16:39 +0000)
va_end.
* c-family/c-common.c (def_fn_type): Likewise.
* ada/gcc-interface/utils.c (def_fn_type): Likewise.
* emit-rtl.c (gen_rtvec): Likewise.
* lto/lto-lang.c (def_fn_type): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171466 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/dwarf2asm.c
gcc/emit-rtl.c
gcc/lto/ChangeLog
gcc/lto/lto-lang.c

index 588651d7fa0d1e32b6b92f5032822ff0fb484323..80c0c92c9c28aed85157f06dd411d0e97eb96a12 100644 (file)
@@ -1,3 +1,12 @@
+2011-03-25  Jeff Law  <law@redhat.com>
+
+       * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
+       va_end.
+       * c-family/c-common.c (def_fn_type): Likewise.
+       * ada/gcc-interface/utils.c (def_fn_type): Likewise.
+       * emit-rtl.c (gen_rtvec): Likewise.
+       * lto/lto-lang.c (def_fn_type): Likewise.
+
 2011-03-25  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants
index a76fb316494df12770af9fdf66eb526e1af7e095..65bb6d0f6df4aef6f9979f4f358c95978c9040a9 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-25  Jeff Law  <law@redhat.com>
+
+       * ada/gcc-interface/utils.c (def_fn_type): Add missing va_end.
+
 2011-03-24  Eric Botcazou  <ebotcazou@adacore.com>
 
        * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
index 6db63751e154421b3ed73055114f6e2420edc35e..181e22a7f98bf3d2b1f0def69a3fd1bc1f4d1412 100644 (file)
@@ -4930,6 +4930,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
 
  egress:
   builtin_types[def] = t;
+  va_end (list);
 }
 
 /* Build the builtin function types and install them in the builtin_types
index f9f625c33354786a834b743bd19029521d595114..e8a14fe27f56a5f90bbd8adca648c5ba7e685af7 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-25  Jeff Law  <law@redhat.com>
+
+       * c-family/c-common.c (def_fn_type): Add missing va_end.
+
 2011-03-25  Jason Merrill  <jason@redhat.com>
 
        * c.opt: Add -std=c++03.
index 33af3d82eae98fc196500e7d4b1f74301878369e..cab9e7efa572f0de8a3e66d5d94e6d156f2ddeb1 100644 (file)
@@ -4428,6 +4428,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
 
  egress:
   builtin_types[def] = t;
+  va_end (list);
 }
 
 /* Build builtin functions common to both C and C++ language
index b480698b49ebcb64ed23d3b61b79470a928c73e7..a11470ff9af0312053235a517779c70739c1c2cd 100644 (file)
@@ -957,6 +957,7 @@ dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool is_public,
     {
       assemble_align (POINTER_SIZE);
       assemble_integer (addr, size, POINTER_SIZE, 1);
+      va_end (ap);
       return;
     }
 
index 9b6f0f85fc96064ce8504bab83e885eabb25b7c4..01da5836e469843fcb422f284a5a58c6e1170f20 100644 (file)
@@ -805,7 +805,10 @@ gen_rtvec (int n, ...)
 
   /* Don't allocate an empty rtvec...  */
   if (n == 0)
-    return NULL_RTVEC;
+    {
+      va_end (p);
+      return NULL_RTVEC;
+    }
 
   rt_val = rtvec_alloc (n);
 
index 124b0e75697df1bf1920b22dbac43649c3ed3890..1921eaf8b778b350afb6d5b42536e387958c01a5 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-25  Jeff Law  <law@redhat.com>
+
+       * lto/lto-lang.c (def_fn_type): Add missing va_end.
+
 2011-03-21  Kai Tietz  <ktietz@redhat.com>
 
        PR target/12171
index aa928b6df62214865963e896d0db6afa1ff4dca1..3c804f556693b71fa98cd5fedd06fef7929b3304 100644 (file)
@@ -471,6 +471,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
 
  egress:
   builtin_types[def] = t;
+  va_end (list);
 }
 
 /* Used to help initialize the builtin-types.def table.  When a type of