1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-require-effective-target hard_dfp } */
3 /* { dg-options "-O2 -std=c99" } */
8 /* Test builin with out of range arguments. The builtin
9 __builtin_set_fpscr_drn() also support a variable as an argument but
10 can't test variable value at compile time. */
12 __builtin_set_fpscr_drn(-1); /* { dg-error "Argument must be a value between 0 and 7" } */
13 __builtin_set_fpscr_drn(8); /* { dg-error "Argument must be a value between 0 and 7" } */