From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15716 invoked by alias); 19 Dec 2010 11:58:48 -0000 Received: (qmail 15704 invoked by uid 22791); 19 Dec 2010 11:58:47 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Dec 2010 11:58:43 +0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47000] [4.5 Regression] Failure to inline SSE intrinsics X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: major X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Sun, 19 Dec 2010 11:58:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02275.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47000 --- Comment #23 from Jan Hubicka 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 =E2=80=98ROTR=E2= =80=99: --param inline-unit-growth limit reached so you could also workaround with --param inline-unit-growth=3D. 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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.