1 /* PR tree-optimization/58145 */
2 /* { dg-do compile { target { int32plus } } } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 struct S
{ unsigned int data
: 32; };
6 struct T
{ unsigned int data
; };
12 struct S s
= { .data
= val
};
13 *(volatile struct S
*) 0x880000UL
= s
;
19 struct T t
= { .data
= val
};
20 *(volatile struct T
*) 0x880000UL
= t
;
26 *(volatile unsigned int *) 0x880000UL
= val
;
32 struct S s
= { .data
= val
};
40 for (i
= 0; i
< 100; i
++)
42 for (i
= 0; i
< 100; i
++)
44 for (i
= 0; i
< 100; i
++)
46 for (i
= 0; i
< 100; i
++)
50 /* { dg-final { scan-tree-dump-times " ={v} " 4 "optimized" } } */