From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27989 invoked by alias); 7 Nov 2007 16:26:45 -0000 Received: (qmail 27923 invoked by uid 48); 7 Nov 2007 16:26:32 -0000 Date: Wed, 07 Nov 2007 16:26:00 -0000 Message-ID: <20071107162632.27920.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bonzini at 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: 2007-11/txt/msg00591.txt.bz2 ------- Comment #18 from bonzini at gnu dot org 2007-11-07 16:26 ------- Created an attachment (id=14498) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14498&action=view) never say minimal! So this is a testcase constructed from scratch. 4.3 is 4.5x slower (0.8s vs. 0.18s). Furthermore, if you "#define const", the performance pitfall goes away. For whoever wants to work on this, I would double check with the previous minimal testcase, but this has the same symptoms (no SRA of the Ref instances) and is much much smaller, so it is more suited to go in GCC's testsuite. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604