[all-commits] [llvm/llvm-project] 97e3f6: [flang] Don't allow non-standard data conversions ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Apr 8 11:56:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97e3f605d5b574899d9f012032349bbf84c4dcfb
https://github.com/llvm/llvm-project/commit/97e3f605d5b574899d9f012032349bbf84c4dcfb
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-04-08 (Mon, 08 Apr 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Semantics/check-call.cpp
A flang/test/Semantics/intrinsics04.f90
Log Message:
-----------
[flang] Don't allow non-standard data conversions of potentially abse… (#87391)
…nt arguments
Arguments to the intrinsic functions MAX and MIN after the first two are
optional. When these actual arguments might not be present at run time,
emit a compilation time error if they require data conversion (a
non-standard but nearly universal language extension); such a conversion
would crash if the argument was absent.
Other compilers either disallow data conversions entirely on MAX/MIN or
crash at run time if a converted argument is absent.
Fixes https://github.com/llvm/llvm-project/issues/87046.
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