URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [pr21255-4.c] - Rev 399
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target { sh*-*-* && nonpic } } } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ double f () { double r; asm ("mov %S1,%S0; mov %R1,%R0" : "=r" (r) : "i" (f)); /* { dg-error "invalid operand to %S" "" {target "sh*-*-*" } 9 } */ /* { dg-error "invalid operand to %R" "" {target "sh*-*-*" } 9 } */ return r; }
Go to most recent revision | Compare with Previous | Blame | View Log