diff mbox

emit_bss(): Remove redundant guard

Message ID 1428517165-29248-1-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer April 8, 2015, 6:19 p.m. UTC
gcc/ChangeLog:

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(-)

Comments

Bernhard Reutner-Fischer April 22, 2015, 8:17 a.m. UTC | #1
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
>
diff mbox

Patch

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,