CMPLX folding was expecting only one arguments in case X argument
is complex. This is wrong since there is also the optional KIND
argument.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84936
[flang] Fix CMPLX folding with complex arguments ClosedPublic Authored by jeanPerier on Jul 30 2020, 5:34 AM.
Details Summary CMPLX folding was expecting only one arguments in case X argument
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 30 2020, 3:35 PM Closed by commit rGa50cec71ecea: [flang] Fix CMPLX folding with complex arguments (authored by jeanPerier). · Explain WhyJul 31 2020, 1:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 282152 flang/lib/Evaluate/fold-complex.cpp
flang/test/Evaluate/folding01.f90
|