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
/
stuct.c
blob
b70957e9891c0114dad4b2d3aecb13aee6be2854
1
/* { dg-add-options stack_size } */
2
3
#ifdef STACK_SIZE
4
#define SIZE STACK_SIZE / 8
5
#else
6
#define SIZE 10000000
7
#endif
8
9
struct
foo
10
{
11
int
a
,
b
,
c
;
12
int
arr
[
SIZE
];
13
};
14
15
struct
foo s
,
ss
;
16
17
main
()
18
{
19
20
s
.
b
=
2
;
21
s
.
c
=
3
;
22
ss
.
b
=
2
;
23
ss
.
c
=
3
;
24
}