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.target/] [i386/] [pr37248-1.c] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR middle-end/37248 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ struct S { unsigned char a : 1; unsigned char b : 1; unsigned char c : 1; } s; int foo (struct S x) { return x.a && x.b && x.c; } /* { dg-final { scan-tree-dump "& 7;" "optimized" } } */ /* { dg-final { scan-tree-dump "== 7;" "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log