Re: [PATCH] fold-const: Handle bitfields in native_encode_initializer [PR93121]

2020-07-20 Thread Richard Biener
On Sat, 18 Jul 2020, Jakub Jelinek wrote: > Hi! > > 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). > > Bootstrapped/regtested on {x

[PATCH] fold-const: Handle bitfields in native_encode_initializer [PR93121]

2020-07-18 Thread Jakub Jelinek via Gcc-patches
Hi! 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). Bootstrapped/regtested on {x86_64,i686,powerpc64{,le}}-linux, ok for trunk? 2020-07-