https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118004
Bug ID: 118004 Summary: missing -Wuninitialized for printf Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic, false-negative Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Blocks: 24639 Target Milestone: --- Take: ``` void f2() { char not_secret[7]; __builtin_printf("f2 %s\n", not_secret); } ``` There is missing Wuninitialized variable warning for not_secret here. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues