[flang-commits] [flang] [flang][lower] fix source location in WHERE constructs (PR #194849)
via flang-commits
flang-commits at lists.llvm.org
Wed Apr 29 06:08:50 PDT 2026
================
@@ -66,5 +66,5 @@ subroutine sub_if(c)
!CHECK: #[[BAR_LOC]] = loc("{{.*}}location.f90":46:9)
!CHECK: #[[TW_LOC]] = loc("{{.*}}location.f90":48:9)
!CHECK: #[[TY_LOC]] = loc("{{.*}}location.f90":50:9)
-!CHECK: #[[IF_LOC]] = loc("{{.*}}location.f90":57:14)
!CHECK: #[[TASK_LOC]] = loc("{{.*}}location.f90":57:9)
+!CHECK: #[[IF_LOC]] = loc("{{.*}}location.f90":57:14)
----------------
jeanPerier wrote:
Note: the change here comes from the fact that the location attributes are now created in a different order, but it has no impact on the actual line location information that was already correct.
https://github.com/llvm/llvm-project/pull/194849
More information about the flang-commits
mailing list