This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2005 13:24:17 -0000
- Subject: [Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime
- References: <20050318192834.20538.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 13:24 -------
(In reply to comment #10)
> (In reply to comment #8)
>
> > Due to general gfortran lameness only contained functions are ever inlined.
> > Top-level functions are never inlined.
>
> Why?
I think Paul means that the front-end is wrong (and is a bug) in that it will not allow the inlining of top
level functions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20538