aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-08-22 10:11:36 -0700
committerTim Keith <tkeith@nvidia.com>2020-08-22 10:11:38 -0700
commitc0c3cafa2bdaaf878a6b544837073d3d92fbb797 (patch)
tree13dbb86899b386195f97e229f327baefeb386c7f /llvm/tools/llvm-reduce/llvm-reduce.cpp
parentbb894b97821a1c970ce0c3243aaebbfa94add15c (diff)
downloadllvm-c0c3cafa2bdaaf878a6b544837073d3d92fbb797.zip
llvm-c0c3cafa2bdaaf878a6b544837073d3d92fbb797.tar.gz
llvm-c0c3cafa2bdaaf878a6b544837073d3d92fbb797.tar.bz2
[flang] Fix assert on bad character kind
When we report an error for a bad character kind, don't keep it in the `DeclTypeSpec`. Otherwise there could be further problems. In this case, `ComputeOffsets()` got an assertion error because we didn't recognize `CHARACTER(*,8)` as needing a descriptor because of the bad kind. Fixes https://bugs.llvm.org/show_bug.cgi?id=47173 Differential Revision: https://reviews.llvm.org/D86357
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
0 files changed, 0 insertions, 0 deletions