This is an archive of the discontinued LLVM Phabricator instance.

[flang] Added missing type cast for the implied-do index.
ClosedPublic

Authored by vzakhari on May 8 2023, 3:42 PM.

Details

Summary

The implied-do index value has 'index' type, and it has to be
converted to the original ac-do-variable's data type.

Depends on D150149

Diff Detail

Event Timeline

vzakhari created this revision.May 8 2023, 3:42 PM
vzakhari requested review of this revision.May 8 2023, 3:42 PM
jeanPerier accepted this revision.May 9 2023, 12:45 AM

Looks great, and thanks for moving the fix of the other problem up in the chain in D150149!

This revision is now accepted and ready to land.May 9 2023, 12:45 AM
This revision was automatically updated to reflect the committed changes.