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

/* { dg-do compile } */
/* { dg-require-stack-check "" } */
/* { 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));
}