Message ID | 20250204113502.1965416-1-konstantinos.eleftheriou@vrull.eu |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C989B3858D20 for <patchwork@sourceware.org>; Tue, 4 Feb 2025 11:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C989B3858D20 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=vrull.eu header.i=@vrull.eu header.a=rsa-sha256 header.s=google header.b=N/nIohNB X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id 0D5B43858C56 for <gcc-patches@gcc.gnu.org>; Tue, 4 Feb 2025 11:35:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D5B43858C56 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0D5B43858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738668916; cv=none; b=Lktt3+T1ec1Zmv8t8HEeKHHdtDVGo+8kN032br9M3ZJjc5TyVXo8xql1w7QX/xN/+n1lE95J/1pwX92f40MVDvAkSjlTlcRY0Dd2myeh9I/kMmyKcNqRVoBy3d6kxIFpWRWWc04yb7lDYG4O+FFXAQlTy/57jF6S5lfDH4Qr9tY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738668916; c=relaxed/simple; bh=YwP6Gv/CMr1g1epN1Z/MYiSCBS5G20V2RmkrjBJSZgM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KuhXmeaJRGT5CeIFPwTMjAARm3eLPopa4BwuaAaiH0s6Cff9GMZ7gP7Gq+KY8+da90JUdMBW9bL/+MlmsePCw8wFI10BaH081Gpqrxv0huFmVqmhmugp1PvPEA4RKPQ0b6W/KmSVpNLufK6EKEfE5TMI6S62ETtaV/i5M8bCqW4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D5B43858C56 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-aab925654d9so1006801666b.2 for <gcc-patches@gcc.gnu.org>; Tue, 04 Feb 2025 03:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1738668914; x=1739273714; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dhOlXWDHfjwnZqX9WMXU6h1qYnEoZXyZE4g/vwWSuRY=; b=N/nIohNBgqrVs8A8sC/Gp0oxUCWE+ztNj8OHQGUD2Yv+Dd+Ud2nBKJw5+kLds9Ivhu gai1+crJDWzvnNQ2nTMirtJBSWhs8Z0ECN9EpHeQ8DdV2+yUa5QvXbTkr2QhzmAe8waP q24gmMA/d9qE8LHSj32qMj63Mgh1TIEpxDQjRhbEPUt2RUDto94QBY+iAsppBEe9iqhs ABe30wjc0pPKKo7PI89KPT8vTLFegsiQjR8QL5FyE0t1kWBIMa07CnXaAaHBYJUXTcOD VK/KEmD2NYBzagt5mr/3syRM3S/Nf25sjcYaUjJNNAMOiXXuSmX2pnr1lLxIxrysE3vW kRaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738668914; x=1739273714; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dhOlXWDHfjwnZqX9WMXU6h1qYnEoZXyZE4g/vwWSuRY=; b=ZZS5EmwrJeYTWzamtTa8JLKH37ZqetcscHcOeN5Bd4U1snJh5sVmDblYZn44bubcDb Z3wo1aRcnbHSHQBqXdXDLYsA20shJeLW491vpOceWzQWbEfn+G3IGuTDEA2WD9i0Zgk/ 6K1adJTjXuCOpBKk/2GyLiJPg50niQkrjt3J22P6oO61zmT/++7FrRPS4qaVr2LZisww UY4bKTIgjpNIxQQ08lBjJMWqEuEU7q0Ol4fLu40kGNZvh1LFbHlNMOLz/MbjCSoGJvEy /1F9P8BZ9UOjkV2844lW4vwdij8+JxW0RPHuhHBCdphzH/VAsqAQsc5XdhFcrD1zVjse 3vaw== X-Gm-Message-State: AOJu0YwiIucXZaILsz+Arkif+Mn9QpcPj8Sn4/3+PqB1XWPm/Y4rVH/e gD7wmoBzYfRIRBFsA4Fm61Ra7JBxBgUFOr6RjVMKbnY+V6kKWwVdCZjdAGyMekkmCmmAsMgJe2/ CGXg= X-Gm-Gg: ASbGncstDiEty9fYkGi5yxUGuSLX3FBZf5G0VHjDqVmwNUJidETv4bJFtF5BhI1WeWH hGDNZ/RrRo2gMguA2wKDJ7mWPM1xYXynFgtqVk+OGi4UKXEr+rI7Nnb5N0rpTdx+/WZJ+2NtUTr sijGqQvEPfLceWluHgMfEuVjD7NTymsm13AnGXmGFv6bWmuddyQhyUoT8OTQWFYx+lM68Y7gElz okQay6kMPVf4GNDgItmkZ3B8UOQM+jHR1ZpEhRf2SSv81QmXlO0ZCoAbQnFXH3joT+nQQbiG5Z5 s9tv6UihjgukNtnATN1VPO/nrNKLbkdiE2MRMaPeddSYCNb91Z/6PiHMN5nzHNnn462vjrhn X-Google-Smtp-Source: AGHT+IHQ05S3QpV8WRtBgR8BVu8evgaZhcAF10wdHSz/ILXWPtV6VyTbYLrASmGTBn6ZA1/UKtpV9g== X-Received: by 2002:a17:907:7b82:b0:ab7:b84:544d with SMTP id a640c23a62f3a-ab70b845a36mr1192756066b.22.1738668914491; Tue, 04 Feb 2025 03:35:14 -0800 (PST) Received: from altra.sec.univie.ac.at (ampere.sec.univie.ac.at. [131.130.126.104]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab7001e4056sm703495366b.73.2025.02.04.03.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2025 03:35:14 -0800 (PST) From: Konstantinos Eleftheriou <konstantinos.eleftheriou@vrull.eu> To: gcc-patches@gcc.gnu.org, Philipp Tomsich <philipp.tomsich@vrull.eu>, =?utf-8?q?Christoph_M=C3=BCllner?= <christoph.muellner@vrull.eu> Cc: Sam James <sjames@gcc.gnu.org>, kelefth <konstantinos.eleftheriou@vrull.eu> Subject: [PATCH] testsuite: Exclude test in pr109393.c from ilp32 targets [PR116845] Date: Tue, 4 Feb 2025 12:35:02 +0100 Message-ID: <20250204113502.1965416-1-konstantinos.eleftheriou@vrull.eu> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
testsuite: Exclude test in pr109393.c from ilp32 targets [PR116845]
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Konstantinos Eleftheriou
Feb. 4, 2025, 11:35 a.m. UTC
From: kelefth <konstantinos.eleftheriou@vrull.eu>
The match.pd canonicalization that this testcase checks for,
is not applied on ilp32 targets.
This prevents the test from running on ilp32 targets.
PR116845
gcc/testsuite/ChangeLog:
* gcc.dg/pr109393.c: Exclude ilp32 targets.
---
gcc/testsuite/gcc.dg/pr109393.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On Tue, Feb 4, 2025 at 12:36 PM Konstantinos Eleftheriou <konstantinos.eleftheriou@vrull.eu> wrote: > > From: kelefth <konstantinos.eleftheriou@vrull.eu> > > The match.pd canonicalization that this testcase checks for, > is not applied on ilp32 targets. > > This prevents the test from running on ilp32 targets. > > PR116845 > > gcc/testsuite/ChangeLog: > > * gcc.dg/pr109393.c: Exclude ilp32 targets. > --- > gcc/testsuite/gcc.dg/pr109393.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/pr109393.c b/gcc/testsuite/gcc.dg/pr109393.c > index b2dd5a0b645..e0c42873c1b 100644 > --- a/gcc/testsuite/gcc.dg/pr109393.c > +++ b/gcc/testsuite/gcc.dg/pr109393.c > @@ -20,4 +20,5 @@ int bar(int *a, int j) > return (&a[j + 1] - 2) == &a[k]; > } > > -/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ > +/* The pattern is not applied on ilp32 targets (PR116845). */ > +/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" { target { ! ilp32 } } } } */ can you instead xfail for ilp32? OK with that change. > -- > 2.47.0 >
Applied to master with the requested change (to XFAIL for ilp32). Thanks, Philipp. On Tue, 4 Feb 2025 at 12:45, Richard Biener <richard.guenther@gmail.com> wrote: > On Tue, Feb 4, 2025 at 12:36 PM Konstantinos Eleftheriou > <konstantinos.eleftheriou@vrull.eu> wrote: > > > > From: kelefth <konstantinos.eleftheriou@vrull.eu> > > > > The match.pd canonicalization that this testcase checks for, > > is not applied on ilp32 targets. > > > > This prevents the test from running on ilp32 targets. > > > > PR116845 > > > > gcc/testsuite/ChangeLog: > > > > * gcc.dg/pr109393.c: Exclude ilp32 targets. > > --- > > gcc/testsuite/gcc.dg/pr109393.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/gcc/testsuite/gcc.dg/pr109393.c > b/gcc/testsuite/gcc.dg/pr109393.c > > index b2dd5a0b645..e0c42873c1b 100644 > > --- a/gcc/testsuite/gcc.dg/pr109393.c > > +++ b/gcc/testsuite/gcc.dg/pr109393.c > > @@ -20,4 +20,5 @@ int bar(int *a, int j) > > return (&a[j + 1] - 2) == &a[k]; > > } > > > > -/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ > > +/* The pattern is not applied on ilp32 targets (PR116845). */ > > +/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" { target > { ! ilp32 } } } } */ > > can you instead xfail for ilp32? > > OK with that change. > > > -- > > 2.47.0 > > >
diff --git a/gcc/testsuite/gcc.dg/pr109393.c b/gcc/testsuite/gcc.dg/pr109393.c index b2dd5a0b645..e0c42873c1b 100644 --- a/gcc/testsuite/gcc.dg/pr109393.c +++ b/gcc/testsuite/gcc.dg/pr109393.c @@ -20,4 +20,5 @@ int bar(int *a, int j) return (&a[j + 1] - 2) == &a[k]; } -/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ +/* The pattern is not applied on ilp32 targets (PR116845). */ +/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" { target { ! ilp32 } } } } */