This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] emit_bss(): Remove redundant guard
- From: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Date: Wed, 22 Apr 2015 10:17:16 +0200
- Subject: Re: [PATCH] emit_bss(): Remove redundant guard
- Authentication-results: sourceware.org; auth=none
- References: <1428517165-29248-1-git-send-email-rep dot dot dot nop at gmail dot com>
On 8 April 2015 at 20:19, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> gcc/ChangeLog:
OKed by Jeff and installed to trunk as r222311.
thanks,
>
> 2015-04-01 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
>
> * varasm.c (emit_bss): Remove redundant guard.
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
> gcc/varasm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/gcc/varasm.c b/gcc/varasm.c
> index 537a64d..2bb5f27 100644
> --- a/gcc/varasm.c
> +++ b/gcc/varasm.c
> @@ -1951,21 +1951,19 @@ emit_local (tree decl,
>
> #if defined ASM_OUTPUT_ALIGNED_BSS
> static bool
> emit_bss (tree decl ATTRIBUTE_UNUSED,
> const char *name ATTRIBUTE_UNUSED,
> unsigned HOST_WIDE_INT size ATTRIBUTE_UNUSED,
> unsigned HOST_WIDE_INT rounded ATTRIBUTE_UNUSED)
> {
> -#if defined ASM_OUTPUT_ALIGNED_BSS
> ASM_OUTPUT_ALIGNED_BSS (asm_out_file, decl, name, size,
> get_variable_align (decl));
> return true;
> -#endif
> }
> #endif
>
> /* A noswitch_section_callback for comm_section. */
>
> static bool
> emit_common (tree decl ATTRIBUTE_UNUSED,
> const char *name ATTRIBUTE_UNUSED,
> --
> 2.1.4
>