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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr55920.c
blob
91387430b71c2cf2c911286769a9cfe55394a4e9
1
/* PR tree-optimization/55920 */
2
3
struct
A
{
unsigned
a
; }
__attribute__
((
packed
));
4
struct
B
{
int
b
;
unsigned char
c
[
16
]; };
5
void
bar
(
struct
A
);
6
7
void
8
foo
(
struct
B
*
x
)
9
{
10
struct
A a
;
11
if
(
x
->
b
)
12
__builtin_memcpy
(&
a
,
x
->
c
,
sizeof
a
);
13
else
14
a
.
a
=
0
;
15
bar
(
a
);
16
}