public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3053] Don't warn when alignment of global common data exceeds maximum alignment.
@ 2021-08-21 17:28 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2021-08-21 17:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5aae6fd9f4bd61030c79762b9474f52e8fa00dd8

commit r12-3053-g5aae6fd9f4bd61030c79762b9474f52e8fa00dd8
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Sat Aug 21 17:25:13 2021 +0000

    Don't warn when alignment of global common data exceeds maximum alignment.
    
    2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
    
    gcc/ChangeLog:
            * config/pa/pa.c (pa_asm_output_aligned_common): Remove warning.

Diff:
---
 gcc/config/pa/pa.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 46194ba395d..06143023b46 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -9080,9 +9080,7 @@ pa_asm_output_aligned_common (FILE *stream,
   max_common_align = TARGET_64BIT ? 128 : (size >= 4096 ? 256 : 64);
   if (align > max_common_align)
     {
-      warning (0, "alignment (%u) for %s exceeds maximum alignment "
-	       "for global common data.  Using %u",
-	       align / BITS_PER_UNIT, name, max_common_align / BITS_PER_UNIT);
+      /* Alignment exceeds maximum alignment for global common data.  */
       align = max_common_align;
     }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-21 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 17:28 [gcc r12-3053] Don't warn when alignment of global common data exceeds maximum alignment John David Anglin

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