[Bug fortran/32817] inline (pure) accessor functions

2008-01-29 Thread fxcoudert at gcc dot gnu dot org
--- 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

[Bug fortran/32817] inline (pure) accessor functions

2007-07-24 Thread jb at gcc dot gnu dot org
--- 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

[Bug fortran/32817] inline (pure) accessor functions

2007-07-19 Thread dfranke at gcc dot gnu dot org
--- 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

[Bug fortran/32817] inline (pure) accessor functions

2007-07-19 Thread pinskia at gcc dot gnu dot org
--- 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