aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/match.c')
-rw-r--r--gcc/fortran/match.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c
index ab01ad6..448d927 100644
--- a/gcc/fortran/match.c
+++ b/gcc/fortran/match.c
@@ -3578,6 +3578,7 @@ gfc_match_forall (gfc_statement * st)
c = gfc_get_code ();
*c = new_st;
+ c->loc = gfc_current_locus;
if (gfc_match_eos () != MATCH_YES)
goto syntax;