aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-09-16 16:27:11 +0200
committerGitHub <noreply@github.com>2024-09-16 16:27:11 +0200
commite6618aae43012d3759f326ac6527744885825331 (patch)
tree9bfc59cf5bb811acc8a273efcf4aa594022e70c8 /clang/lib/Basic/SourceManager.cpp
parent165f0e80f6b811ab0c82b52e39cb5fb4010850b7 (diff)
downloadllvm-e6618aae43012d3759f326ac6527744885825331.zip
llvm-e6618aae43012d3759f326ac6527744885825331.tar.gz
llvm-e6618aae43012d3759f326ac6527744885825331.tar.bz2
[flang] fix ignore_tkr(tk) with character dummy (#108168)
The test code with ignore_tkr(tk) on character dummy passed by fir.boxchar<> was crashing the compiler in [an assert](https://github.com/llvm/llvm-project/blob/2afe678f0a246387977a8ca694d4489e2c868991/flang/lib/Optimizer/Dialect/FIRType.cpp#L632) in `changeElementType`. It makes little sense to call changeElementType on a fir.boxchar since this type is lossy (the shape is not part of it). Just skip it in the code dealing with ignore(tk) when hitting this case
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions