A test program shouldn't be able to crash the compiler by getting it to
fold REPEAT() with an absurdly large repetition count.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D142770
[flang] Don't fold REPEAT() when the result would be too large ClosedPublic Authored by klausler on Jan 27 2023, 9:56 AM.
Details Summary A test program shouldn't be able to crash the compiler by getting it to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 27 2023, 11:23 AM Closed by commit rG23f258cebbee: [flang] Don't fold REPEAT() when the result would be too large (authored by klausler). · Explain WhyJan 29 2023, 12:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 493125 flang/lib/Evaluate/character.h
flang/lib/Evaluate/fold-character.cpp
flang/test/Evaluate/errors01.f90
|