https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Bug ID: 78394 Summary: False positives of maybe-uninitialized with -Og Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linux at carewolf dot com Target Milestone: --- Created attachment 40064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40064&action=edit maybe_uninitialized.cpp Compiling with -Og produces a number of unique false positives for the maybe-unintialized warnings. The warnings are only emited for -Og and not for -O0, -O1, -O2 or -O3.