public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2736] [PR106970] New test for PR that has already been fixed.
@ 2022-09-20 14:27 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2022-09-20 14:27 UTC (permalink / raw)
  To: gcc-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-20 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 14:27 [gcc r13-2736] [PR106970] New test for PR that has already been fixed Aldy Hernandez

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).