From: John David Anglin Date: Sat, 21 Aug 2021 17:25:13 +0000 (+0000) Subject: Don't warn when alignment of global common data exceeds maximum alignment. X-Git-Tag: basepoints/gcc-13~5260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aae6fd9f4bd61030c79762b9474f52e8fa00dd8;p=thirdparty%2Fgcc.git Don't warn when alignment of global common data exceeds maximum alignment. 2021-08-21 John David Anglin gcc/ChangeLog: * config/pa/pa.c (pa_asm_output_aligned_common): Remove warning. --- diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 46194ba395d1..06143023b466 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; }