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.dg
/
tree-ssa
/
ssa-ccp-33.c
blob
753676994e43de0084c2cfa4745e221944faa771
1
/* { dg-do link } */
2
/* { dg-options "-O" } */
3
4
extern
void
link_error
();
5
int
a
[
256
];
6
void
foo
(
int
n
)
7
{
8
int
*
p
;
9
for
(
p
=
a
;
n
!=
0
; --
n
, ++
p
)
10
;
11
if
((
__SIZE_TYPE__
)
p
& (
__alignof__
(
int
) -
1
))
12
link_error
();
13
}
14
int
main
()
15
{
16
return
0
;
17
}