URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [divide-1.c] - Rev 853
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O1 -fstrict-overflow -fdump-tree-optimized" } */ int f(int a) { return (-a)/10; } /* { dg-final { scan-tree-dump-times "-a / 10" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "a / -10" 1 "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log