This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]