https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79292
Bug ID: 79292 Summary: address of string constant Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- We warn about address of non-weak decl being non-null ('if (&foo) ...'), but we don't warn about string constants: bool x = "baz";