blob: 723424a39bd8327301a33a4da62db01d1ee4b754 [file] [log] [blame]
/* Check that we disable odd-numbered single precision registers and can
still generate code. */
/* { dg-options "-mabi=32 -mno-odd-spreg -mhard-float" } */
#if _MIPS_SPFPSET != 16
#error "Incorrect number of single-precision registers reported"
#endif
float a;
float
foo ()
{
float b = a + 1.0f;
return b;
}