diff options
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 1 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 1 | ||||
-rw-r--r-- | gcc/dwarf2asm.c | 1 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 5 | ||||
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto-lang.c | 1 |
9 files changed, 29 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 588651d7fa0..80c0c92c9c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a76fb316494..65bb6d0f6df 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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. diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 6db63751e15..181e22a7f98 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -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 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index f9f625c3335..e8a14fe27f5 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -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. diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 33af3d82eae..cab9e7efa57 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -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 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; } diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 9b6f0f85fc9..01da5836e46 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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); diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 124b0e75697..1921eaf8b77 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -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 diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index aa928b6df62..3c804f55669 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -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 |