view gcc/testsuite/gcc.dg/20030707-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +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);
}