r260211 - in /trunk/gcc: fortran/ChangeLog fort...

pault@gcc.gnu.org pault@gcc.gnu.org
Sun May 13 17:01:00 GMT 2018


Author: pault
Date: Sun May 13 17:01:16 2018
New Revision: 260211

URL: https://gcc.gnu.org/viewcvs?rev=260211&root=gcc&view=rev
Log:
2018-05-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/85742
	* trans-types.c (gfc_get_dtype_rank_type): Reorder evaluation
	of 'size'. If the element type is a pointer use the size of the
	TREE_TYPE of the type, unless it is VOID_TYPE. In this latter
	case, set the size to zero.

2018-05-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/85742
	* gfortran.dg/assumed_type_9.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/assumed_type_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list