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/68108] [6 regression] erroneous error message 'scalar integer expression expected'


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

--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 29 19:37:59 2015
New Revision: 229553

URL: https://gcc.gnu.org/viewcvs?rev=229553&root=gcc&view=rev
Log:
2015-10-29  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/67805
        PR fortran/68108
        * array.c (gfc_match_array_constructor): Check for error from type
        spec matching.
        * decl.c (char_len_param_value): Check for valid of charlen parameter.
        Check for REF_ARRAY.  Reap dead code dating to 2008.
        match.c (gfc_match_type_spec): Special case the keyword use in REAL.

2015-10-29  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/67805
        PR fortran/68108
        * gfortran.dg/pr67805.f90: New testcase.
        * gfortran.dg/pr67805_2.f90: New test.
        * gfortran.dg/array_constructor_26.f03: Update testcase.
        * gfortran.dg/array_constructor_27.f03: Ditto.
        * gfortran.dg/char_type_len_2.f90: Ditto.
        * gfortran.dg/pr67802.f90: Ditto.
        * gfortran.dg/used_before_typed_3.f90: Ditto.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67805.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67805_2.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/array.c
    branches/gcc-5-branch/gcc/fortran/decl.c
    branches/gcc-5-branch/gcc/fortran/match.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/char_type_len_2.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/large_real_kind_3.F90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67802.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/used_before_typed_3.f90


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