diff options
| author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-18 20:19:50 +0000 |
|---|---|---|
| committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-18 20:19:50 +0000 |
| commit | ec359298598f7beb3716649f036630dd27314681 (patch) | |
| tree | 212f8468ca7132f84be43fe535001b524f1c6632 /gcc/fortran/trans-stmt.c | |
| parent | f5ba0cf6571d7aeaef1325e10d05b0ddce6afcad (diff) | |
| download | ppe42-gcc-ec359298598f7beb3716649f036630dd27314681.tar.gz ppe42-gcc-ec359298598f7beb3716649f036630dd27314681.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117034 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
| -rw-r--r-- | gcc/fortran/trans-stmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c index 97cb747ee54..841b4578203 100644 --- a/gcc/fortran/trans-stmt.c +++ b/gcc/fortran/trans-stmt.c @@ -1475,6 +1475,8 @@ gfc_trans_character_select (gfc_code *code) if (n != 0) gfc_free (labels); + gfc_add_block_to_block (&block, &se.post); + return gfc_finish_block (&block); } |

