This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47000] [4.5 Regression] Failure to inline SSE intrinsics
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Dec 2010 11:58:42 +0000
- Subject: [Bug target/47000] [4.5 Regression] Failure to inline SSE intrinsics
- Auto-submitted: auto-generated
- References: <bug-47000-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47000
--- Comment #23 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-12-19 11:58:35 UTC ---
sha256_4way.c:287:78: warning: called from here
sha256_4way.c:50:23: warning: inlining failed in call to âROTRâ: --param
inline-unit-growth limit reached
so you could also workaround with --param inline-unit-growth=<some sufficiently
large number>.
Otherwise H.J.'s proposed backport seems like most sane way to solve the
problem. I guess it can be backported.
I am testing
Index: tree-inline.c
===================================================================
--- tree-inline.c (revision 168047)
+++ tree-inline.c (working copy)
@@ -3281,6 +3281,7 @@ estimate_operator_cost (enum tree_code c
CASE_CONVERT:
case COMPLEX_EXPR:
case PAREN_EXPR:
+ case VIEW_CONVERT_EXPR:
return 0;
/* Assign cost of 1 to usual operations.
to solve the V_C_E problems.