Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/builtin-inf-1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 | |
3 float fi = __builtin_inff(); | |
145 | 4 /* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
111 | 5 double di = __builtin_inf(); |
145 | 6 /* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
111 | 7 long double li = __builtin_infl(); |
145 | 8 /* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
111 | 9 |
10 float fh = __builtin_huge_valf(); | |
11 double dh = __builtin_huge_val(); | |
12 long double lh = __builtin_huge_vall(); | |
13 |