summaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 16:39:10 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 16:39:10 +0000
commit451c8e2fbeab57b77a5d8b5ee3258a311df54f8d (patch)
tree1099e95dcdea48c93137f2a174b2b6f9a70c7289 /gcc/dwarf2asm.c
parentf82efd77cef80a0ebd1b6e4b26e10eb4bccfc36f (diff)
downloadgcc-451c8e2fbeab57b77a5d8b5ee3258a311df54f8d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171466 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r--gcc/dwarf2asm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index b480698b49e..a11470ff9af 100644
--- a/gcc/dwarf2asm.c
+++ b/gcc/dwarf2asm.c
@@ -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;
}