Message ID | 50eecddc-0c6b-7433-c282-991a0b32ee9b@netcologne.de |
---|---|
State | New |
Headers | show |
Index: frontend-passes.c =================================================================== --- frontend-passes.c (Revision 238497) +++ frontend-passes.c (Arbeitskopie) @@ -1255,6 +1255,11 @@ combine_array_constructor (gfc_expr *e) if (forall_level > 0) return false; + /* Inside an iterator, things can get hairy; we are likely to create + an invalid temporary variable. */ + if (iterator_level > 0) + return false; + op1 = e->value.op.op1; op2 = e->value.op.op2;