URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr15784-4.c] - Rev 856
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ int a (int x) { return ~x + 1; /* -x */ } int b (int x) { return -x -1; /* ~x */ } /* { dg-final { scan-tree-dump "~x;" "optimized" } } */ /* { dg-final { scan-tree-dump "-x;" "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log