Unverified Commit c465158e authored by Peter Klausler's avatar Peter Klausler
Browse files

[flang] Don't emit debugging output to module file

When a constant array value has a non-default lower bound, the current
expression formatting code uses a non-Fortran syntax to dump the lower
bounds. (There's no way in Fortran to explicitly specify such a constant value,
but they can be created through the use of named constants.)  But we
don't want this lower bounds syntax from expression dumping to show up
in module files, since it can't be parsed back in.  So disable that
part of expression formatting by default.

Fixes https://github.com/llvm/llvm-project/issues/64391.

Differential Revision: https://reviews.llvm.org/D157330
parent 7593f9b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment