[all-commits] [llvm/llvm-project] 7f0656: [flang] Re-land PR#97337 (#98656)

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 12 12:29:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f06560edb299de91a960a19505c8da6eaed65e5
      https://github.com/llvm/llvm-project/commit/7f06560edb299de91a960a19505c8da6eaed65e5
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Lower/HLFIR/array-ctor-character.f90
    M flang/test/Semantics/array-constr-len.f90

  Log Message:
  -----------
  [flang] Re-land PR#97337 (#98656)

Pull request https://github.com/llvm/llvm-project/pull/97337 was
reverted by https://github.com/llvm/llvm-project/pull/98612 due
to two failing tests in llvm-test-suite -- which I ran, as always,
but must have bungled or misinterpreted (mea culpa).
    
The failing tests were llvm-test-suite/Fortran/gfortran/regression/
char_length_{20,21}.f90.  They have array constructors with
explicit character types whose dynamic length values are negative
at runtime, which must be interpreted as zero.
    
This patch extends the original to cover those cases.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list