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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56992.c
blob
e945a18ca84f3bbc8213d3891f688c369cbe347e
1
/* PR rtl-optimization/56992 */
2
/* { dg-do compile } */
3
/* { dg-options "-Og -g" } */
4
5
inline
int
6
foo
(
const char
*
x
)
7
{
8
return
__builtin_strlen
(
x
);
9
}
10
11
int
12
bar
(
const char
*
x
,
unsigned int
*
y
)
13
{
14
unsigned int
l
=
foo
(
x
);
15
if
(
l
>
15
)
16
l
=
15
;
17
*
y
=
l
;
18
}