URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [fold-eqxor-4.c] - Rev 298
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-original" } */ int test1(int a) { return (a ^ 6) == 2; } int test2(int b, int c, int d) { return (b ^ d) == (c ^ d); } int test3(int e, int f) { return (e ^ 6) == (f ^ 4); } /* { dg-final { scan-tree-dump-times "a == 4" 1 "original" } } */ /* { dg-final { scan-tree-dump-times "b == c" 1 "original" } } */ /* { dg-final { scan-tree-dump-times "e \\^ 2" 1 "original" } } */ /* { dg-final { cleanup-tree-dump "original" } } */
Go to most recent revision | Compare with Previous | Blame | View Log