URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr42898.c] - Rev 298
Go to most recent revision | 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" } } */
Go to most recent revision | Compare with Previous | Blame | View Log