URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr42898.c] - Rev 826
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fdump-tree-optimized" } */ struct hardware { int parm1:8; int :4; int parm2:4; int parm3:15; int parm4:1; }; void f1(volatile struct hardware *ptr) { *ptr=(struct hardware) { .parm1=42, .parm2=13, .parm3=11850, .parm4=1, }; } /* { dg-final { scan-tree-dump-times "\\*ptr" 1 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */