diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-07-20 10:08:28 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-07-20 10:08:28 +0200 |
commit | 83b171655dc0785262a444f5d5c2be7195977987 (patch) | |
tree | 9147f91e49fe9dd15c6885d5d4ec1948f448f88b /gcc/expr.c | |
parent | 0251a7eef9638f4c1e6a96af60d9607c37821b14 (diff) | |
download | gcc-83b171655dc0785262a444f5d5c2be7195977987.zip gcc-83b171655dc0785262a444f5d5c2be7195977987.tar.gz gcc-83b171655dc0785262a444f5d5c2be7195977987.tar.bz2 |
fold-const: Handle bitfields in native_encode_initializer [PR93121]
When working on __builtin_bit_cast that needs to handle bitfields too,
I've made the following change to handle at least some bitfields in
native_encode_initializer (those that have integral representative).
2020-07-20 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/93121
* fold-const.c (native_encode_initializer): Handle bit-fields.
* gcc.dg/tree-ssa/pr93121-1.c: New test.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions