URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr17141-2.c] - Rev 300
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ void abort (void); struct a { int i; } *a; int f(void) { int *ii = &a->i; void *l; a->i = 1; if (*ii) l = &&l1; else l = &&l2; goto *l; l1: return 0; l2: abort (); } /* { dg-final { scan-tree-dump-times "&" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "abort" 0 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log