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

--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Feb  7 23:29:44 2014
New Revision: 207617

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

    PR fortran/59906
    * trans-array.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-08  Paul Thomas  <pa...@gcc.gnu.org>

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

Added:
   
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/elemental_subroutine_9.f90
Modified:
    branches/gcc-4_7-branch/gcc/fortran/ChangeLog
    branches/gcc-4_7-branch/gcc/fortran/trans-array.c
    branches/gcc-4_7-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog

Reply via email to