From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id C9F943858C74 for ; Sat, 4 Mar 2023 01:01:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C9F943858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1677891664; x=1709427664; h=from:to:subject:mime-version:content-transfer-encoding: message-id:date; bh=AddbZllcRHbmwY5q79NmKIeMzV88QX07CodM9FflOdY=; b=Hckh8azhowel504gfPCCBJEUSK7TbAgdXKkN7/4RnNcGvps9/R0wmmRA Hph2NiZaHFqDQ6QFTEZcveR4NwIjJa8g2gQAulBR4PVUMRbxoCXcBErMa 28H2yQT0WYH6CCIkRnNkbHHH89R+pwgYGLhJry7lzMBVu2QbfrPZPaZw4 HdXWmzX8fTPx7Lu28kUR+4Yc7Yuz83rCIfLYIV62j25f/uLRY5eUD5L0o uTesC+6OuafJ8XLbrEhpvbbgQPjpHbT2hp78MnmH5vB3NHo6xXD+EhAlp ZFlsHx9sVQd8evl7KwjbZRttNJJFxdyUnTno6amYAS6gSDS0cPVtp2Itc w==; From: Hans-Peter Nilsson To: Subject: [COMMITTED] testsuite: Skip gcc.dg/ipa/pr77653.c for CRIS MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-ID: <20230304010102.7585E20436@pchp3.se.axis.com> Date: Sat, 4 Mar 2023 02:01:02 +0100 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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-*-*. --- 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 2fddb7eab548..16df3fff6a41 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; -- 2.30.2