Skip to content
Snippets Groups Projects
Commit c51ecf28 authored by Thomas Koenig's avatar Thomas Koenig
Browse files

re PR fortran/90539 (481.wrf slowdown by 25% on Intel Kaby with -Ofast...

re PR fortran/90539 (481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native starting with r271377)

2019-05-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/90539
	* trans-types.c (get_formal_from_actual_arglist): Set rank
	and lower bound for assumed size arguments.

From-SVN: r271630
parent 6145df62
No related branches found
No related tags found
No related merge requests found
2019-05-26 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/90539
* trans-types.c (get_formal_from_actual_arglist): Set rank
and lower bound for assumed size arguments.
2019-05-22 Andrew Stubbs <ams@codesourcery.com>
* trans-stmt.c (gfc_trans_critical): Use size_type_node for
......
......@@ -3010,6 +3010,10 @@ get_formal_from_actual_arglist (gfc_symbol *sym, gfc_actual_arglist *actual_args
{
s->attr.dimension = 1;
s->as = gfc_get_array_spec ();
s->as->rank = 1;
s->as->lower[0] = gfc_get_int_expr (gfc_index_integer_kind,
&a->expr->where, 1);
s->as->upper[0] = NULL;
s->as->type = AS_ASSUMED_SIZE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment