Re: [PATCH v2] Print padding size when aligning struct member

2023-03-28 Thread Vit Kabele
Hello, On Sat, Mar 11, 2023 at 08:35:53AM -0700, Jeff Law wrote: > On 2/24/23 00:28, Vít Kabele wrote: > You might consider changing the other similar message you added last year to > finalize_record_size to use the same format as this message for the sake of > consistency. For example like this?

Re: [PATCH v2] Print padding size when aligning struct member

2023-03-11 Thread Jeff Law via Gcc-patches
On 2/24/23 00:28, Vít Kabele wrote: Hello, I changed the tested pattern to match even on targets with different alignment. So this needs to wait for stage1 development to open -- we're in regression bugfixing phase only right now. I would expect that to happen in April/May. You might con

[PATCH v2] Print padding size when aligning struct member

2023-02-23 Thread Vít Kabele
Hello, I changed the tested pattern to match even on targets with different alignment. BR, VK -- >8 -- Announce the size of introduced padding when compiling with -Wpadded. gcc/ChangeLog: * stor-layout.cc (place_field): Change warning message format gcc/testsuite/ChangeLog: