Avoid calls to memcpy with zero byte counts if their address argument
calculations may not be valid expressions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D127027
[flang] Don't crash on initialization with a zero-sized derived type ClosedPublic Authored by klausler on Jun 3 2022, 4:05 PM.
Details Summary Avoid calls to memcpy with zero byte counts if their address argument
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 3 2022, 5:15 PM Closed by commit rGd484fe93d4e8: [flang] Don't crash on initialization with a zero-sized derived type (authored by klausler). · Explain WhyJun 4 2022, 9:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 434268 flang/include/flang/Evaluate/initial-image.h
flang/lib/Evaluate/initial-image.cpp
|