2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr44290-1.c
blob071a271042528181c11a963a93bcdc06ff9b4a8a
1 /* { dg-do compile { target arm*-*-* avr-*-* mcore-*-* rx-*-* spu-*-* } } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 static void __attribute__((naked))
5 foo(void *from, void *to)
7 asm volatile("dummy"::"r"(from), "r"(to));
10 unsigned int fie[2];
12 void fum(void *to)
14 foo(fie, to);
17 /* { dg-final { scan-tree-dump "foo \\\(void \\\* from, void \\\* to\\\)" "optimized" } } */
18 /* { dg-final { cleanup-tree-dump "optimized" } } */