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
/
compile
/
20010518-2.c
blob
0a1bb74f9b13cbba0d743ad8647928ed454b4abd
1
/* { dg-do compile } */
2
/* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
3
4
/* Large static storage. */
5
6
#include <limits.h>
7
8
static
volatile
char
chars_1
[
INT_MAX
/
2
];
9
static
volatile
char
chars_2
[
1
];
10
11
int
12
foo
(
void
)
13
{
14
chars_1
[
10
] =
'y'
;
15
chars_2
[
0
] =
'x'
;
16
}