diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2016-11-07 19:33:27 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2016-11-07 19:33:27 +0000 |
commit | 39b4b34de01ef3cc035d0f42b31c171be2af3c7a (patch) | |
tree | 0f41f6dc1da3c15e7735fc3fd4a56653bb15b923 /gcc/fortran/resolve.c | |
parent | 98a989094b11c0e5395b127d84fe0eb65191feda (diff) | |
download | gcc-39b4b34de01ef3cc035d0f42b31c171be2af3c7a.zip gcc-39b4b34de01ef3cc035d0f42b31c171be2af3c7a.tar.gz gcc-39b4b34de01ef3cc035d0f42b31c171be2af3c7a.tar.bz2 |
re PR fortran/78226 (Fill out location information everywhere)
2016-11-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/78226
* expr.c (gfc_generate_initializer): Add where to EXPR_NULL
statement.
* iresolve.c (gfc_resolve_extends_type_of): Add where to
both arguments of the function.
* resolve.c (resolve_select_type): Add where to the
second argument of the new statement.
From-SVN: r241927
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r-- | gcc/fortran/resolve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index f4b1283..3a4dd1f 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -8863,6 +8863,7 @@ resolve_select_type (gfc_code *code, gfc_namespace *old_ns) st = gfc_find_symtree (vtab->ns->sym_root, vtab->name); new_st->expr1->value.function.actual->next = gfc_get_actual_arglist (); new_st->expr1->value.function.actual->next->expr = gfc_get_variable_expr (st); + new_st->expr1->value.function.actual->next->expr->where = code->loc; new_st->next = body->next; } if (default_case->next) |