Message ID | Zc4oJWYyQrCRE6m9@tucnak |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp460500dyb; Thu, 15 Feb 2024 07:06:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXqw9KW+3Nk9upuLWa0pcOonacVV/SiTtpm6Za8YqOg4BhEms2ivC1mbHz1OPDIcbOVr15P+bayAMM/M8KInaqHwvH32Q== X-Google-Smtp-Source: AGHT+IGLsXp398uDdrkRAe9asvTXiOOur2yDn70OFmTyBExcRop+xhNNSNdZhxjk00f8NIBW9T14 X-Received: by 2002:a0c:cd11:0:b0:68c:eb3a:2b5f with SMTP id b17-20020a0ccd11000000b0068ceb3a2b5fmr1825129qvm.3.1708009569529; Thu, 15 Feb 2024 07:06:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708009569; cv=pass; d=google.com; s=arc-20160816; b=smf/e0LWyt+m3xf4pyGQXfSd9DQefqwWmmSPJJOdxew4P1wQ9ooqSgJp1ZHA8M0zH8 Zf84N0pJUv6VfiC9iUCNZYEiF93lYHz009WggFmCc2rBgmJqMPzKNbKf0MpfaPSZn8ei hR17Jv0OZr3XpNdgI1pbjAuOD8m+AAA+kw5wOTmpCu8A3kpuJIlX+jPzWPteqk/COtux ia3Slk7wr+Qzw6HuHt8sEA6zxI/rLRfWuu0W4DboqXINlsQ+nsi18JgoxUnP+Cm2yieL xZ2dHZZGzoXqWbXRYviVQH7rGT1mGUqnvX6ZkhUMiOEXdeiaMW2wQ6/PQZ3prkv6pwag TTwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=yV5aro3zE9HhFoph5pvql0UqWWgG+bxti7VospQRtzw=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=K2Eq7l7nYeIHiMerE6rBNAzFvLOxKzxRtcYsQYekX/v7nQjHq44imw0TF9hiMTlScm +w2MnQw9fDtmjsNLLMgPm/C9rkbRDv+N3mxZjKqt2FqhGzNFVf8fnJM1poCjDqVAlxxQ WKukcEmybBkTr9H49GPBve8R8zYWLNHedB32Uh90Apm+gMk6liyJcj4XjIdVDwquuHoc v2nKKZDj79E0Xi/Ay3rvErphH52uj7RAHY0xpZAEhEYApdQVyPVusunII+wlqzNDz4iw kAf9w5pA0iTQXjL9dp6kL55JcxFSTzF+3xijGmR6dz/kkuxsWtsUAuNcRqQaTK9GxkYs 7iJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iPW0eg3i; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 6-20020a05621420e600b0068c4919b66fsi1584303qvk.147.2024.02.15.07.06.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 07:06:09 -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=@redhat.com header.s=mimecast20190719 header.b=iPW0eg3i; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3C4033865490 for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 15:06:09 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 8CDB038618BE for <gcc-patches@gcc.gnu.org>; Thu, 15 Feb 2024 15:05:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CDB038618BE Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8CDB038618BE Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708009526; cv=none; b=Htr7MxFGSHI6kCNvB0HQmMPCxYrgruOTIgTXYNEZ1P1+3tRNFVXZb/U3J8kpot6r89YYrOZ5SdRPFkKgCTak3KGJjoM4zIM1xUx1M3lr6fRWjCu82ortk3T+jWrzUFx9krAkR35OsHuV1EbwSUUhJCj3MMIwQzg1xTeh7w+zT10= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708009526; c=relaxed/simple; bh=w1nkj6kgVOkrPUb+4JHQRW3j/XbhpZpM6Oq141Tvlac=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=vMEDKoVWnbzjpUAf3zR+k5uEt4xfIRIk/ud26u4myGLenR1SW6apNXVF9FCjbaLtYCFQCRalyzbSzIKEQKAp67obvbW+2fFVYnhqbz1zqrATndqyq2oTHa5eaJtEbivWq7PMCZM4qx9OFtaCUqS7DFpapJO8W1iN0ccgdDXsZT8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708009515; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=yV5aro3zE9HhFoph5pvql0UqWWgG+bxti7VospQRtzw=; b=iPW0eg3icXNXdt6qU26lNGYtjXOGEzalyFfytBLPoSVEL/aicMUNCfbombIfBTl5RI6tju 6bunuqT5LNJxTuP+fC1HrPM2r6GerVnWmtAgBDNP+Fy1UxJowHWroP3du9VuETm1qAkkHY qK3pxhwbVY/Z05HW5mr5TiTn2C1myjs= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-231-Ht0VALpXOqKd13ibqjg5dg-1; Thu, 15 Feb 2024 10:05:13 -0500 X-MC-Unique: Ht0VALpXOqKd13ibqjg5dg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5AA083C000B5 for <gcc-patches@gcc.gnu.org>; Thu, 15 Feb 2024 15:05:13 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1C61E2166B32 for <gcc-patches@gcc.gnu.org>; Thu, 15 Feb 2024 15:05:12 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 41FF5Ao01220865 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Thu, 15 Feb 2024 16:05:11 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 41FF5At61220864 for gcc-patches@gcc.gnu.org; Thu, 15 Feb 2024 16:05:10 +0100 Date: Thu, 15 Feb 2024 16:05:09 +0100 From: Jakub Jelinek <jakub@redhat.com> To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Add testcase for already fixed PR [PR107385] Message-ID: <Zc4oJWYyQrCRE6m9@tucnak> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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 <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> Reply-To: Jakub Jelinek <jakub@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790977842348699094 X-GMAIL-MSGID: 1790977842348699094 |
Series |
[committed] testsuite: Add testcase for already fixed PR [PR107385]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Jakub Jelinek
Feb. 15, 2024, 3:05 p.m. UTC
Hi! This testcase has been fixed by the PR113921 fix, but unlike testcase in there this one is not target specific. Tested on x86_64-linux -m32/-m64, committed to trunk as obvious. 2024-02-15 Jakub Jelinek <jakub@redhat.com> PR middle-end/107385 * gcc.dg/pr107385.c: New test. Jakub
--- gcc/testsuite/gcc.dg/pr107385.c.jj 2024-01-13 00:05:00.077372302 +0100 +++ gcc/testsuite/gcc.dg/pr107385.c 2024-02-15 09:18:47.711260427 +0100 @@ -0,0 +1,20 @@ +/* PR middle-end/107385 */ +/* { dg-do run } */ +/* { dg-options "-O2" } */ + +__attribute__((noipa)) int +foo (void) +{ + int x; + asm goto ("": "=r" (x) : "0" (15) :: lab); + x = 6; +lab: + return x; +} + +int +main () +{ + if (foo () != 6) + __builtin_abort (); +}