public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] emit_bss(): Remove redundant guard
@ 2015-04-08 18:19 Bernhard Reutner-Fischer
  2015-04-22  8:17 ` Bernhard Reutner-Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-04-08 18:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: Bernhard Reutner-Fischer

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] emit_bss(): Remove redundant guard
  2015-04-08 18:19 [PATCH] emit_bss(): Remove redundant guard Bernhard Reutner-Fischer
@ 2015-04-22  8:17 ` Bernhard Reutner-Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-04-22  8:17 UTC (permalink / raw)
  To: GCC Patches; +Cc: Bernhard Reutner-Fischer

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-22  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08 18:19 [PATCH] emit_bss(): Remove redundant guard Bernhard Reutner-Fischer
2015-04-22  8:17 ` Bernhard Reutner-Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).