Software Archive
Read-only legacy content

Inling

lucaletizia
Beginner
264 Views
HI,

just a quick question on inling, if I have a routine like:

subroutine outermultiply(a,b,c)
implicit none
real :: a,b,c

call innermultiply(a,b,c)
contains

subroutine innermultiply(a,b,c)
implicit none
real :: a,b,c

c = a * b

return
end subroutine innermultiply

end subroutine

If I have the optmization swithed on and I call outermultiply roiutine will the inner routime be inlined?
I have run some prifiling tool and it seems to me that it is inlined but I am not quite sure.

Thanks Luca
0 Kudos
0 Replies
Reply