gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-35.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fdump-tree-ccp1" } */ |
| 3 | |
| 4 | typedef char char16[16] __attribute__ ((aligned (16))); |
| 5 | char16 c16[4] __attribute__ ((aligned (4))); |
| 6 | |
| 7 | int f5 (int i) |
| 8 | { |
| 9 | __SIZE_TYPE__ s = (__SIZE_TYPE__)&c16[i]; |
| 10 | /* 0 */ |
| 11 | return 3 & s; |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-tree-dump "return 0;" "ccp1" } } */ |