From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7436 invoked by alias); 3 Apr 2012 20:09:41 -0000 Received: (qmail 7404 invoked by uid 22791); 3 Apr 2012 20:09:31 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KAM_STOCKTIP,SUBJ_OBFU_PUNCT_FEW,TW_BJ,TW_CX,TW_DC,TW_FP,TW_GX,TW_JL,TW_SW,TW_VF X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Apr 2012 20:09:10 +0000 From: "mpthompson at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 Date: Tue, 03 Apr 2012 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: mpthompson at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-04/txt/msg00214.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52855 Bug #: 52855 Summary: ARM: Internal compiler error: in extract_insn, at recog.c:2109 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: mpthompson@gmail.com Created attachment 27080 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D27080 Preprocessed *.i* file that triggers the bug. See command line in descript= ion to trigger bug. Using GCC 4.6.3 on Debian armhf to create ARMv6+VFP binaries for Raspberry = Pi computer. The compiler differs from the standard Debian Wheezy armhf as the configured with the options: --with-arch=3Darmv6 --with-float=3Dhard --with= -fpu=3Dvfp The file that triggers the error mg.c from a build of the Perl package. Te= st files and information to reproduce the error given below. ## ## GCC Version and Configurations Options=20 ## ## Note: --with-arch=3Darmv6 --with-float=3Dhard --with-fpu=3Dvfp ## $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion=3D'Debian 4.6.3-1' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=3Dc,c++,fortran,objc,obj-c++ --prefix=3D/usr --program-suffix=3D-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.6 --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=3Darmv6 --with-float= =3Dhard --with-fpu=3Dvfp --enable-checking=3Drelease --build=3Darm-linux-gnueabihf --host=3Darm-linux-gnueabihf --target=3Darm-linux-gnueabihf Thread model: posix gcc version 4.6.3 (Debian 4.6.3-1) ## ## System Type and Information ## Debian Wheezy armhf (hard float) install. $ uname -a Linux armor.home.lan 2.6.35.3-mx5 #1 PREEMPT Wed Mar 28 04:03:29 PDT 2012 armv7l GNU/Linux $ cat /proc/cpuinfo Processor : ARMv7 Processor rev 5 (v7l) BogoMIPS : 999.42 Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc08 CPU revision : 5 Hardware : Freescale MX53 LOCO Board Revision : 53321 Serial : 0000000000000000 ## ## Command Line To Reproduce Bug ## gcc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -D_FORTIFY_SOURCE=3D= 2 -g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Wformat-secur= ity -Werror=3Dformat-security -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 -g -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings -o cccPDUUP.o cccPDUUP.i ## ## Compiler Error Messages ## mg.c: In function =E2=80=98Perl_magic_get=E2=80=99: mg.c:1168:1: error: unrecognizable insn: (insn 1708 1707 1709 69 (set (reg:SI 2 r2) (sign_extend:SI (mem/s/j:QI (plus:SI (reg:SI 0 r0) (const_int 1681 [0x691])) [0 my_perl_54(D)->Iutf8cache+= 0 S1 A8]))) mg.c:967 -1 (nil)) mg.c:1168:1: internal compiler error: in extract_insn, at recog.c:2109 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/ccsQAOCv.out file, please attach this = to your bugreport. $