[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. From-SVN: r217345
This commit is contained in:
parent
a5281f1796
commit
36a8422688
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-11-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
PR fortran/63701
|
||||
* trans-expr.c (gfc_get_tree_for_caf_expr): Initialise found to false.
|
||||
|
||||
2014-11-10 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
|
||||
PR libfortran/47007
|
||||
|
|
|
@ -1406,7 +1406,7 @@ tree
|
|||
gfc_get_tree_for_caf_expr (gfc_expr *expr)
|
||||
{
|
||||
tree caf_decl;
|
||||
bool found;
|
||||
bool found = false;
|
||||
gfc_ref *ref;
|
||||
|
||||
gcc_assert (expr && expr->expr_type == EXPR_VARIABLE);
|
||||
|
|
Loading…
Add table
Reference in a new issue