repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fpermitted-flt-eval-methods_1.c
blob
c022f86b250c022ea2e71323a4bfa682c6a40d8e
1
/* { dg-do run } */
2
/* { dg-options "-std=c11" } */
3
4
/* Test that we only see the C99/C11 values for __FLT_EVAL_METHOD__ if
5
we are compiling with -std=c11. */
6
7
int
main
(
int
argc
,
char
**
argv
)
8
{
9
switch
(
__FLT_EVAL_METHOD__
)
10
{
11
case
0
:
12
case
1
:
13
case
2
:
14
case
-
1
:
15
return
0
;
16
default
:
17
return
1
;
18
}
19
}