https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82101

            Bug ID: 82101
           Summary: Uninitialized variable detection failed with variables
                    in for loop
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shane at paga dot moe
  Target Milestone: ---

Created attachment 42118
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42118&action=edit
sample code

An uninitialized variable in a for loop cannot be detected by g++ 7.1.1
Here's the code

Reply via email to