Re: [PATCH] testsuite: Handle default_packed for gcc.dg/builtin-object-size-20.c

2022-06-24 Thread Richard Biener via Gcc-patches
On Thu, Jun 23, 2022 at 11:24 PM Dimitar Dimitrov wrote: > > The gcc.dg/builtin-object-size-20.c test case assumes that the target > inserts padding between structure members. Obviously it fails for > targets which pack structures by default. > > Split the cases into two tests, so that the ones

[PATCH] testsuite: Handle default_packed for gcc.dg/builtin-object-size-20.c

2022-06-23 Thread Dimitar Dimitrov
The gcc.dg/builtin-object-size-20.c test case assumes that the target inserts padding between structure members. Obviously it fails for targets which pack structures by default. Split the cases into two tests, so that the ones requiring structure padding can be skipped for default_packed