re PR fortran/28526 ('end' is recognized as a variable incorrectly)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Sep 2006 20:19:50 +0000 (20:19 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Sep 2006 20:19:50 +0000 (20:19 +0000)
commitfd2aa7ad9f4fe9fdbe36bbdb3a249e55cb4080ca
tree212f8468ca7132f84be43fe535001b524f1c6632
parenteb496303d7c7e6f2acb8ab90c22453947988f06b
re PR fortran/28526 ('end' is recognized as a variable incorrectly)

2006-09-18 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28526
* primary.c (match_variable): If the compiler is in a module
specification block, an interface block or a contains section,
reset host_flag to force the changed symbols mechanism.

PR fortran/29101
* trans-stmt.c (gfc_trans_character_select): Add the post block
for the expression to the main block, after the call to
select_string and the last label.

2006-09-18 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28526
* gfortran.dg/keyword_symbol_1.f90: New test.

* gfortran.dg/spread_shape_1.f90: Add missing warning with
pedantic compilation option.

From-SVN: r117034
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/keyword_symbol_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/spread_shape_1.f90