URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr47391.c] - Rev 708
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/47391 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ const volatile int v = 1; int i = 0; void foo (void) { i = v; } int main (void) { foo (); return 0; } /* { dg-final { scan-tree-dump-not "i = 1;" "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log