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

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 11 17:58:00 GMT 2014


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.



More information about the Gcc-bugs mailing list