llvm-project/flang/lib
Valentin Clement 4235bd603a
[flang] Make sure dynamic extents and length are rounded to 0 if negative
Function returning CHARACTER with adjustable length or dynamic arrays
can have negative length or extents passed to them. This patch makes sure
any negative inputs is rounded to 0.

Reviewed By: vdonaldson

Differential Revision: https://reviews.llvm.org/D132139
2022-08-18 20:23:20 +02:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Install runtime libs with the toolchain 2022-08-15 07:43:47 +00:00
Evaluate [flang] Extend characterization & checking for procedure bindings 2022-08-09 12:01:45 -07:00
Frontend [flang] Pass SemanticsContext to the LoweringBridge 2022-08-12 21:23:05 +02:00
FrontendTool [Flang][Driver] Add support for AsmPrinter -mmlir options 2022-07-27 16:11:11 -04:00
Lower [flang] Make sure dynamic extents and length are rounded to 0 if negative 2022-08-18 20:23:20 +02:00
Optimizer [flang] Set attribute at the correct position 2022-08-18 20:21:41 +02:00
Parser Revert "Some more from-the-hip ctad-maybe-unsupported fixes for flang" 2022-08-16 17:43:08 +00:00
Semantics [Flang][OpenMP] Provide an error when the minus operator is used in a reduction 2022-08-18 14:35:12 +00:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00