This is an archive of the discontinued LLVM Phabricator instance.

[flang] Replace crash and improve a semantics TODO message
ClosedPublic

Authored by klausler on May 21 2022, 10:19 PM.

Details

Summary

The derived type information table construction code had a
crash whose root cause was replacing an expression with one
of its operands -- the deletion of the LHS of that assignment
led to the RHS being invalidated before it could be read.
Fix by cloning the RHS. Also update a TODO message to the
new "_todo_en_US" message class and add a comment about how
it should be resolved.

Diff Detail

Event Timeline

klausler created this revision.May 21 2022, 10:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2022, 10:19 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 21 2022, 10:19 PM
vdonaldson accepted this revision.May 23 2022, 10:56 AM
This revision is now accepted and ready to land.May 23 2022, 10:56 AM