On 4/5/23 20:50, Harald Anlauf via Gcc-patches wrote:
can you have a look again at the logic in the hunk touching
trans-stmt.cc (gfc_trans_allocate)?  I haven't checked in detail,
but it seems possible that you get a stale tmp in the
gfc_prepend_expr_to_block if (code->ext.alloc.expr3_not_explicit == 0).

Oops, I meant if (code->ext.alloc.expr3_not_explicit != 0)

Wouldn't it make more sense to move this condition before the braces
as part of the overall condition?

OK for mainline?

Otherwise this LGTM.

Thanks for the patch!

Harald


Reply via email to