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
pretty-print.h (pp_base): Remove.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr50613.c
blob
27c6fba36361e74f9d75033dae7d6e7cb9101d41
1
/* PR tree-optimization/50613 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fno-tree-ccp" } */
4
5
#include
"strlenopt.h"
6
7
char
buf
[
26
];
8
9
static
inline
void
10
bar
(
char
*
__restrict dest
,
const char
*
__restrict src
)
11
{
12
strcpy
(
dest
,
src
);
13
}
14
15
void
16
foo
(
char
*
p
)
17
{
18
if
(
strlen
(
p
) <
50
)
19
bar
(
buf
,
p
);
20
}