Inner functions & -pg

Salvatore Filippone filippone.salvatore@gmail.com
Sat Oct 12 12:25:00 GMT 2019


Does "from only one location" mean from only one other subroutine or from
only one statement?
Because in this case the container routine calls the internal in two
different points.
Moreover, if it is inlined, then it should show up under the name of the
caller  routine, right?
Anyway, I'll cut a test case  as time allows.
Salvatore

On Sat, Oct 12, 2019 at 1:09 PM Janne Blomqvist <blomqvist.janne@gmail.com>
wrote:

> On Sat, Oct 12, 2019 at 12:22 PM Salvatore Filippone
> <filippone.salvatore@gmail.com> wrote:
> >
> > The contained subroutines are large, I  doubt inlining went into effect;
> > and in any case, why would this apply to one subroutine and not to a
> second
> > one, more or less the same size?
>
> Procedures which are called from only one location are always(?)
> inlined, regardless of size.
>
>
> --
> Janne Blomqvist
>



More information about the Fortran mailing list