summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr67265.c
blob: 7827685fe5f140e933da4abe6d16f4fbe9f3be03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/67265 */
/* Reduced testcase by Johannes Dewender <gnu@JonnyJD.net> */

/* { dg-do compile } */
/* { dg-options "-O -fstack-check -fPIC" } */

int a, b, c, d, e;

void foo (void)
{
  __asm__("" : "+r"(c), "+r"(e), "+r"(d), "+r"(a) : ""(b), "mg"(foo), "mm"(c));
}