From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2152) id 68E463858C74; Sat, 4 Mar 2023 00:55:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68E463858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677891354; bh=u+nu/AspMYZIbqFo7EHk96JYQf2TnPtJjlnaLrnzFRM=; h=From:To:Subject:Date:From; b=N0atCYU/Ha2yF0bt1GWuNyfNFDq6c2ovkqgXqdDMhhUppsI9L2aTYPStvymr4ShR9 ctLiY7KXVcnOd1GyAesBQ7BG4JU3XtKh3bSpXlDCPGSve93FesZS7aUGFmwU9TW1N3 7jQDCKfkcEyz/7C74rgeq0p8jwZWjb2X/F/qAEiA= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Hans-Peter Nilsson To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-6471] testsuite: Skip gcc.dg/ipa/pr77653.c for CRIS X-Act-Checkin: gcc X-Git-Author: Hans-Peter Nilsson X-Git-Refname: refs/heads/master X-Git-Oldrev: 37a084871ad3cff42a09bb03af459f7de903b3fc X-Git-Newrev: 53940eee08957b8b72ee70f57770398009e19c21 Message-Id: <20230304005554.68E463858C74@sourceware.org> Date: Sat, 4 Mar 2023 00:55:54 +0000 (GMT) List-Id: https://gcc.gnu.org/g:53940eee08957b8b72ee70f57770398009e19c21 commit r13-6471-g53940eee08957b8b72ee70f57770398009e19c21 Author: Hans-Peter Nilsson Date: Fri Mar 3 17:49:01 2023 +0100 testsuite: Skip gcc.dg/ipa/pr77653.c for CRIS CRIS defines DATA_ALIGNMENT such that alignment can be applied differently to different data of the same type, when "references to it must bind to the current definition" (varasm.cc:align_variable). Here, it means that more alignment is then applied to g, but not f, so the test-case fails because another message is emitted than the expected: a same-alignment test dominates the not-discardable test, and we get "Not unifying; original and alias have incompatible alignments" rather than "Not unifying; alias cannot be created; target is discardable". Because this DATA_ALIGNMENT behavior for CRIS depends on target options, and this test is already artificial by the use of -fcommon, better skip it. * gcc.dg/ipa/pr77653.c: Skip for cris-*-*. Diff: --- gcc/testsuite/gcc.dg/ipa/pr77653.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/ipa/pr77653.c b/gcc/testsuite/gcc.dg/ipa/pr77653.c index 2fddb7eab54..16df3fff6a4 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr77653.c +++ b/gcc/testsuite/gcc.dg/ipa/pr77653.c @@ -1,5 +1,6 @@ /* { dg-require-alias "" } */ /* { dg-options "-O2 -fcommon -fdump-ipa-icf-details" } */ +/* { dg-skip-if "Can align g more than f" { cris-*-* } } */ int a, b, c, d, e, h, i, j, k, l; const int f;