[Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 4 15:07:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Mon Nov 4 15:07:19 2019
New Revision: 277783
URL: https://gcc.gnu.org/viewcvs?rev=277783&root=gcc&view=rev
Log:
Fortran] PR 92208 don't use function-result dummy variable as actual argument
gcc/fortran/
Backported from mainline
2019-10-30 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92208
* trans-array.c (gfc_conv_array_parameter): Only copy
string-length backend_decl if expression is not a function.
gcc/testsuite/
Backported from mainline
2019-10-30 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92208
* gfortran.dg/pr92208.f90: New.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr92208.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/trans-array.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list