summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020312-1.c
blob: 978401862a4fdee750bbce992863f1197707676f (plain)
1
2
3
4
5
6
7
8
9
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";
}