Summary: | trans-expr.c:1424: missing init for local variable "found" | ||
---|---|---|---|
Product: | gcc | Reporter: | David Binderman <dcb314> |
Component: | fortran | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 5.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2014-10-31 00:00:00 |
Description
David Binderman
2014-10-31 16:25:05 UTC
found is expected to be always set to true at line 1438, that's what the gcc_assert is for. But I agree that it should be initialised to false. Author: ktkachov Date: Tue Nov 11 11:52:36 2014 New Revision: 217345 URL: https://gcc.gnu.org/viewcvs?rev=217345&root=gcc&view=rev Log: [Fortran] PR 63701 Make sure variable is always used initialised PR fortran/63701 * trans-expr.c (gfc_get_tree_for_caf_expr): Initialise found to false. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c Fixed on trunk. |