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.c-torture
/
execute
/
920428-1.c
blob
154af763a509308edd625b17d316d780bbb30c91
1
x
(
const char
*
s
){
char
a
[
1
];
const char
*
ss
=
s
;
a
[*
s
++]|=
1
;
return
(
int
)
ss
+
1
==(
int
)
s
;}
2
main
(){
if
(
x
(
""
)!=
1
)
abort
();
exit
(
0
);}