Sign in
gnu
/
gcc
/
a61f6afbee370785cf091fe46e2e022748528307
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr94621.c
blob: 0d98dfd53a5b6be92ab9f26ef929499bff683715 [
file
] [
log
] [
blame
]
/* PR tree-optimization/94621 */
struct
S
{
int
c
,
e
[];
};
static
inline
int
foo
(
struct
S
*
m
,
int
r
,
int
c
)
{
int
(*
a
)[][
m
->
c
]
=
(
int
(*)[][
m
->
c
])&
m
->
e
;
return
(*
a
)[
r
][
c
];
}
void
bar
(
struct
S
*
a
)
{
foo
(
a
,
0
,
0
);
}