URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr15784-4.c] - Rev 298
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_..D.;" "optimized" } } */ /* { dg-final { scan-tree-dump "-x_..D.;" "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */