Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr42898.c
blob6cd24a59c12685b54ae49b3135f7345845adaf3e
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 void f1(volatile struct hardware *ptr)
15 *ptr=(struct hardware) {
16 .parm1=42,
17 .parm2=13,
18 .parm3=11850,
19 .parm4=1,
23 /* { dg-final { scan-tree-dump-times "\\*ptr" 1 "optimized" } } */