gcc/testsuite/gcc.target/i386/pr67265.c
raw| 1 | /* PR target/67265 */ |
| 2 | /* Reduced testcase by Johannes Dewender <[email protected]> */ |
| 3 | |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-require-stack-check "" } */ |
| 6 | /* { dg-require-effective-target fpic } */ |
| 7 | /* { dg-options "-O -fstack-check -fPIC" } */ |
| 8 | |
| 9 | int a, b, c, d, e; |
| 10 | |
| 11 | void foo (void) |
| 12 | { |
| 13 | __asm__("" : "+r"(c), "+r"(e), "+r"(d), "+r"(a) : ""(b), "mg"(foo), "mm"(c)); |
| 14 | } |