llvm-project/flang/test/Evaluate
Peter Steinfeld 2018dafce5 [flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds not 1
Constant folding for calls to LBOUND() was not working when the lower bound of
a constant array was not 1.

I fixed this and re-enabled the test in Evaluate/folding16.f90 that previously
was silently failing.  I slightly changed the test to parenthesize the first
argument to exercise all of the new code.

Differential Revision: https://reviews.llvm.org/D95894
2021-02-03 10:53:32 -08:00
..
folding01.f90 [flang] Fix CMPLX folding with complex arguments 2020-07-31 10:26:08 +02:00
folding02.f90 [flang] Rework host runtime folding and enable REAL(2) folding with it. 2020-10-14 16:40:44 +02:00
folding03.f90 [flang] Add isnan() extension intrinsic function, with folding 2020-11-11 11:40:57 -08:00
folding04.f90 [flang] Add isnan() extension intrinsic function, with folding 2020-11-11 11:40:57 -08:00
folding05.f90 [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
folding06.f90 [flang] Failed call to CHECK() for call to ASSOCIATED(NULL()) 2020-10-16 07:12:57 -07:00
folding07.f90 [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
folding08.f90 [flang] Check shape conformance on initializers 2020-08-31 16:27:06 -07:00
folding09.f90 [flang] Fix problems with constant arrays with lower bounds that are not 1 2021-01-29 08:05:10 -08:00
folding10.f90 [flang] Implement shape analysis of TRANSFER intrinsic function result 2020-08-13 09:56:24 -07:00
folding11.f90 [flang] Correct manipulation of mixed complex expressions 2020-08-13 09:04:00 -07:00
folding12.f90 [flang] Fix assert on constant folding of extended types 2020-09-10 14:34:03 -07:00
folding13.f90 [flang] Allow array constructor implied DO loop indices as constant expressions 2020-11-02 11:00:17 -08:00
folding14.f90 [flang] Add isnan() extension intrinsic function, with folding 2020-11-11 11:40:57 -08:00
folding15.f90 [flang] Duplicate names for ac-implied-do variables erroneously cause errors 2020-11-16 18:57:13 -08:00
folding16.f90 [flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds not 1 2021-02-03 10:53:32 -08:00
folding17.f90 [flang] Implement STORAGE_SIZE(), SIZEOF(), C_SIZEOF() 2020-12-15 17:26:20 -08:00
folding18.f90 [flang] Implement IEEE_SUPPORT_xxx inquiry functions 2021-02-02 11:38:19 -08:00
folding19.f90 [flang] Detect UBOUND() error on assumed-size array 2021-02-02 11:37:44 -08:00
test_folding.sh [flang] Add -fsyntax-only to f18; retain -fparse-only synonym 2021-02-03 09:01:39 -08:00