Commit 0edf1bb2 by Jeff Law Committed by Jeff Law

dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing va_end.


	* 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.

From-SVN: r171466
parent fdc2de95
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> 2011-03-25 Richard Guenther <rguenther@suse.de>
* tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants
......
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> 2011-03-24 Eric Botcazou <ebotcazou@adacore.com>
* einfo.ads (Size_Depends_On_Discriminant): Adjust description. * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
......
...@@ -4930,6 +4930,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) ...@@ -4930,6 +4930,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
egress: egress:
builtin_types[def] = t; builtin_types[def] = t;
va_end (list);
} }
/* Build the builtin function types and install them in the builtin_types /* Build the builtin function types and install them in the builtin_types
......
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> 2011-03-25 Jason Merrill <jason@redhat.com>
* c.opt: Add -std=c++03. * c.opt: Add -std=c++03.
......
...@@ -4428,6 +4428,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) ...@@ -4428,6 +4428,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
egress: egress:
builtin_types[def] = t; builtin_types[def] = t;
va_end (list);
} }
/* Build builtin functions common to both C and C++ language /* Build builtin functions common to both C and C++ language
......
...@@ -957,6 +957,7 @@ dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool is_public, ...@@ -957,6 +957,7 @@ dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool is_public,
{ {
assemble_align (POINTER_SIZE); assemble_align (POINTER_SIZE);
assemble_integer (addr, size, POINTER_SIZE, 1); assemble_integer (addr, size, POINTER_SIZE, 1);
va_end (ap);
return; return;
} }
......
...@@ -805,7 +805,10 @@ gen_rtvec (int n, ...) ...@@ -805,7 +805,10 @@ gen_rtvec (int n, ...)
/* Don't allocate an empty rtvec... */ /* Don't allocate an empty rtvec... */
if (n == 0) if (n == 0)
return NULL_RTVEC; {
va_end (p);
return NULL_RTVEC;
}
rt_val = rtvec_alloc (n); rt_val = rtvec_alloc (n);
......
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> 2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171 PR target/12171
......
...@@ -471,6 +471,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) ...@@ -471,6 +471,7 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
egress: egress:
builtin_types[def] = t; builtin_types[def] = t;
va_end (list);
} }
/* Used to help initialize the builtin-types.def table. When a type of /* Used to help initialize the builtin-types.def table. When a type of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment