This is an archive of the discontinued LLVM Phabricator instance.

[flang] Do not include dangling ac-implied-do-index in folded shape inquiry
ClosedPublic

Authored by jeanPerier on Feb 23 2023, 9:58 AM.

Details

Summary

The current code was replacing inquiry to array constructor whose
ac-value shape depends on ac-implied-do-index with an expression
using the ac-implied-do-index without the implied-do (folding the
first case added in the test as in the second case with a regular
symbol).

Diff Detail

Event Timeline

jeanPerier created this revision.Feb 23 2023, 9:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 23 2023, 9:58 AM
jeanPerier requested review of this revision.Feb 23 2023, 9:58 AM
klausler accepted this revision.Feb 23 2023, 10:09 AM
This revision is now accepted and ready to land.Feb 23 2023, 10:09 AM