From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17477 invoked by alias); 29 Sep 2003 15:52:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17467 invoked by uid 48); 29 Sep 2003 15:52:52 -0000 Date: Mon, 29 Sep 2003 16:09:00 -0000 Message-ID: <20030929155252.17465.qmail@sources.redhat.com> From: "segher at koffie dot nl" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20020612052601.7003.fshvaige@cisco.com> References: <20020612052601.7003.fshvaige@cisco.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/7003] [ppc] address of array loaded int register twice without any need X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg02244.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7003 ------- Additional Comments From segher at koffie dot nl 2003-09-29 15:52 ------- GCC needs two GCSE passes to get rid of this; the first pass to get rid of the high-half load, and the second for the full load. Try --param max-gcse-passes=2 . Maybe this should be default on PowerPC 32-bit?