Re: [PATCH] testsuite: Adjust btf-bitfields-1.c for default_packed

2022-06-26 Thread Jeff Law via Gcc-patches
On 6/23/2022 3:21 PM, Dimitar Dimitrov wrote: If target packs structures by default, the bitfield offset which the tests validates must be adjusted to not include padding. Ok for trunk? gcc/testsuite/ChangeLog: * gcc.dg/debug/btf/btf-bitfields-1.c: Adjust the checked offsets

[PATCH] testsuite: Adjust btf-bitfields-1.c for default_packed

2022-06-23 Thread Dimitar Dimitrov
If target packs structures by default, the bitfield offset which the tests validates must be adjusted to not include padding. Ok for trunk? gcc/testsuite/ChangeLog: * gcc.dg/debug/btf/btf-bitfields-1.c: Adjust the checked offsets for targets which pack structures by default.