https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120078
Bug ID: 120078 Summary: -Wjump-misses-init should be enabled by -Wc++-compat Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Since -Wjump-misses-init is useful to see if your C code is compatible with C++, -Wc++-compat should enabled it also. Note clang does not enable their option (-Wjump-bypasses-init) by -Wc++-compat yet either: https://github.com/llvm/llvm-project/pull/138009#issuecomment-2842923806