From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1009 invoked by alias); 12 Jan 2008 19:01:23 -0000 Received: (qmail 890 invoked by uid 48); 12 Jan 2008 19:00:36 -0000 Date: Sat, 12 Jan 2008 19:14:00 -0000 Message-ID: <20080112190036.889.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/31396] Inline code performance much worse than out-of-line In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hubicka at gcc dot gnu dot org" 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: 2008-01/txt/msg01168.txt.bz2 ------- Comment #9 from hubicka at gcc dot gnu dot org 2008-01-12 19:00 ------- Created an attachment (id=14930) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14930&action=view) tentative fix I am testing the attached patch. It is obvious that we should use profile here. The PR is most likely regression to 2.95 that used to multiply n_refs by 3 inside loops. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31396