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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D145747
[flang] Diagnose ridiculously large kind parameters ClosedPublic Authored by klausler on Mar 9 2023, 4:33 PM.
Details Summary Kind parameters on literals (1_4, 1.0_8, 4_"Unicode") are not
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 10 2023, 6:26 AM Closed by commit rG085c1971ec58: [flang] Diagnose ridiculously large kind parameters (authored by klausler). · Explain WhyMar 10 2023, 9:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 503972 flang/lib/Semantics/expression.cpp
flang/test/Semantics/kinds02.f90
|