Skip to content

Commit 247e91b

Browse files
committed
Update flang/include/flang/ISO_Fortran_binding.h
1 parent 4b10a9c commit 247e91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/include/flang/ISO_Fortran_binding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ typedef struct CFI_cdesc_t {
168168
return extra & _CFI_ADDENDUM_FLAG;
169169
}
170170
RT_API_ATTRS inline void SetHasAddendum() {
171-
extra = extra | _CFI_ADDENDUM_FLAG;
171+
extra |= _CFI_ADDENDUM_FLAG;
172172
}
173173
RT_API_ATTRS inline int GetAllocIdx() const {
174174
return ((int)extra >> _CFI_ADDENDUM_BITS);

0 commit comments

Comments
 (0)