]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Tue, 12 Mar 2002 07:53:40 +0000 (07:53 +0000)
committerNo Author <no-author@gcc.gnu.org>
Tue, 12 Mar 2002 07:53:40 +0000 (07:53 +0000)
'gcc-3_0-branch'.

From-SVN: r50641

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

diff --git a/gcc/testsuite/gcc.dg/20020312-1.c b/gcc/testsuite/gcc.dg/20020312-1.c
new file mode 100644 (file)
index 0000000..9784018
--- /dev/null
@@ -0,0 +1,10 @@
+/* This testcase ICEd on alpha because of an unrecognized insn formed
+   by conditional move optimization using an incorrect mode.  */
+/* { dg-do compile } */
+/* { dg-options "-O -ffast-math" } */
+
+char*
+barf (double x)
+{
+    return (x<0.0) ? "foo" : "bar";
+}