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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr52400_0.C
blob
b1a7e6634c709360253e445a9347f852a776f9be
1
// { dg-lto-do run }
2
3
extern "C" {
4
static int f4(int);
5
6
int f5(int a) {
7
extern int f4(int);
8
return f4(a);
9
}
10
}
11
12
int f4(int a) { return 4+a; }
13
14
int main(int argc, char *argv[])
15
{
16
int a = f4(1);
17
return !(a == 5);
18
}