http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54473

             Bug #: 54473
           Summary: Compiling advancemame on raspberry pi yields
                    unrecognizable insn
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: patena...@gmail.com


Created attachment 28126
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28126
preprocessed file that produces the error

Trying to compile advancemame-0.106.1 on a raspberry pi (target
arm-linux-gnueabihf) yeilds an unrecognizeable insn error.

Compiler error message:
src/cpu/sh2/sh2.c: In function ‘sh2_get_info’:
src/cpu/sh2/sh2.c:3217:1: error: unrecognizable insn:
(insn 2034 2033 2035 183 (set (subreg:SI (reg:DI 362 [ sh2.irq_line_state ]) 0)
        (sign_extend:SI (mem/s/j/c:QI (plus:SI (reg/f:SI 361)
                    (const_int 260 [0x104])) [0 sh2.irq_line_state+0 S1 A32])))
src/cpu/sh2/sh2.c:3111 -1
     (nil))
src/cpu/sh2/sh2.c:3217:1: internal compiler error: in extract_insn, at
recog.c:2109

output of gcc -v:
pi@raspberrypi ~/advancemame-0.106.1 $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-8+rpi1'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6
--with-fpu=vfp --with-float=hard --enable-checking=release
--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-8+rpi1) 

Attached preprocessed file

Reply via email to