view gcc/testsuite/gcc.dg/20020312-1.c @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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";
}