Re: [PATCH v3] test/argparse: change initialization to workaround LTO

2025-07-06 Thread fengchengwen
Acked-by: Chengwen Feng On 2025/7/1 23:41, Stephen Hemminger wrote: > When compiled with Link Time Optimization, the existing code > generated an error, because the compiler was unable to intuit > that there was space in the flexible array. > > In function ‘test_argparse_copy’, > inlined fro

Re: [PATCH v3] test/argparse: change initialization to workaround LTO

2025-07-01 Thread Bruce Richardson
On Tue, Jul 01, 2025 at 08:41:46AM -0700, Stephen Hemminger wrote: > When compiled with Link Time Optimization, the existing code > generated an error, because the compiler was unable to intuit > that there was space in the flexible array. > > In function ‘test_argparse_copy’, > inlined from ‘