This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/63822] New: tree-chkp.c: missing init for local variable found_valid ?


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

            Bug ID: 63822
           Summary: tree-chkp.c: missing init for local variable
                    found_valid ?
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

$ fgrep found_valid gcc/tree-chkp.c
  bool found_valid;
  while (found_valid)
      found_valid = false;
    traverse<bool *, chkp_find_valid_phi_bounds> (&found_valid);
      if (found_valid)
$ 

Suggest init local variable found_valid at its decl.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]