This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct bug in literal CHARACTER constant names
ClosedPublic

Authored by clementval on Jun 30 2022, 12:31 AM.

Details

Summary

The names of CHARACTER strings were being truncated leading to invalid
collisions and other failures. This change makes sure to use the entire
string as the seed for the unique name.

This patch is part of the upstreaming effort from fir-dev branch.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Diff Detail

Event Timeline

clementval created this revision.Jun 30 2022, 12:31 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 30 2022, 12:31 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Jun 30 2022, 12:31 AM
This revision is now accepted and ready to land.Jun 30 2022, 12:36 AM