From patchwork Wed Feb 14 10:40:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 200892 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1121064dyb; Wed, 14 Feb 2024 02:40:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJBUttHh/9jKUS/QcoXsuF9irPSV5q/63LObNdxFx+p/FXcdxc1Z1uX+k0V/u3O8aafYffJs0fgiv3EKlLkuSaaMCYZg== X-Google-Smtp-Source: AGHT+IE/75vI6f9TAlv2wX1KXj7VIGKAjxwSbNRWRMO7mPOG7DcNp4phxNJklQ3WXTs+v1v19Yez X-Received: by 2002:a0c:e303:0:b0:68c:ba51:dde7 with SMTP id s3-20020a0ce303000000b0068cba51dde7mr2028788qvl.6.1707907251155; Wed, 14 Feb 2024 02:40:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707907251; cv=pass; d=google.com; s=arc-20160816; b=WFyM2ux75w2wZJNmG2ceUfx3AqB8BPuv9R87nAxbEZfwuTQh26fmFps7gSuS9cNgD5 Y11IRCnNue2CVTuRcYxvTqqBqhvM3dw3QrgdBfl6/wVas4h2gN5TJ39Bd+f2La+qEBsj bRF+T1gQnhkKzGtDLrCLZQEwQBY9fKdZk+WgI7fU0/aBxw8AIyWhqzvMWL1WbahuUT25 UTAbrV2/v+3PQK5FWpKIklz8gRX5ir28VmkHEaJkT8eoN+/k59Iij8PU6b3mXoLy6tO/ GrQjeitFkDqGng4jM1Blcz1JNTyZtS4Pxqinxwyl0dnTNiL2xGfhrEQRPMW35VIFfoeE R5xg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=faHhWnq6QpH3v/BZQs37LTJbZYdOxp0KSwM/6YT7Wv8=; fh=SlDLCbUlHnxTAMn109zSWTlrPFW+SgaCvrebOwh5f+g=; b=txRxTuc90Wp0mytlje82Eq/iCsV63GNlpQcK3VKTy7+0ZRy8e5ILSNjYwskfanJ5wI DuUNnXRVlUjGv+LDPEc0+6ndV4wLLivnvFiDwHrmeTgNxL6p+//iesvo8vcla/NcbuJO Fj7yIo7pgMvWYsG8QPgM0z8U/EwuFqe8JuFAm7nOsUfL4B52N/vbiNh8VnD/UryMbYWF be1iC1KMyT3zZMuHiqW9v8hpijXifsyzNOoSN7Ki/tb/v0+GZAeBaeOQx/rVxyoDZoJr /UO1a1UO1EpH46tDvQ2LlqYkP1B7zk/mB7mQBt+gQS5kGSwmXssaF4PO4L6yc+NVL6kh /Lcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=AgR69EgA; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" X-Forwarded-Encrypted: i=2; AJvYcCW1EASkoavEgs2p8vdhh+bEV65pocpbRqTQWAykYMEgq5yRBUWBnTUGQaA03B+ZKxpyWTpF43e9C+Um9QoglS9wW/A2mg== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id gm12-20020a056214268c00b0068c4caadce8si4768512qvb.53.2024.02.14.02.40.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:40:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=AgR69EgA; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D5E24385DC00 for ; Wed, 14 Feb 2024 10:40:50 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id C7FD6385DC00 for ; Wed, 14 Feb 2024 10:40:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7FD6385DC00 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7FD6385DC00 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707907208; cv=none; b=lxTWcPtWI132pL1kJw/ydU8MddMJX3QZB9q1NCwYamB8rPX96TeXDga4W+Kn+8/7CSGXHXaV1ENErClABgJYmQ16v07KLJuF+2j/03jcVecEZiZpVpaqOn2P1e32Ph+vr8TdNv4EozNlpLfTQ/wqQRiF/Z6+nEvl8O5NrUfiBtk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707907208; c=relaxed/simple; bh=+Jbb8xAutKgZmg/omfKIPWQ03pC6gxlH5+QsCo30Zhg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=x+5XM0Ecb1xxMutQAOM0/Qwbm/vHwXfVZHYHl5AX+Y43OmpkVwTCk9X/IVexVyM2ROeMOGMqhA+sSgJXt8oo71esd9HAmhifM7CDoMeachAA8rq4nq683EF23fxztvp5Y7QhFuxGZT8FV+bES5RR84tm+QSFMYEprXEBno+EOPI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 3CB07C3B12; Wed, 14 Feb 2024 11:40:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1707907201; bh=+Jbb8 xAutKgZmg/omfKIPWQ03pC6gxlH5+QsCo30Zhg=; b=AgR69EgATRnb78EILKaqy h58IhAhoSKOhQbLFFBTUnc9P8iimTU7B5FdzYHjaGW5lQr5iA77xtfEnNgxhDzwJ x/qkFGzanb6hQm0zrxdMrycc9iOZTF7O39JhY4VqiIVV8iAvxL8TQjvOYp7rlJNF Sw/udbkjJY1HSPtNhhDDlI6shwUDJZXrezsMqfuk2p8h2Q+2WZWUFHboeiZbSzc3 tZld1aGl6yw4ymK7QTQ45Wo7zQufPtvROdUL2dulr6tOcTbjp8zd1B+ZfanQ7v2K bEaQnsg22lV/chI00FIbwCEgED6zvj0iRYO420lA7zPhebb9C+q4qsnJWmnUYKYv Q== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wwtBLqalRbtZ; Wed, 14 Feb 2024 11:40:01 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085539e.dip0.t-ipconnect.de [80.133.83.158]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 88973C37BB; Wed, 14 Feb 2024 11:40:01 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: H.J. Lu Subject: [COMMITTED] testsuite: i386: Skip gcc.target/i386/pr113689-1.c etc. on Solaris [PR113909] Date: Wed, 14 Feb 2024 11:40:00 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3791.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790870553484290272 X-GMAIL-MSGID: 1790870553484290272 gcc.target/i386/pr113689-[1-3].c FAIL on 64-bit Solaris/x86: FAIL: gcc.target/i386/pr113689-1.c (test for excess errors) UNRESOLVED: gcc.target/i386/pr113689-1.c compilation failed to produce executable FAIL: gcc.target/i386/pr113689-2.c (test for excess errors) UNRESOLVED: gcc.target/i386/pr113689-2.c compilation failed to produce executable FAIL: gcc.target/i386/pr113689-3.c (test for excess errors) UNRESOLVED: gcc.target/i386/pr113689-3.c compilation failed to produce executable with Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr113689-1.c:43:1: sorry, unimplemented: no register available for profiling '-mcmodel=large' Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr113689-2.c:26:1: sorry, unimplemented: profiling '-mcmodel=large' with PIC is not supported Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr113689-3.c:15:1: sorry, unimplemented: profiling '-mcmodel=large' with PIC is not supported This happens because i386/sol2.h doesn't define NO_PROFILE_COUNTERS. So this patch just skips the tests on Solaris. Tested on i386-pc-solaris2.11. Committed to trunk. Rainer # HG changeset patch # Parent 541a06a663a132cbcf1467a248d1229e290a65ab testsuite: i386: Skip gcc.target/i386/pr113689-1.c etc. on Solaris diff --git a/gcc/testsuite/gcc.target/i386/pr113689-1.c b/gcc/testsuite/gcc.target/i386/pr113689-1.c --- a/gcc/testsuite/gcc.target/i386/pr113689-1.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-1.c @@ -1,6 +1,7 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fno-pic -fprofile -mcmodel=large" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ +/* { dg-skip-if "PR113909" { *-*-solaris2* } } */ #include diff --git a/gcc/testsuite/gcc.target/i386/pr113689-2.c b/gcc/testsuite/gcc.target/i386/pr113689-2.c --- a/gcc/testsuite/gcc.target/i386/pr113689-2.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-2.c @@ -1,6 +1,7 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ +/* { dg-skip-if "PR113909" { *-*-solaris2* } } */ __attribute__((noipa)) void diff --git a/gcc/testsuite/gcc.target/i386/pr113689-3.c b/gcc/testsuite/gcc.target/i386/pr113689-3.c --- a/gcc/testsuite/gcc.target/i386/pr113689-3.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-3.c @@ -1,6 +1,7 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ +/* { dg-skip-if "PR113909" { *-*-solaris2* } } */ #include