aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/oddspreg-5.c
blob: 8d7d884580c29425e1be9bcd4956f045d3694d0c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Check that -mno-odd-spreg is not supported with -mabi=64.  */
/* { dg-options "-mabi=64 -mno-odd-spreg -mhard-float" } */
/* { dg-error "unsupported combination" "" { target *-*-* } 0 } */

float a;
float
foo ()
{
  float b = a + 1.0f;
  return b;
}