summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/ia64/pr43897.c
blob: fb73e86923aaf2656d1aaf959221b69af0290c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/43897 */
/* { dg-do assemble } */
/* { dg-options "-O2" } */

int
sub (int i)
{
  float tmp;
  if (i)
    __asm__ __volatile__ ("frcpa.s0 %0,p1=f0,f0":"=f" (tmp)::"p1");
  return i + 10;
}