blob: f287eb66e92c8212b8ea6238cc42ed6ce96612f5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* Check that we disable odd-numbered single precision registers. */
/* { dg-skip-if "needs asm output" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-options "-mabi=32 -mfp32 -march=loongson3a -mhard-float" } */
void
foo ()
{
register float foo asm ("$f1"); /* { dg-error "isn't suitable for" } */
asm volatile ("" : "=f" (foo));
}
|