[Bug tree-optimization/34940] contained subroutines called only once are not inlined
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 10 18:04:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34940
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus@net-b.de, hubicka at
| |gcc dot gnu.org, kargl at
| |gcc dot gnu.org
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-11-10 18:04:17 UTC ---
Function is static, that seems OK.
We inline it with ./xgcc -B ./ -O2 t.f90 -S --param large-stack-frame=2000
We are somewhat stupid here, since the call happens all the time and thus stack
frame growth limits don't need to apply. I can implement this if this is
common case for fortran. How commonly we run into these io structs?
We can also bump large stack limits to make fortran I/O to fit in.
Honza
More information about the Gcc-bugs
mailing list