gcc/testsuite/gcc.target/aarch64/dwarf-bit-stride-pragma-sme.c
raw| 1 | /* { dg-do compile } */ |
| 2 | // { dg-options "-g -dA" } |
| 3 | // { dg-final { scan-assembler-times "DW_AT_name: \"__SVBool_t\"" 2 } } |
| 4 | // { dg-final { scan-assembler-times "DW_AT_name: \"__SVCount_t\"" 1 } } |
| 5 | // { dg-final { scan-assembler-times ".byte 0x1 // DW_AT_bit_stride" 2 } } |
| 6 | // { dg-final { scan-assembler-times ".byte 0x1 // DW_AT_bit_size" 1 } } |
| 7 | |
| 8 | #pragma GCC target "+sve2p1+sme2" |
| 9 | |
| 10 | void fun () |
| 11 | { |
| 12 | volatile __SVBool_t pred; |
| 13 | volatile __SVCount_t count; |
| 14 | } |