view gcc/testsuite/gcc.dg/20030707-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +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);
}