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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr24620.c
blob
926a524d46ba4e11ca9cc7d24c80a5c3247434c2
1
/* This used to ICE due to a backend problem on s390. */
2
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
6
struct
rgba
7
{
8
unsigned char
r
;
9
unsigned char
g
;
10
unsigned char
b
;
11
unsigned char
a
;
12
};
13
14
void
g
(
struct
rgba
);
15
16
void
f
(
void
)
17
{
18
struct
rgba x
;
19
20
x
.
r
=
0
;
21
x
.
g
=
128
;
22
x
.
b
=
128
;
23
x
.
a
=
26
;
24
25
g
(
x
);
26
}
27