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
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr33238.c
blob
0b399041a867f0909337f243b337dac556257007
1
/* PR c/33238 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu89" } */
4
5
void
6
reverse
(
void
*
x
,
int
y
,
int
z
)
7
{
8
struct
{
char
w
[
z
]; } *
p
=
x
,
a
;
9
int
i
,
j
;
10
for
(
i
=
y
-
1
,
j
=
0
;
j
<
y
/
2
;
i
--,
j
++)
11
({
a
=
p
[
i
];
p
[
i
] =
p
[
j
];
p
[
j
] =
a
; });
12
}