gcc/testsuite/gcc.target/i386/991129-1.c
raw| 1 | /* Test against a problem in push_reload. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-require-effective-target ia32 } */ |
| 5 | /* { dg-options "-O2" } */ |
| 6 | |
| 7 | unsigned long foo (unsigned long long x, unsigned long y) |
| 8 | { |
| 9 | unsigned long a; |
| 10 | |
| 11 | x += y; |
| 12 | |
| 13 | asm ("" : "=a" (a) : "A" (x), "rm" (y)); |
| 14 | |
| 15 | return a; |
| 16 | } |