Take the source position for the anonymous program from its scope.
If the first evaluation is a construct or directive, then it has
null source position.
Author: vdonaldson
Paths
| Differential D146445
[flang] Set proper source location for the main function. ClosedPublic Authored by vzakhari on Mar 20 2023, 11:10 AM.
Details Summary Take the source position for the anonymous program from its scope. Author: vdonaldson
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 20 2023, 11:16 AM Closed by commit rGee7b6fd4c1c1: [flang] Set proper source location for the main function. (authored by vzakhari). · Explain WhyMar 21 2023, 12:33 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 506656 flang/lib/Lower/PFTBuilder.cpp
flang/test/Lower/main_location.f90
|