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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20060412-1.c
blob
a4cc4d450391b320ca8a891709ff7e5159f3f72c
1
extern
void
abort
(
void
);
2
3
struct
S
4
{
5
long
o
;
6
};
7
8
struct
T
9
{
10
long
o
;
11
struct
S m
[
82
];
12
};
13
14
struct
T t
;
15
16
int
17
main
()
18
{
19
struct
S
*
p
, *
q
;
20
21
p
= (
struct
S
*) &
t
;
22
p
= &((
struct
T
*)
p
)->
m
[
0
];
23
q
=
p
+
82
;
24
while
(--
q
>
p
)
25
q
->
o
= -
1
;
26
q
->
o
=
0
;
27
28
if
(
q
>
p
)
29
abort
();
30
if
(
q
-
p
>
0
)
31
abort
();
32
return
0
;
33
}