llvm/flang/lib/evaluate
Tim Keith 0386490751 [flang] Prevent segfault in DynamicType::IsTkCompatibleWith
Make sure `derived_` is not null before dereferencing it.

This might only happen when there is a previous error. I saw it
compiling a test program where a USEd module was not found.

Original-commit: flang-compiler/f18@2db516556b
Reviewed-on: https://github.com/flang-compiler/f18/pull/550
2019-07-03 15:47:37 -07:00
..
call.cc [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
call.h [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
character.h [flang] Remove encoding related checks in achar/char 2019-06-05 06:54:01 -07:00
characteristics.cc [flang] Merge pull request flang-compiler/f18#539 from flang-compiler/tsk1 2019-07-02 14:00:44 -07:00
characteristics.h [flang] Merge pull request flang-compiler/f18#539 from flang-compiler/tsk1 2019-07-02 14:00:44 -07:00
CMakeLists.txt [flang] Begin shape analysis 2019-04-05 12:56:00 -07:00
common.cc [flang] Use ConstantSubscript as the one name for int64_t 2019-06-07 09:57:52 -07:00
common.h [flang] Use ConstantSubscript as the one name for int64_t 2019-06-07 09:57:52 -07:00
complex.cc [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
complex.h [flang] Pass tests 2019-04-01 12:30:08 -07:00
constant.cc [flang] Support lower bounds in constants 2019-06-28 09:16:46 -07:00
constant.h [flang] Support lower bounds in constants 2019-06-28 09:16:46 -07:00
decimal.cc [flang] -fno-exceptions 2019-06-18 14:11:55 -07:00
decimal.h [flang] Remove OwningPointer and ForwardReference 2019-05-06 07:51:07 -07:00
descender.h [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
expression.cc [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
expression.h [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
fold.cc [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
fold.h [flang] IsInitialDataTarget() 2019-06-28 09:16:43 -07:00
formatting.cc [flang] Use LOC() in iso_c_binding for C_LOC and C_FUNLOC 2019-07-01 16:54:53 -07:00
formatting.h [flang] Refactor SymbolOrComponent typedef to NamedEntity class 2019-06-28 09:16:47 -07:00
host.cc [flang] Fix 482: do not check floating point environment flags with clang 2019-06-06 03:24:35 -07:00
host.h [flang] Fix 482: do not check floating point environment flags with clang 2019-06-06 03:24:35 -07:00
int-power.h [flang] revamp Real::Read(), use it for mutual testing of ScaledDecimals 2018-11-13 16:02:52 -08:00
integer.cc [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
integer.h [flang] Final fixes before review 2019-05-29 16:00:31 -07:00
intrinsics-library-templates.h [flang] Fix 482: do not check floating point environment flags with clang 2019-06-06 03:24:35 -07:00
intrinsics-library.cc [flang] Add todo for bessel function default support 2019-03-29 01:41:26 -07:00
intrinsics-library.h [flang] make HostIntrinsicProceduresLibrary a class 2019-03-27 10:16:07 -07:00
intrinsics.cc [flang] Trim duplicate error messages on intrinsics, and fix FINDLOC for Character data. 2019-07-03 12:30:28 -07:00
intrinsics.h [flang] lib/evaluate work for structure constructors 2019-05-03 11:29:15 -07:00
leading-zero-bit-count.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
logical.cc [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
logical.h [flang] Fix LEN(char array), it is not elemental. 2019-06-04 13:37:23 -07:00
real.cc [flang] Adjust member function names in integer.h to avoid confusion. 2019-04-01 16:52:03 -07:00
real.h [flang] PRECISION, RANGE, RADIX 2019-05-29 15:38:33 -07:00
rounding-bits.h [flang] Make x86 fp behavior emulation conditional. 2019-01-22 11:13:44 -08:00
shape.cc [flang] Avoid CHECK in error recovery situation with bad array bound 2019-07-03 10:27:49 -07:00
shape.h [flang] Refactor SymbolOrComponent typedef to NamedEntity class 2019-06-28 09:16:47 -07:00
static-data.cc [flang] Rename Dump() as AsFortran(), tweak output for use in .mod files 2018-11-08 09:38:03 -08:00
static-data.h [flang] Pass tests 2019-04-01 12:30:08 -07:00
tools.cc [flang] Rearrange some move(get<>()) calls into get<>(move()) to dodge GCC possibly-uninit warnings (bogus) 2019-06-18 15:15:22 -07:00
tools.h [flang] Add LOC()/%LOC() intrinsics 2019-07-01 14:00:32 -07:00
traversal.h [flang] Redo without macros 2019-04-09 13:29:40 -07:00
type.cc [flang] Prevent segfault in DynamicType::IsTkCompatibleWith 2019-07-03 15:47:37 -07:00
type.h [flang] Merge pull request flang-compiler/f18#539 from flang-compiler/tsk1 2019-07-02 14:00:44 -07:00
variable.cc [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00
variable.h [flang] Graceful handling of failure in LEN() (fixes crashes) 2019-07-03 10:27:50 -07:00