[Bug fortran/48636] Enable more inlining with -O2 and higher

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 17 12:20:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-17 12:20:05 UTC ---
If the middle-end was hinted something about the array descriptors (what fields
in the struct are important and what not), perhaps IPA-CP could handle also
arguments pointing to array descriptors if all callers fill the descriptor in
certain important way (where important would be constant strides and/or
constant start/end in some of the dimension(s)).  I guess many Fortran routines
are just too large for inlining, but optimizing constant strides etc. might
still be useful.



More information about the Gcc-bugs mailing list