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
Fix all tests that fail with -sanitize=return.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pred-1.C
blob
01b065ee96615cff69e8ce752915c58f670239d9
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3
int a[100];
4
void foo(int);
5
main()
6
{
7
int i;
8
for (i=0;i<100;i++)
9
{
10
if (a[i])
11
continue;
12
foo(i);
13
}
14
}
15
// { dg-final { scan-tree-dump "continue heuristics" "profile_estimate" } }