Message ID | 20220920142735.1961380-1-aldyh@redhat.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp1493665wrt; Tue, 20 Sep 2022 07:29:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4guDngwtGso7AUjNQqkRWaYx0kOmLrlTss/rfXpEHTFJvqJ6XIJnBpCe+9IBu0WnB21yZf X-Received: by 2002:a17:907:7202:b0:780:c42e:8aa2 with SMTP id dr2-20020a170907720200b00780c42e8aa2mr13925757ejc.165.1663684167197; Tue, 20 Sep 2022 07:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663684167; cv=none; d=google.com; s=arc-20160816; b=G9Mqq+e1eUnu767ugwtbJ2uTNbLUN5DHpNmzsR8AzxMDf4uOB1PBPKsXrPLVTa31IX 8CL2Gwp1iQtLWvfsCPm3h2f1xq65AX+KEimHzYa5GEHZ30c7l0Iru+BCuSFG7iIUdmXm H8WMrb14a2yW+yYGc3EbdQ0GUfL5rMlZk8vQcYADTAaindKyQ1YQOCJBkMOV43GQB98K J0KdnY5vg2P9zDOTNC4QLFV/v0oh2XK0gNsAhyczVlWPBUM2F27AKXgMLpyp9wCM3m1N 4u5+k70vNYLjPk5Z5kFsgVpwpq8RPFV3uoI0y7+buB5d+0m+H75otBZ40mvRfRXj6hBE xInQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=o3i2RJ+yQMLRnUXqGMQCcFL/uDQmZjID/ltHd+viYb4=; b=hVJRuSfyz5nxC0rVbbk2w4Prf0D3Vk89mApz39nXrlZcESiXVAU2xpLJjpSTHuAlts yNl3g0onvXIzHHdINIUW9XdkFOjuZOkEp0u3SUTNoa7xlHM3KZ3gfy0FeuBcCaNRcobr 4dFK0nTOo87+GcMBr4qWxzBGcPJaZxJls1O9t/OGjd+0JwhKUbTqiWi4YQjWdue1xzwU mxzQ5bme9c09aOR924yTQD/u0ErzESqKu5+18X9tFjyYRheO29wMbTrGZHJTSodbik6h Eshd2XwNhCpiEALCAAipS8KYO1xkB60nC3EhUb7r0zJLp+v2mebpNK2elNZdhUZFmRHc /Dwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=WH5vAaEU; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ga10-20020a1709070c0a00b00781e7d2b9fasi761203ejc.379.2022.09.20.07.29.27 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 07:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=WH5vAaEU; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 08AA83857BA7 for <ouuuleilei@gmail.com>; Tue, 20 Sep 2022 14:28:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08AA83857BA7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663684121; bh=o3i2RJ+yQMLRnUXqGMQCcFL/uDQmZjID/ltHd+viYb4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=WH5vAaEUKRK/UQHcmcsCfFyGR6pZ0qLBu1nt+ACU/lj7KRasbDZzmqnlGwdcEO1S3 eQhBW3Dt3/CPGz2pJYh+wG00UzmHW3FSwUI5eh/NqiE8pUPRfVRor1ArOwjymct61X FSvbMXEUpN6cAsR3NRRhVyQZDaJTx0k2Gjt2kGno= 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 49D8E3858018 for <gcc-patches@gcc.gnu.org>; Tue, 20 Sep 2022 14:27:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49D8E3858018 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-615-dwqzWsbJNDalqEAMn3LjHg-1; Tue, 20 Sep 2022 10:27:40 -0400 X-MC-Unique: dwqzWsbJNDalqEAMn3LjHg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4F6F01C068C7 for <gcc-patches@gcc.gnu.org>; Tue, 20 Sep 2022 14:27:40 +0000 (UTC) Received: from abulafia.quesejoda.com (unknown [10.39.194.181]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DCE902166B26; Tue, 20 Sep 2022 14:27:39 +0000 (UTC) Received: from abulafia.quesejoda.com (localhost [127.0.0.1]) by abulafia.quesejoda.com (8.17.1/8.17.1) with ESMTPS id 28KERba81961401 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 20 Sep 2022 16:27:37 +0200 Received: (from aldyh@localhost) by abulafia.quesejoda.com (8.17.1/8.17.1/Submit) id 28KERbZX1961400; Tue, 20 Sep 2022 16:27:37 +0200 To: GCC patches <gcc-patches@gcc.gnu.org> Subject: [COMMITTED] [PR106970] New test for PR that has already been fixed. Date: Tue, 20 Sep 2022 16:27:35 +0200 Message-Id: <20220920142735.1961380-1-aldyh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, 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.29 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> From: Aldy Hernandez via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Aldy Hernandez <aldyh@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1744499289674475858?= X-GMAIL-MSGID: =?utf-8?q?1744499289674475858?= |
Series |
[COMMITTED,PR106970] New test for PR that has already been fixed.
|
|
Commit Message
Aldy Hernandez
Sept. 20, 2022, 2:27 p.m. UTC
PR tree-optimization/106970 gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr106970.c: New test. --- gcc/testsuite/gcc.dg/tree-ssa/pr106970.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/tree-ssa/pr106970.c
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr106970.c b/gcc/testsuite/gcc.dg/tree-ssa/pr106970.c new file mode 100644 index 00000000000..cda9bd46910 --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr106970.c @@ -0,0 +1,9 @@ +// { dg-do compile } +// { dg-options "-O1 -fno-signed-zeros" } + +void +foo (double x, double y) +{ + if (!x == !y * -1.0) + __builtin_trap (); +}