]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/59906 (error: size of variable '<anonymous>' is too large)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 7 Feb 2014 21:15:37 +0000 (21:15 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 7 Feb 2014 21:15:37 +0000 (21:15 +0000)
commitcd2e94feb60be7e231fbfc4d0b4b0d12119483c9
tree874d30fa7e8f7cc41db23dde1030bd208b481650
parentb419f265686ff23446f24b9786297185231c3f0a
re PR fortran/59906 (error: size of variable '<anonymous>' is too large)

2014-02-07  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-07  Paul Thomas  <pault@gcc.gnu.org>

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

From-SVN: r207613
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_subroutine_9.f90 [new file with mode: 0644]