Commit 835e529d by Fritz Reese Committed by Fritz Reese

re PR fortran/86417 (FAIL: libgomp.fortran/alloc-comp-3.f90 -O0 (test for excess errors))

2018-07-16  Fritz Reese  <fritzoreese@gmail.com>

    gcc/fortran/ChangeLog:

	PR fortran/86417
	* module.c (mio_component): Set component->loc when loading from module.

From-SVN: r262743
parent 5828c09a
2018-07-16 Fritz Reese <fritzoreese@gmail.com>
PR fortran/86417
* module.c (mio_component): Set component->loc when loading from module.
2018-07-10 Jakub Jelinek <jakub@redhat.com> 2018-07-10 Jakub Jelinek <jakub@redhat.com>
PR fortran/86421 PR fortran/86421
......
...@@ -2848,6 +2848,8 @@ mio_component (gfc_component *c, int vtype) ...@@ -2848,6 +2848,8 @@ mio_component (gfc_component *c, int vtype)
if (c->attr.proc_pointer) if (c->attr.proc_pointer)
mio_typebound_proc (&c->tb); mio_typebound_proc (&c->tb);
c->loc = gfc_current_locus;
mio_rparen (); mio_rparen ();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment