--- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-01-29 16:15
---
(In reply to comment #2)
> Andrew, you mentioned the two-decl per function elsewhere as well. Where can
> one learn more about this? why do we have two decls at all? where do they come
> from, where do they go? Ho
--- Comment #3 from jb at gcc dot gnu dot org 2007-07-24 16:03 ---
Confirmed.
Gfortran should IMHO not do any inlining itself, rather somehow tell the
middle-end when inlining is allowed, and let the middle-end optimizer decide
when to actually inline.
--
jb at gcc dot gnu dot org c
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-19 09:17 ---
Andrew, you mentioned the two-decl per function elsewhere as well. Where can
one learn more about this? why do we have two decls at all? where do they come
from, where do they go? How are they dealt with? I'm sort of
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-19 09:00 ---
I think this is just the normal inline function problem with gfortran. Where
we have two decls for the same function which causes no inlining to happen.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32817