]> gcc.gnu.org Git - gcc.git/commitdiff
New testcase for x86 specific crash.
authorJeff Law <law@gcc.gnu.org>
Wed, 25 Feb 1998 23:07:14 +0000 (16:07 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 25 Feb 1998 23:07:14 +0000 (16:07 -0700)
From-SVN: r18239

gcc/testsuite/gcc.dg/980226-1.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/980226-1.c b/gcc/testsuite/gcc.dg/980226-1.c
new file mode 100644 (file)
index 0000000..f66e9e2
--- /dev/null
@@ -0,0 +1,12 @@
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options -O2 } */
+
+extern double bar (double);
+
+int
+baz (double d)
+{
+  double e = bar (d);
+  asm volatile ("" : : : "st");
+  return printf ("%lg\n", e);
+}
This page took 0.074063 seconds and 5 git commands to generate.