https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80379
Bug ID: 80379 Summary: Redundant note: code may be misoptimized unless -fno-strict-aliasing is used Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: andi-gcc at firstfloor dot org Target Milestone: --- I get an extra note: code may be misoptimized unless -fno-strict-aliasing is used note for type mismatches in LTO builds. But -fno-strict-aliasing is already set. In this case the extra note is pointless and should be suppressed.