http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59906

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
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  <pa...@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  <pa...@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

Reply via email to