Skip to content

Commit

Permalink
Tentative fix for 4935
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 26, 2024
1 parent 7fb136f commit 1aa4dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cobc/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -8195,10 +8195,10 @@ output_perform_until (struct cb_perform *p, cb_tree l)
output_newline ();
output_line (" break;");
if (CB_EXCEPTION_ENABLE (COB_EC_BOUND_SUBSCRIPT)
&& next) {
/*&& next*/) {
cb_tree xn;
/* Check all INDEXED BY variables used in VARYING */
for (xn = l; xn; xn = CB_CHAIN (xn)) {
for (xn = l; xn; xn = NULL /*CB_CHAIN (xn)*/) {
struct cb_field *q;
f = CB_FIELD_PTR (CB_PERFORM_VARYING(CB_VALUE (xn))->name);
if (!f->flag_indexed_by) continue;
Expand Down

0 comments on commit 1aa4dcb

Please sign in to comment.