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
rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL when returning call_cookie.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050330-2.c
blob
d912ffd03a89f0c2e1d19b0651934030cd1a071e
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fprofile-generate" } */
3
4
struct
S
5
{
6
int
a
;
7
void
**
b
;
8
};
9
10
void
11
foo
(
struct
S
*
x
,
int
y
)
12
{
13
if
(!
x
)
14
return
;
15
if
(
y
>=
x
->
a
)
16
return
;
17
x
->
a
--;
18
for
(;
y
<
x
->
a
;
y
++)
19
x
->
b
[
y
] =
x
->
b
[
y
+
1
];
20
x
->
b
[
x
->
a
] = (
void
*)
0
;
21
}