[Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 19 13:24:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list