Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr47265.c
blob: 183c3f986217ef69b3e099844868e52afe60c4ad [
file
] [
log
] [
blame
]
/* PR tree-optimization/47265 */
struct
S
{
char
a
[
3
];
char
b
[
3
];
};
void
bar
(
char
*
dst
,
const
char
*
src
,
unsigned
n
)
{
while
(
n
--)
*
dst
++
=
*
src
?
*
src
++
:
' '
;
}
void
foo
(
struct
S
*
s
)
{
bar
(
s
->
a
,
s
->
b
,
3
);
}