Re: [PATCH] dwarf2out, v2: Fix up field_byte_offset [PR101378]

2021-11-11 Thread Richard Biener via Gcc-patches
On Thu, 11 Nov 2021, Jakub Jelinek wrote: > Hi! > > Bootstrapped/regtested now successfully on x86_64-linux and i686-linux, > verified the > struct S { int e; int a : 1, b : 7, c : 8, d : 16; } s; > struct T { int a : 1, b : 7; long long c : 8; int d : 16; } t; > > int > main () > { > s.c = 0x

[PATCH] dwarf2out, v2: Fix up field_byte_offset [PR101378]

2021-11-11 Thread Jakub Jelinek via Gcc-patches
Hi! Bootstrapped/regtested now successfully on x86_64-linux and i686-linux, verified the struct S { int e; int a : 1, b : 7, c : 8, d : 16; } s; struct T { int a : 1, b : 7; long long c : 8; int d : 16; } t; int main () { s.c = 0x55; s.d = 0x; t.c = 0x55; t.d = 0x; s.e++; } test