re PR fortran/56674 (ICE in check_sym_interfaces)
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 10 Apr 2015 11:29:53 +0000 (11:29 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 10 Apr 2015 11:29:53 +0000 (11:29 +0000)
commit44c57c2f9049c9fa53817b71110cf0cee00675b6
treeb5b49b95711b85f24d871a5d6f80a3a141d8a305
parentc3d71b62c66f81b95213b88897cdd75f840e2fae
re PR fortran/56674 (ICE in check_sym_interfaces)

PR fortran/56674
PR fortran/58813
PR fortran/59016
PR fortran/59024
fortran/
* symbol.c (save_symbol_data, gfc_save_symbol_data): Rename the
former to the latter and make it non-static.  Update callers.
* gfortran.h (gfc_save_symbol_data): New prototype.
* decl.c (gfc_match_decl_type_spec): Call 'gfc_save_symbol_data'
before modifying symbols 'sym' and 'dt_sym'.
testsuite/
* gfortran.dg/used_types_27.f90: New.

From-SVN: r221972
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/used_types_27.f90 [new file with mode: 0644]