On Mon, Jun 16, 2025 at 08:34:23PM +0200, Martin Uecker wrote: > Am Montag, dem 16.06.2025 um 12:56 -0500 schrieb Segher Boessenkool: > > So, now the warning no longer does what the name says, or what its > > documentation says. Please update the documentation at least! > > It still does what the documentation says:
No, it doesn't. The manual currently says '-Wjump-misses-init (C, Objective-C only)' Warn if a 'goto' statement or a 'switch' statement jumps forward across the initialization of a variable, or jumps backward to a label after the variable has been initialized. This only warns about variables that are initialized when they are declared. After this patch that is no longer what the warning does. Maybe there should instead be a new warning -Wjump-maybe-misses-init ? Segher