[all-commits] [llvm/llvm-project] f8300f: [flang] Refine "same type" testing for intrinsic a...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jan 31 10:55:30 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8300f1c2a767e2ffaa6440249439b66bb5dec3b
https://github.com/llvm/llvm-project/commit/f8300f1c2a767e2ffaa6440249439b66bb5dec3b
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/bug124976.f90
Log Message:
-----------
[flang] Refine "same type" testing for intrinsic arguments (#125133)
Some errors aren't being caught, such as the case in the linked bug
where the PAD= argument to RESHAPE() didn't have the same declared type
as the ARRAY=; this led to a crash in lowering. Refine the "same type"
testing logic for intrinsic procedures, and add a better test.
Fixes https://github.com/llvm/llvm-project/issues/124976.
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