llvm-project/flang/lib
Peter Steinfeld a7afc8a514 [flang] Fix CHECK() calls on erroneous procedure declarations
When writing tests for a previous problem, I ran across situations where the
compiler was failing calls to CHECK().  In these situations, the compiler had
inconsistent semantic information because the programs were erroneous.  This
inconsistent information was causing the calls to CHECK().

I fixed this by avoiding the code that ended up making the failed calls to
CHECK() and making sure that we were only avoiding these situations when the
associated symbols were erroneous.

I also added tests that would cause the calls to CHECK() without these changes.

Differential Revision: https://reviews.llvm.org/D99342
2021-03-29 10:12:35 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Readability improvement in binary->decimal conversion 2020-10-01 15:49:27 -07:00
Evaluate [flang] fold LOGICAL intrinsic calls 2021-03-25 18:38:19 +01:00
Frontend [flang][driver] Fix typos and inconsistent comments (nfc) 2021-03-25 19:01:40 +00:00
FrontendTool [flang][driver] Add support for `-fget-symbols-sources` 2021-03-18 14:13:24 +00:00
Lower [flang] Replace Arithmetic Ops with their builtin conunterpart 2021-03-17 08:58:10 +05:30
Optimizer Trivial change to fix builds 2021-03-25 09:31:54 +00:00
Parser [flang] Refine symbol sorting 2021-03-18 11:18:14 -07:00
Semantics [flang] Fix CHECK() calls on erroneous procedure declarations 2021-03-29 10:12:35 -07:00
CMakeLists.txt [flang] Remove `LINK_WITH_FIR` cmake switch 2021-02-11 22:52:13 +05:30