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
/
pr71626-1.c
blob
26cfa9650e0829410bfa8c39ae54a1ca66b66953
1
/* PR middle-end/71626 */
2
3
typedef
__INTPTR_TYPE__ V
__attribute__
((
__vector_size__
(
sizeof
(
__INTPTR_TYPE__
))));
4
5
__attribute__
((
noinline
,
noclone
))
V
6
foo
()
7
{
8
V v
= { (
__INTPTR_TYPE__
)
foo
};
9
return
v
;
10
}
11
12
int
13
main
()
14
{
15
V v
=
foo
();
16
if
(
v
[
0
] != (
__INTPTR_TYPE__
)
foo
)
17
__builtin_abort
();
18
return
0
;
19
}