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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
predict-14.c
blob
18ede8f39c057fd7272345369267e1b35f504afd
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3
4
int
main
(
int
argc
,
char
**
argv
)
5
{
6
switch
(
argc
)
7
{
8
case
1
:
9
__builtin_abort
();
10
case
4
:
11
__builtin_abort
();
12
default
:
13
__builtin_abort
();
14
}
15
16
return
10
;
17
}
18
19
/* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */