Re: [PATCH v3] c: Extend the -Wpadded message with actual padding size

2022-07-09 Thread Jeff Law via Gcc-patches
On 6/27/2022 2:04 AM, Vit Kabele wrote: gcc/ChangeLog: * stor-layout.cc (finalize_record_size): Extend warning message. gcc/testsuite/ChangeLog: * c-c++-common/Wpadded.c: New test. Thanks.  I've pushed this to the trunk. jeff

[PATCH v3] c: Extend the -Wpadded message with actual padding size

2022-06-27 Thread Vit Kabele
Hello, after further discussion I changed the ! default_packed to attribute aligned, so that the test passes also on targets where 4 bytes types are aligned on 2 byte boundaries. Best regards, Vit Kabele -- >8 -- Subject: [PATCH v3] c: Extend the -Wpadded message with actual padding size W