This is the mail archive of the gcc-patches@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] |
2010-11-27 Tobias Burnus <burnus@net-b.de> Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/46678 trans-decl.c (gfc_trans_auto_character_variable): Use gfc_init_block instead of gfc_start_block.
Index: trans-decl.c =================================================================== --- trans-decl.c (revision 167208) +++ trans-decl.c (working copy) @@ -2952,7 +2968,7 @@ gfc_trans_auto_character_variable (gfc_symbol * sy gcc_assert (sym->backend_decl); gcc_assert (sym->ts.u.cl && sym->ts.u.cl->length); - gfc_start_block (&init); + gfc_init_block (&init); /* Evaluate the string length expression. */ gfc_conv_string_length (sym->ts.u.cl, NULL, &init);
Attachment:
deferred_char_len_1.f90
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |