Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr42898-2.c
blob6634ea0b077e149aa3e8d3e2a9a8a0fa34009af2
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-optimized" } */
3 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
5 struct hardware {
6 int parm1:8;
7 int :4;
8 int parm2:4;
9 int parm3:15;
10 int parm4:1;
13 const struct hardware h = {
14 .parm1=42,
15 .parm2=13,
16 .parm3=11850,
17 .parm4=1,
20 void f1(volatile struct hardware *ptr)
22 *ptr = h;
25 /* { dg-final { scan-tree-dump-times "\\*ptr" 1 "optimized" } } */