From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1118) id D502C385C421; Sat, 21 Aug 2021 17:28:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D502C385C421 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: John David Anglin To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-3053] Don't warn when alignment of global common data exceeds maximum alignment. X-Act-Checkin: gcc X-Git-Author: John David Anglin X-Git-Refname: refs/heads/master X-Git-Oldrev: e92d0ff6b5e6d4b95c04fc3e326d40efeb136086 X-Git-Newrev: 5aae6fd9f4bd61030c79762b9474f52e8fa00dd8 Message-Id: <20210821172805.D502C385C421@sourceware.org> Date: Sat, 21 Aug 2021 17:28:05 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2021 17:28:05 -0000 https://gcc.gnu.org/g:5aae6fd9f4bd61030c79762b9474f52e8fa00dd8 commit r12-3053-g5aae6fd9f4bd61030c79762b9474f52e8fa00dd8 Author: John David Anglin 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 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; }