gcc/testsuite/gcc.dg/pr95582.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fgimple -O3" } */ |
| 3 | |
| 4 | typedef _Bool bool8 __attribute__((signed_bool_precision(8))); |
| 5 | |
| 6 | bool8 data[16]; |
| 7 | |
| 8 | void __GIMPLE(ssa) foo(int f) |
| 9 | { |
| 10 | _Bool t; |
| 11 | bool8 tp; |
| 12 | |
| 13 | __BB(2): |
| 14 | t_2 = f_1(D) != 0; |
| 15 | tp_3 = (bool8) t_2; |
| 16 | data[0] = tp_3; |
| 17 | data[1] = tp_3; |
| 18 | return; |
| 19 | } |