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/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat May 12 15:33:24 2018
New Revision: 260195

URL: https://gcc.gnu.org/viewcvs?rev=260195&root=gcc&view=rev
Log:
2018-05-12  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68846
        PR fortran/70864
        Backport from trunk
        * resolve.c (get_temp_from_expr): The temporary must not have
        dummy or intent attributes.

2018-05-12  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68846
        Backport from trunk
        * gfortran.dg/temporary_3.f90 : New test.

        PR fortran/70864
        Backport from trunk
        * gfortran.dg/temporary_2.f90 : New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/temporary_2.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/temporary_3.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

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