frontend-passes.c (gfc_expr_walker): Also handle EXPR_SUBSTRING.

2010-09-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* frontend-passes.c (gfc_expr_walker):  Also
	handle EXPR_SUBSTRING.

From-SVN: r164404
This commit is contained in:
Thomas Koenig 2010-09-18 22:45:13 +00:00
parent 46f19baf76
commit 1151446c17
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2010-09-17 Thomas Koenig <tkoenig@gcc.gnu.org>
2010-09-19 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes.c (gfc_expr_walker): Also
handle EXPR_SUBSTRING.
2010-09-19 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes.c (gfc_expr_walker): Handle
constructors and references.

View File

@ -365,6 +365,7 @@ gfc_expr_walker (gfc_expr **e, walk_expr_fn_t exprfn, void *data)
/* Fall through to the variable case in order to walk the
the reference. */
case EXPR_SUBSTRING:
case EXPR_VARIABLE:
for (r = (*e)->ref; r; r = r->next)
{