summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/20001127-1.c
blob: b62c6f979f71f73f70fdf87694126834b6cc44fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2" } */

extern inline float bar (float x)
{
  register long double value;
  asm volatile ("frndint" : "=t" (value) : "0" (x));
  return value;
}

float a;

float foo (float b)
{
  return a + bar (b);
}