URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-fre-9.c] - Rev 298
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O -fno-tree-sra -fdump-tree-fre-stats" } */ union loc { unsigned reg; signed offset; }; void __frame_state_for2 (volatile char *state_in) { union loc fs; { *state_in = fs.reg; *state_in = fs.offset; } } void __frame_state_for1 (volatile char *state_in) { union loc fs; for (;;) { *state_in = fs.offset; *state_in = fs.reg; } } /* { dg-final { scan-tree-dump-times "Eliminated: 1" 2 "fre" } } */ /* { dg-final { scan-tree-dump-times "Insertions: 1" 2 "fre" } } */ /* { dg-final { cleanup-tree-dump "fre" } } */
Go to most recent revision | Compare with Previous | Blame | View Log