Skip to content

Commit 753f703

Browse files
committed
Fix incorrect arguments in a call to set_parref_flag().
In the restore_clauses() function of file semsmp.c, the first two arguments of set_parref_flag() must be symbol table pointers, not ASTs.
1 parent ec7258c commit 753f703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/flang1/flang1exe/semsmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8329,7 +8329,7 @@ restore_clauses(void)
83298329
if (chunk) {
83308330
sptr = sav_chk.chunk;
83318331
chunk = mk_id(sptr);
8332-
set_parref_flag(chunk, chunk, BLK_UPLEVEL_SPTR(sem.scope_level));
8332+
set_parref_flag(sptr, sptr, BLK_UPLEVEL_SPTR(sem.scope_level));
83338333
}
83348334
}
83358335
break;

0 commit comments

Comments
 (0)