view gcc/testsuite/gcc.dg/pr46307.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

/* PR debug/46307 */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */

double fma (double, double, double);

double
foo (double x, double y, double z)
{
  double a = x * y + z;
  double b = __builtin_fma (x, y, z);
  double c = fma (x, y, z);
  return x / y / z;
}