[all-commits] [llvm/llvm-project] c46515: [flang] Don't emit debugging output to module file
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 8 10:28:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c465158e45a66a391c279cbaabdff18ba627484a
https://github.com/llvm/llvm-project/commit/c465158e45a66a391c279cbaabdff18ba627484a
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M flang/lib/Evaluate/formatting.cpp
A flang/test/Semantics/modfile56.f90
Log Message:
-----------
[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
More information about the All-commits
mailing list