public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn
@ 2012-09-03 21:46 patenaude at gmail dot com
  2012-10-24 13:28 ` [Bug target/54473] " mans at mansr dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: patenaude at gmail dot com @ 2012-09-03 21:46 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: patenaude@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/54473] Compiling advancemame on raspberry pi yields unrecognizable insn
  2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
@ 2012-10-24 13:28 ` mans at mansr dot com
  2012-10-24 13:34 ` mans at mansr dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mans at mansr dot com @ 2012-10-24 13:28 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Mans Rullgard <mans at mansr dot com> 2012-10-24 13:28:25 UTC ---
Confirmed with 4.6.3.  No error with 4.5, 4.7, or 4.8.

The Linaro 4.6 branch does not have the problem either, so whatever they've
added seems to fix it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/54473] Compiling advancemame on raspberry pi yields unrecognizable insn
  2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
  2012-10-24 13:28 ` [Bug target/54473] " mans at mansr dot com
@ 2012-10-24 13:34 ` mans at mansr dot com
  2012-10-24 14:33 ` mikpe at it dot uu.se
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mans at mansr dot com @ 2012-10-24 13:34 UTC (permalink / raw)
  To: gcc-bugs


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

Mans Rullgard <mans at mansr dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mans at mansr dot com

--- Comment #2 from Mans Rullgard <mans at mansr dot com> 2012-10-24 13:34:03 UTC ---
Duplicate of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54473


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/54473] Compiling advancemame on raspberry pi yields unrecognizable insn
  2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
  2012-10-24 13:28 ` [Bug target/54473] " mans at mansr dot com
  2012-10-24 13:34 ` mans at mansr dot com
@ 2012-10-24 14:33 ` mikpe at it dot uu.se
  2012-10-27 13:42 ` mikpe at it dot uu.se
  2013-08-05 20:26 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-24 14:33 UTC (permalink / raw)
  To: gcc-bugs


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-24 14:33:02 UTC ---
(In reply to comment #2)
> Duplicate of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54473

Surely you didn't mean that PR54473 is a duplicate of itself?  Did you mean to
mark it a duplicate of PR52855 (or the other way around)?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/54473] Compiling advancemame on raspberry pi yields unrecognizable insn
  2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
                   ` (2 preceding siblings ...)
  2012-10-24 14:33 ` mikpe at it dot uu.se
@ 2012-10-27 13:42 ` mikpe at it dot uu.se
  2013-08-05 20:26 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-27 13:42 UTC (permalink / raw)
  To: gcc-bugs


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mikpe at it dot uu.se       |

--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-27 13:41:49 UTC ---
This ICE is fixed by the patch for PR50099.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/54473] Compiling advancemame on raspberry pi yields unrecognizable insn
  2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
                   ` (3 preceding siblings ...)
  2012-10-27 13:42 ` mikpe at it dot uu.se
@ 2013-08-05 20:26 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-08-05 20:26 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ramana at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Duplicate of 50099.

*** This bug has been marked as a duplicate of bug 50099 ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-05 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 21:46 [Bug c/54473] New: Compiling advancemame on raspberry pi yields unrecognizable insn patenaude at gmail dot com
2012-10-24 13:28 ` [Bug target/54473] " mans at mansr dot com
2012-10-24 13:34 ` mans at mansr dot com
2012-10-24 14:33 ` mikpe at it dot uu.se
2012-10-27 13:42 ` mikpe at it dot uu.se
2013-08-05 20:26 ` ramana at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).