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
/
pr51572-2_0.C
blob
f7de4f06aef73f62302900980635cac66b0de0d6
1
// Copy of g++.dg/debug/pr45660
2
// { dg-lto-do link }
3
// { dg-lto-options { { -g -flto } } }
4
5
int
6
main ()
7
{
8
struct S
9
{
10
typedef void (**T) (void);
11
static T i (void) { return 0; }
12
};
13
S s;
14
if (s.i ())
15
*s.i () = 0;
16
}