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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr78153-2.c
blob
de70450f1c9f6715ca72e46823494eeeb2ad3a5d
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-evrp-slim" } */
3
4
void
f
(
const char
*
s
)
5
{
6
__PTRDIFF_TYPE__ n
=
__builtin_strlen
(
s
);
7
if
(
n
<
0
)
8
__builtin_abort
();
9
}
10
11
/* { dg-final { scan-tree-dump-not "__builtin_abort" "evrp" } } */