OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
991214-1.c
diff --git a/gcc/testsuite/gcc.dg/991214-1.c
b/gcc/testsuite/gcc.dg/991214-1.c
new file mode 100644
(file)
index 0000000..
2bc7f3f
--- /dev/null
+++ b/
gcc/testsuite/gcc.dg/991214-1.c
@@ -0,0
+1,7
@@
+/* { dg-do compile { target i?86-*-* } } */
+
+int foo (int, int) __attribute__ ((regparm (3)));
+int foo (int x, int y)
+{
+ asm volatile("" : : "d" (x), "r" (y));
+}