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/] [20030821-1.c] - Rev 298
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O1 -fdump-tree-dom1 -fdump-tree-optimized" } */ void foo(int k) { int i = 1; void *label; label = k ? &&x : &&y; if (k == 1) goto *label; i = 0; goto z; z: x: if (i) dont_remove (); y: ; } /* { dg-final { scan-tree-dump-times "dont_remove \\(\\)" 1 "optimized"} } */ /* We should have folded away the goto &x */ /* { dg-final { scan-tree-dump-times "goto &x" 0 "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ /* { dg-final { cleanup-tree-dump "dom1" } } */
Go to most recent revision | Compare with Previous | Blame | View Log