re PR fortran/65173 (ICE while compiling wrong code)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Dec 2016 21:26:11 +0000 (21:26 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Dec 2016 21:26:11 +0000 (21:26 +0000)
commitd0803c0cf815ee85711cd36f5d429f784ec6ac26
tree0dcf60be34df4e190072841358f65e1621e21e6c
parent7e964f49026322eb357412e38ba98e14325ca80c
re PR fortran/65173 (ICE while compiling wrong code)

2016-12-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/65173
PR fortran/69064
PR fortran/69859
PR fortran/78350
* gfortran.h (gfc_namespace): Remove old_cl_list member.
* parse.c (use_modules, next_statement): old_cl_list is gone.
(clear_default_charlen): Remove no longer used function.
(reject_statement): Do not try ot clean up gfc_charlen structure(s)
that may have been added to a cl_list list.
* symbol.c (gfc_new_charlen): old_cl_list structure is gone.

2016-12-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/65173
PR fortran/69064
PR fortran/69859
PR fortran/78350
* gfortran.dg/misplaced_implicit_character.f90: Adjust errors.
* gfortran.dg/charlen_01.f90: New test.
* gfortran.dg/charlen_02.f90: Ditto.
* gfortran.dg/charlen_03.f90: Ditto.
* gfortran.dg/charlen_04.f90: Ditto.
* gfortran.dg/charlen_05.f90: Ditto.
* gfortran.dg/charlen_06.f90: Ditto.
* gfortran.dg/charlen_07.f90: Ditto.
* gfortran.dg/charlen_08.f90: Ditto.
* gfortran.dg/charlen_09.f90: Ditto.
* gfortran.dg/charlen_10.f90: Ditto.
* gfortran.dg/charlen_11.f90: Ditto.
* gfortran.dg/charlen_12.f90: Ditto.
* gfortran.dg/charlen_13.f90: Ditto.
* gfortran.dg/charlen_14.f90: Ditto.
* gfortran.dg/charlen_15.f90: Ditto.
* gfortran.dg/charlen_16.f90: Ditto.

From-SVN: r243463
22 files changed:
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/parse.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/charlen_01.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_02.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_03.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_04.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_05.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_06.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_07.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_08.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_09.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_11.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_12.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_13.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_14.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_15.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/charlen_16.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/misplaced_implicit_character.f90