[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
Loading
Please sign in to comment