From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9020 invoked by alias); 25 May 2002 19:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8999 invoked by uid 71); 25 May 2002 19:36:00 -0000 Resent-Date: 25 May 2002 19:36:00 -0000 Resent-Message-ID: <20020525193600.8998.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, nottelm@uni-muenster.de Received:(qmail 8260 invoked by uid 61); 25 May 2002 19:31:59 -0000 Message-Id:<20020525193159.8259.qmail@sources.redhat.com> Date: Sat, 25 May 2002 12:56:00 -0000 From: nottelm@uni-muenster.de Reply-To: nottelm@uni-muenster.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/6813: Internal compiler error in extract_insn, at recog.c:2132 X-SW-Source: 2002-05/txt/msg00809.txt.bz2 List-Id: >Number: 6813 >Category: c >Synopsis: Internal compiler error in extract_insn, at recog.c:2132 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sat May 25 12:36:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bernd Nottelmann >Release: gcc-3.1 >Organization: >Environment: System: Linux pt2037 2.4.18 #1 SMP Tue Feb 26 15:56:57 MET 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../configure --prefix=/usr --enable-shared --enable-threads=posix --with-system-zlib >Description: I discovered this bug when I was compiling kde-multimedia-3.0.1 (originally I thought it was a C++-bug). One has to compile the testcase bug.c at least with the following options: -O2 -funroll-loops -fforce-addr, without one of them bug.c compiles. Ok let's see what happens: #gcc -O2 -funroll-loops -fforce-addr -c bug.c bug.c: In function `foo': bug.c:17: unrecognizable insn: (insn 189 168 191 (set (reg:SI 84) (ashift:SI (reg/v:SI 60) (const_int 3 [0x3]))) -1 (nil) (nil)) bug.c:17: Internal compiler error in extract_insn, at recog.c:2132 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. There seems to be an translation problem between abstract and real instructions. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="bug.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bug.c" aW50IGEoKTsKaW50IGIoKTsKCnZvaWQgZm9vKGludCAqbGVmdCwgaW50ICpyaWdodCkgewogIGlu dCBpID0gMDsKICBpbnQgbSA9IGEoKTsKICBpbnQgbiA9IGIoKTsKICAKICBpZiAobSA9PSAxKQog ICAgd2hpbGUoaSA8IG4pIGkrKzsKICBlbHNlCiAgICB3aGlsZShpICogMiAqIHNpemVvZihpbnQp IDwgbikKICAgICAgewoJbGVmdFtpXSA9IHJpZ2h0W2kqMl07CglpKys7CiAgICAgIH0KfQo=