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
));
17 /* { dg-final { scan-tree-dump "foo \\\(void \\\* from, void \\\* to\\\)" "optimized" } } */
18 /* { dg-final { cleanup-tree-dump "optimized" } } */