We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52136b commit d60edf8Copy full SHA for d60edf8
flang/test/Lower/force-temp.f90
@@ -88,9 +88,15 @@ subroutine s5()
88
call pass_intent_out(p)
89
end subroutine
90
subroutine call_s6()
91
+ interface
92
+ subroutine s6(b)
93
+ import :: base
94
+ type(base), intent(inout) :: b(:)
95
+ end subroutine s6
96
+ end interface
97
!CHECK-LABEL: func.func @_QMtestPcall_s6
98
!CHECK-NOT: hlfir.copy_in
-!CHECK: fir.call @_QMtestPs6
99
+!CHECK: fir.call @_QPs6
100
!CHECK-NOT: hlfir.copy_out
101
class(base), pointer :: pb(:)
102
type(child), target :: c(2)
@@ -99,8 +105,4 @@ subroutine call_s6()
105
pb => c
106
call s6(pb)
107
end subroutine call_s6
- subroutine s6(b)
103
- type(base), intent(inout) :: b(:)
104
- b%i = 42
- end subroutine s6
108
end module
0 commit comments