Commit d7fee03d by Mikael Morin

decl.c (match_ppc_decl): Copy the procedure interface's symbol as procedure interface's result.

fortran/
	* decl.c (match_ppc_decl): Copy the procedure interface's symbol
	as procedure interface's result.

From-SVN: r190393
parent 2d4a4400
2012-08-14 Mikael Morin <mikael@gcc.gnu.org> 2012-08-14 Mikael Morin <mikael@gcc.gnu.org>
* decl.c (match_ppc_decl): Copy the procedure interface's symbol
as procedure interface's result.
2012-08-14 Mikael Morin <mikael@gcc.gnu.org>
* trans-expr.c (gfc_trans_scalar_assign): Rename argument, * trans-expr.c (gfc_trans_scalar_assign): Rename argument,
extend comment. extend comment.
......
...@@ -5050,6 +5050,7 @@ match_ppc_decl (void) ...@@ -5050,6 +5050,7 @@ match_ppc_decl (void)
{ {
c->ts = ts; c->ts = ts;
c->ts.interface = gfc_new_symbol ("", gfc_current_ns); c->ts.interface = gfc_new_symbol ("", gfc_current_ns);
c->ts.interface->result = c->ts.interface;
c->ts.interface->ts = ts; c->ts.interface->ts = ts;
c->ts.interface->attr.flavor = FL_PROCEDURE; c->ts.interface->attr.flavor = FL_PROCEDURE;
c->ts.interface->attr.function = 1; c->ts.interface->attr.function = 1;
......
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