diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-09-16 23:19:19 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-09-16 23:19:19 +0200 |
| commit | 517177692e00fd36d89f1aac389348c9598bc426 (patch) | |
| tree | 1b0825895125bac64012c7f1ee28a37712c7184b /target-nios2.c | |
| parent | 24bdaac6682c36f5f7878321e8f9eb02c0993572 (diff) | |
| download | sparse-dev-517177692e00fd36d89f1aac389348c9598bc426.tar.gz | |
teach sparse about -funsigned-bitfields
Currently, Sparse treats 'plain' bitfields as unsigned.
However, this is this is inconsistent with how non-bitfield integers
are handled and with how GCC & clang handle bitfields.
So, teach sparse about '-funsigned-bitfields' and by default treat
these bitfields are signed, like done by GCC & clang and like done
for non-bitfield integers.
Also, avoid plain bitfields in IR related testcases.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'target-nios2.c')
0 files changed, 0 insertions, 0 deletions
