view gcc/testsuite/gcc.dg/20030707-1.c @ 157:dafe684d005c

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:08:54 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Derived from PR target/10979.  */
/* This testcase used to ICE on x86.  */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

void t(double);
double atan2(double,double);

void temp(double *c)
{
  double c2 = 8;
  double s2 = 0;
  *c = atan2(s2,c2);
  t(1/s2);
}