URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-fre-9.c] - Rev 298
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" } } */