URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [fold-plusmult.c] - Rev 298
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fdump-tree-original" } */ int test1 (int a) { return 2*a + 2*a; } int test2 (int a) { return (a + a)*2; } /* { dg-final { scan-tree-dump-times "<a> \\\* 4" 2 "original" } } */ /* { dg-final { cleanup-tree-dump "original" } } */
Go to most recent revision | Compare with Previous | Blame | View Log