diff options
author | peter klausler <pklausler@nvidia.com> | 2021-04-07 13:17:39 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2021-04-09 16:38:32 -0700 |
commit | 5091671c9ba2ca42ecede7b05347084b7c2dd974 (patch) | |
tree | 47fee5b59aee505fa4f5fcd3708a357b4304435b /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | 092f288d3644f58c931336080c443bba98e51ae9 (diff) | |
download | llvm-5091671c9ba2ca42ecede7b05347084b7c2dd974.zip llvm-5091671c9ba2ca42ecede7b05347084b7c2dd974.tar.gz llvm-5091671c9ba2ca42ecede7b05347084b7c2dd974.tar.bz2 |
[flang] Enforce a limit on recursive PDT instantiations
For pernicious test cases with explicit non-constant actual
type parameter expressions in components, e.g.:
type :: t(k)
integer, kind :: k
type(t(k+1)), pointer :: p
end type
we should detect the infinite recursion and complain rather
than looping until the stack overflows.
Differential Revision: https://reviews.llvm.org/D100065
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions