public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-2736] [PR106970] New test for PR that has already been fixed.
Date: Tue, 20 Sep 2022 14:27:21 +0000 (GMT)	[thread overview]
Message-ID: <20220920142721.2D9E3385829A@sourceware.org> (raw)

https://gcc.gnu.org/g:3e41e69ab2d85f6756d5217a3d87ada559691e0d

commit r13-2736-g3e41e69ab2d85f6756d5217a3d87ada559691e0d
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Sep 20 16:06:05 2022 +0200

    [PR106970] New test for PR that has already been fixed.
    
            PR tree-optimization/106970
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/tree-ssa/pr106970.c: New test.

Diff:
---
 gcc/testsuite/gcc.dg/tree-ssa/pr106970.c | 9 +++++++++
 1 file changed, 9 insertions(+)

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 ();
+}

                 reply	other threads:[~2022-09-20 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220920142721.2D9E3385829A@sourceware.org \
    --to=aldyh@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).