llvm-project/flang/test
Peter Steinfeld ae0d1d2e5c [flang] Fix bogus message on internal subprogram with alternate return
Internal subprograms have explicit interfaces.  If an internal subprogram has
an alternate return, we check its explicit interface.  But we were not
putting the label values of alternate returns into the actual argument.

I fixed this by changing the definition of actual arguments to be able
to contain a common::Label and putting the label for an alternate return
into the actual argument.

I also verified that we were already doing all of the semantic checking
required for alternate returns and removed a "TODO" for this.

I also added the test altreturn06.f90.

Differential Revision: https://reviews.llvm.org/D94017
2021-01-08 10:14:21 -08:00
..
Driver [flang][driver] Rename driver tests (nfc) 2021-01-07 14:05:48 +00:00
Evaluate [flang] Fix crash in folding (#48437) 2020-12-16 07:55:44 -08:00
Fir [flang] Fix FIR test failures 2020-11-17 12:25:15 -08:00
Flang-Driver [flang][driver] Rename driver tests (nfc) 2021-01-07 14:05:48 +00:00
Frontend [flang][driver] Fix formatting in a test (nfc) 2020-12-22 13:38:13 +00:00
Lower [flang][openacc] Handle optional end directive in combined construct 2020-08-13 14:05:00 -04:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang]Add Parser Support for Allocate Directive 2020-12-10 16:21:19 +00:00
Preprocessing [flang] Rework preprocessing of stringification 2020-09-18 10:45:57 -07:00
Semantics [flang] Fix bogus message on internal subprogram with alternate return 2021-01-08 10:14:21 -08:00
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00
lit.cfg.py [flang][tests] Fix Python bug in the lit config 2020-10-24 17:04:25 +01:00
lit.site.cfg.py.in [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00