URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr46909.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/46909 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ extern void abort (); int __attribute__ ((__noinline__)) foo (unsigned int x) { if (! (x == 4 || x == 6) || (x == 2 || x == 6)) return 1; return -1; } /* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) != 4" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) != 6" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) == 2" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) == 6" 0 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log