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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
ipa-sra-5.c
blob
3310a6df2e75ab3b0d448dcee5564b4e32d0859a
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */
3
4
static int
*
5
__attribute__
((
noinline
,
used
))
6
ox
(
int
*
i
,
int
*
j
)
7
{
8
return
i
;
9
}
10
11
int
a
;
12
13
int
*
caller
(
void
)
14
{
15
int
b
=
10
;
16
17
return
ox
(&
a
, &
b
);
18
}
19
/* { dg-final { scan-tree-dump-times "base: j, remove_param" 0 "eipa_sra" } } */