From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17274 invoked by alias); 8 Nov 2007 16:32:52 -0000 Received: (qmail 16100 invoked by alias); 8 Nov 2007 16:32:35 -0000 Date: Thu, 08 Nov 2007 16:32:00 -0000 Message-ID: <20071108163235.16099.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm' In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot bonzini at lu dot unisi dot ch" 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/msg00701.txt.bz2 ------- Comment #10 from paolo dot bonzini at lu dot unisi dot ch 2007-11-08 16:32 ------- Subject: Re: [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm' ubizjak at gmail dot com wrote: > ------- Comment #9 from ubizjak at gmail dot com 2007-11-07 18:56 ------- > (In reply to comment #8) > >> So if we can agree to dump -fforce-addr: yes, please. > > Sometimes -fforce-addr produces faster code, as claimed in > http://gcc.gnu.org/ml/fortran/2007-10/msg00048.html My SPEC2000 run has not finished, but the results so far give a different overall picture: +gzip: 156 -> 167 (without -fforce-addr -> with -fforce-addr) +vpr: 165 -> 168 +gcc: 68 -> 70 mcf: 167 -> 167 crafty: 95 -> 95 parser: 203 -> 204 +perlbmk: 118 -> 124 +gap: 74 -> 77 -vortex: 142 -> 136 +bzip2: 153 -> 156 +twolf: 223 -> 236 wupwise: 119 -> 120 -swim: 180 -> 175 mgrid: 249 -> 251 applu: 193 -> 194 +mesa: 179 -> 182 +galgel: 145 -> 149 art: 426 -> 427 -equake: 86 -> 79 +facerec: 190 -> 193 Probably it would be better to spend time distilling a simple testcase from equake, which is a relatively small (1500 lines) C program, so that the benefit is there with regular -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33713