From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13248 invoked by alias); 30 Jun 2010 02:11:35 -0000 Received: (qmail 13234 invoked by uid 22791); 30 Jun 2010 02:11:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pw0-f47.google.com (HELO mail-pw0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Jun 2010 02:11:29 +0000 Received: by pwi10 with SMTP id 10so54458pwi.20 for ; Tue, 29 Jun 2010 19:11:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.209.15 with SMTP id h15mr9139628wfg.150.1277863887369; Tue, 29 Jun 2010 19:11:27 -0700 (PDT) Received: by 10.142.231.8 with HTTP; Tue, 29 Jun 2010 19:11:27 -0700 (PDT) In-Reply-To: References: <4BD075C9.1080502@codesourcery.com> <4C0D0656.4060903@codesourcery.com> <4C293731.4080500@redhat.com> <4C293DB0.8020201@codesourcery.com> <4C295B32.9070104@redhat.com> <4C29F386.2090006@codesourcery.com> Date: Wed, 30 Jun 2010 06:10:00 -0000 Message-ID: Subject: Re: Resubmit/ping: peephole2 vs cond-exec vs df From: "H.J. Lu" To: Andrew Pinski Cc: Bernd Schmidt , Richard Henderson , GCC Patches Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg03077.txt.bz2 On Tue, Jun 29, 2010 at 5:41 PM, Andrew Pinski wrote: > On Tue, Jun 29, 2010 at 6:22 AM, Bernd Schmidt = wrote: >> No, those parts of the buffer that weren't part of the match remain >> unaffected, we keep both the insns and their life information. =A0We only >> rebuild life for the new insns produced by the match. >> >> Here's a new version with a few more comments and a few remnants of old >> code removed. =A0I've also removed some dead code found in genrecog.c (g= ot >> sidetracked today into debugging the current peephole2 code again...); >> this was left in after your r34208 patch. > > I think this causes a bootstrap failure on x86_64-linux-gnu: > /home/apinski/src/gcc-fsf/local/gcc/objdir/./prev-gcc/xgcc > -B/home/apinski/src/gcc-fsf/local/gcc/objdir/./prev-gcc/ > -B/home/apinski/local-gcc/x86_64-unknown-linux-gnu/bin/ > -B/home/apinski/local-gcc/x86_64-unknown-linux-gnu/bin/ > -B/home/apinski/local-gcc/x86_64-unknown-linux-gnu/lib/ -isystem > /home/apinski/local-gcc/x86_64-unknown-linux-gnu/include -isystem > /home/apinski/local-gcc/x86_64-unknown-linux-gnu/sys-include =A0 =A0-c > -g -O2 -gtoggle -DIN_GCC =A0 -W -Wall -Wwrite-strings -Wcast-qual > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute > -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -Werror -Wold-style-definition -Wc++-compat -fno-common > -DHAVE_CONFIG_H -I. -I. -I/home/apinski/src/gcc-fsf/local//gcc/gcc > -I/home/apinski/src/gcc-fsf/local//gcc/gcc/. > -I/home/apinski/src/gcc-fsf/local//gcc/gcc/../include > -I/home/apinski/src/gcc-fsf/local//gcc/gcc/../libcpp/include > -I/home/apinski/src/gcc-fsf/local//gcc/gcc/../libdecnumber > -I/home/apinski/src/gcc-fsf/local//gcc/gcc/../libdecnumber/bid > -I../libdecnumber =A0-DCLOOG_PPL_BACKEND > /home/apinski/src/gcc-fsf/local//gcc/gcc/coverage.c -o coverage.o > /home/apinski/src/gcc-fsf/local//gcc/gcc/coverage.c: In function > =91htab_counts_entry_hash=92: > /home/apinski/src/gcc-fsf/local//gcc/gcc/coverage.c:151:1: error: > unrecognizable insn: > (insn 25 7 26 2 > /home/apinski/src/gcc-fsf/local//gcc/gcc/coverage.c:150 (set (reg:DI 1 > dx) > =A0 =A0 =A0 =A0(mem/s:SI (plus:DI (reg/v/f:DI 5 di [orig:64 of ] [64]) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(const_int 4 [0x4])) [15 entry_2->ctr+0 S4= A32])) -1 (nil)) > /home/apinski/src/gcc-fsf/local//gcc/gcc/coverage.c:151:1: internal > compiler error: in extract_insn, at recog.c:2127 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. I opened a bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44721 --=20 H.J.