[Bug fortran/59906] [4.7/4.8 Regression] error: size of variable '<anonymous>' is too large
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 7 21:16:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59906
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Feb 7 21:15:37 2014
New Revision: 207613
URL: http://gcc.gnu.org/viewcvs?rev=207613&root=gcc&view=rev
Log:
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
Added:
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/elemental_subroutine_9.f90
Modified:
branches/gcc-4_8-branch/gcc/fortran/ChangeLog
branches/gcc-4_8-branch/gcc/fortran/trans-array.c
branches/gcc-4_8-branch/gcc/fortran/trans-expr.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list