[Issue 37] Inlining fails for functions with const parameters
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Tue Feb 19 03:43:55 PST 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=37
--- Comment #2 from Johannes Pfau <johannespfau at gmail.com> 2013-02-19 11:43:55 UTC ---
No, that error message was also reported by jerro and he added some
pragma(always_inline) implementation to his copy of gdc.
The error is reported either from ipa-inline.c or from ipa-inline-analysis.c,
grep for "CIF_MISMATCHED_ARGUMENTS". Both check for call_stmt_cannot_inline_p
which is probably set in ipa-inline.c:
if (edge->callee->symbol.decl
&& !gimple_check_call_matching_types
(edge->call_stmt, edge->callee->symbol.decl))
edge->call_stmt_cannot_inline_p = true;
gimple_check_call_matching_types is declared in gimple-low.c
--
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
More information about the D.gnu
mailing list