From: Fritz Reese Date: Mon, 16 Jul 2018 18:16:00 +0000 (+0000) Subject: re PR fortran/86417 (FAIL: libgomp.fortran/alloc-comp-3.f90 -O0 (test for excess... X-Git-Tag: upstream/12.2.0~30354 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=835e529de2dc75d9c051a178863ae68d8bf1d684;p=platform%2Fupstream%2Fgcc.git re PR fortran/86417 (FAIL: libgomp.fortran/alloc-comp-3.f90 -O0 (test for excess errors)) 2018-07-16 Fritz Reese gcc/fortran/ChangeLog: PR fortran/86417 * module.c (mio_component): Set component->loc when loading from module. From-SVN: r262743 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e7bd20f..23781ae 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2018-07-16 Fritz Reese + + PR fortran/86417 + * module.c (mio_component): Set component->loc when loading from module. + 2018-07-10 Jakub Jelinek PR fortran/86421 diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index a313c3b..196da9c 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -2848,6 +2848,8 @@ mio_component (gfc_component *c, int vtype) if (c->attr.proc_pointer) mio_typebound_proc (&c->tb); + c->loc = gfc_current_locus; + mio_rparen (); }