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/77612] [5/6 Regression] ICE on invalid character len in contained procedure


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

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 29 00:18:44 2016
New Revision: 240608

URL: https://gcc.gnu.org/viewcvs?rev=240608&root=gcc&view=rev
Log:
2016-09-28  Steven G. Kargl  <kargl@gcc.gnu.org>

        backport from trunk
        PR fortran/71730
        * gfortran.dg/pr71730.f90: New test.
        * gfortran.dg/bounds_check_strlen_2.f90: Fix invalid code.
        * gfortran.dg/array_constructor_27.f03: Update dg-error message.
        * gfortran.dg/array_constructor_26.f03: Ditto.

        PR fortran/77612
        * gfortran.dg/pr77612.f90: New test.

2016-09-28  Steven G. Kargl  <kargl@gcc.gnu.org>

        backport from trunk
        PR fortran/71730
        * decl.c (char_len_param_value): Check return value of
        gfc_reduce_init_expr().

        PR fortran/77612
        * decl.c (char_len_param_value): Check parent namespace for 
        seen_implicit_none.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr71730.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77612.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/decl.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/array_constructor_26.f03
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/array_constructor_27.f03
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/bounds_check_strlen_2.f90

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