https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82958
Bug ID: 82958 Summary: uninitialized used warning missed when variable is both in function argument and return value within a loop Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danielgutson at gmail dot com Target Milestone: --- Created attachment 42591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42591&action=edit test case flags: -Wall -Wextra -Wpedantic Try with and without -DBUG.