[all-commits] [llvm/llvm-project] 085c19: [flang] Diagnose ridiculously large kind parameters
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Mar 10 09:44:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 085c1971ec583260c3ba3e45b83c78db113a9c80
https://github.com/llvm/llvm-project/commit/085c1971ec583260c3ba3e45b83c78db113a9c80
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/kinds02.f90
Log Message:
-----------
[flang] Diagnose ridiculously large kind parameters
Kind parameters on literals (1_4, 1.0_8, 4_"Unicode") are not
being caught as errors if they're extremely large integer values
that become valid when truncated to C++'s int type.
Differential Revision: https://reviews.llvm.org/D145747
More information about the All-commits
mailing list