aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr68843-1.c
blob: da0676aa69bf3ebc1f2b3ca901a4f57e3eacf893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */

double
test ()
{
  double x = 1.0;
  asm ("fld %1" /* { dg-error "explicitly used regs must be grouped at top of stack" } */
       : "=&t" (x)
       : "u" (x));
  return x;
}