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] |
I propose this:
if (!gfc_array_allocate (&se, expr, stat, errmsg, errlen)) { ... allocate scalar ... } if (code->expr1) { /* The coarray library already sets the errmsg. */ if (gfc_option.coarray == GFC_FCOARRAY_LIB && gfc_expr_attr (expr).codimension) tmp = build1_v (GOTO_EXPR, label_finish); else tmp = build1_v (GOTO_EXPR, label_errmsg); ... }
I think I even remember noticing that the code deallocated the previous array and was wondering why it did that.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |