On Tue, 20 Oct 2026 at 16:56, Stephen Hemminger <[email protected]> wrote: > > Without optimization GCC produces warnings for unreachable code paths. > They check memcpy() against the object size even on paths that are dead > for the inlined arguments. This breaks debug builds of app/test > with -Werror on lib/stack/rte_stack_pile.h, > and has required local pragma workarounds elsewhere. > > Disable both warnings when optimization is 0. They stay enabled for > optimized builds, where the analysis is flow-sensitive. > > Bugzilla ID: 2061 > > Reported-by: Ali Alnubani <[email protected]> > Signed-off-by: Stephen Hemminger <[email protected]> > Acked-by: Morten Brørup <[email protected]>
Series applied, thanks. -- David Marchand

