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/] [reassoc-12.c] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-reassoc1-details" } */ int f(int a, int b) { /* MAX_EXPR <a, a> should cause it to be equivalent to a. */ int c = a>=b?a:b; int d = c>=a?c:a; return d; } /* { dg-final { scan-tree-dump-times "Equivalence:" 1 "reassoc1"} } */ /* { dg-final { cleanup-tree-dump "reassoc1" } } */
Go to most recent revision | Compare with Previous | Blame | View Log