[all-commits] [llvm/llvm-project] 317277: [flang] Better error reporting for MOD/MODULO/NEAR...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 24 09:21:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 317277e4f961edf13132914a58a26408db4ab0aa
      https://github.com/llvm/llvm-project/commit/317277e4f961edf13132914a58a26408db4ab0aa
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Evaluate/fold-real.cpp
    M flang/test/Evaluate/fold-nearest.f90
    M flang/test/Evaluate/folding04.f90

  Log Message:
  -----------
  [flang] Better error reporting for MOD/MODULO/NEAREST (#96114)

When the second argument to these intrinsic functions is a scalar
constant zero, emit a warning (if enabled) even if the first argument is
not a constant.



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