NCOPIES= is currently a std::size_t in the API. If a negative value is
used, the memory allocation will fail. Change it to be a signed integer,
and crash with a message instead if it be negative.
Details
Details
Diff Detail
Diff Detail
Differential D127795
[flang][runtime] Make NCOPIES= argument of REPEAT a signed integer, & check it klausler on Jun 14 2022, 2:04 PM. Authored by
Details NCOPIES= is currently a std::size_t in the API. If a negative value is
Diff Detail |