PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr65693.c
blobbc380e483ffcf47204bc3e7ac58c7ce51d582cab
1 /* PR target/65693 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int a;
7 void
8 foo (int (*fn) (int, int, int), unsigned int b)
10 unsigned long *c = (unsigned long *) __builtin_alloca (b);
11 a = *c;
12 register int d asm ("edx") = fn (0, 0, d);