The evaluation order for the | operator is undefined
(in contrast to the short-circuiting || operator). The arguments are
stored in variables to force a specific evaluation order.
A test in D107575 relies on this change.
Differential D108623
[flang] Fix non-deterministic line output function ijan1 on Aug 24 2021, 4:53 AM. Authored by
Details The evaluation order for the | operator is undefined A test in D107575 relies on this change.
Diff Detail
Event TimelineComment Actions LGTM. Please wait for approval from @klausler or @Meinersbur.
Comment Actions Updating to use braced initialisation, removed parentheses in the return statement and converted the captures into lambda parameters.
Comment Actions Commenting so that my inline comment shows.
|
Nit: You probably do not need "&" in the capture list since you have explicitly captured the variables (opName, specific, proc) required.