This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Dec 2016 19:41:45 +0000
- Subject: [Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character
- Auto-submitted: auto-generated
- References: <bug-78757-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 16 19:41:13 2016
New Revision: 243761
URL: https://gcc.gnu.org/viewcvs?rev=243761&root=gcc&view=rev
Log:
PR fortran/78757
* trans-expr.c (gfc_conv_procedure_call): Emit DECL_EXPR for the
type pstr var points to.
* gfortran.dg/char_result_16.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/char_result_16.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog