OSDN Git Service

PR c/10175
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 991214-1.c
1 /* { dg-do compile { target i?86-*-* } } */
2 /* { dg-options "-O2" } */
3
4 /* Test against a problem with the combiner substituting explicit hard reg
5    references when it shouldn't.  */
6 void foo (int, int) __attribute__ ((regparm (3)));
7 void foo (int x, int y)
8 {
9   __asm__ __volatile__("" : : "d" (x), "r" (y));
10 }