[all-commits] [llvm/llvm-project] 6f7e71: [flang] Don't inject possibly invalid conversions ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jul 30 09:45:55 PDT 2024


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

  Changed paths:
    M flang/lib/Evaluate/fold-character.cpp
    M flang/lib/Evaluate/fold-implementation.h
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Evaluate/fold-real.cpp
    A flang/test/Evaluate/rewrite08.f90

  Log Message:
  -----------
  [flang] Don't inject possibly invalid conversions while folding (#100842)

A couple of intrinsic functions have optional arguments. Don't insert
type conversions on those arguments when the actual arguments may not be
present at execution time, due to being OPTIONAL, allocatables, or
pointers.



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