This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49494] [4.7 Regression] ICE: in remap_predicate at ipa-inline-analysis.c:1876 with -findirect-inlining -finline-small-functions


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

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-08-05 15:25:34 UTC ---
Problem here is that more_ok is compiled into function having 4 parameters
(where first parameter is return value) and it is called with 3 parameters.

My fortran fu is not on par to tell if this is expected. Originally I assumed
that we won't inline this case since we will consider the call uninlinable. We
however do that only on type mismatch, not on mismatch in number of parameters.
Will fix that with bounds check.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]