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
S/390: Allow immediates in loc expander
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr86572.c
blob
6cda55bae2210e2e11419ccabc9f315de9c01281
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
const char
buf
[
40
] =
"test"
;
5
void
test
(
int
x
)
6
{
7
if
(
__builtin_strlen
(
buf
+
x
) >
4
)
8
__builtin_abort
();
9
}
10
11
/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */