Let tree_single_nonzero_warnv_p use range information
[official-gcc.git] / gcc / testsuite / gcc.dg / nofixed-point-2.c
blob8442a1984cfa48d1c8b937faa67d2e3673059097
1 /* PR inline-asm/39059 */
2 /* { dg-do compile { target {! fixed_point} } } */
3 /* { dg-options "-std=gnu99" } */
5 void
6 f1 (void)
8 asm ("" : : "r" (0r)); /* { dg-error "not supported" "reject fixed-point" } */
11 __typeof (0r) /* { dg-error "not supported" "reject fixed-point" } */
12 b2 (void) /* { dg-bogus "defaults to" } */
14 return 0r; /* { dg-error "not supported" "reject fixed-point" } */
17 _Accum /* { dg-error "not supported" "reject fixed-point" } */
18 f3 (void)
20 return 0k; /* { dg-error "not supported" "reject fixed-point" } */
23 _Sat /* { dg-error "not supported" "reject fixed-point" } */
24 f4 (void)
26 return 0k; /* { dg-error "not supported" "reject fixed-point" } */
29 /* { dg-error "is used without" "" { target *-*-* } 23 } */