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

pault@gcc.gnu.org pault@gcc.gnu.org
Sat Feb 1 18:50:00 GMT 2014


Author: pault
Date: Sat Feb  1 18:50:41 2014
New Revision: 207389

URL: http://gcc.gnu.org/viewcvs?rev=207389&root=gcc&view=rev
Log:
2014-02-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/59906
	* trans-stmt.c (gfc_add_loop_ss_code): In the case of character
	SS_REFERENCE, use gfc_conv_string_parameter to ensure that a
	pointer to the string is stored.
	* trans-expr.c (gfc_conv_expr_reference): Likewise, use
	gfc_conv_string_parameter to ensure that a pointer to is passed
	to the elemental function.

2014-02-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/59906
	* gfortran.dg/elemental_subroutine_9.f90 : New test

Added:
    trunk/gcc/testsuite/gfortran.dg/elemental_subroutine_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list