[armel] unrecognizable insn with -mthumb

Bug #490466 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.4 (Ubuntu)
Fix Released
Undecided
Unassigned
mysql-dfsg-5.1 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.4

seen with 4.4.2-3ubuntu1; either using -O0 _or_ -marm doesn't show the ICE

$ gcc -DHAVE_CONFIG_H -I. -I../../../storage/myisam -I../../include -I../../../include -I../../include -I../../../regex -I../../../sql -I../../../storage/myisam -O2 -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -MT mi_check.o -MD -MP -MF .deps/mi_check.Tpo -c -o mi_check.o ../../../storage/myisam/mi_check.c -save-temps
../../../storage/myisam/mi_check.c: In function 'chk_index_down':
../../../storage/myisam/mi_check.c:640: error: unrecognizable insn:
(insn 251 250 96 9 ../../../storage/myisam/mi_check.c:608 (set (reg:SI 3 r3 [+4 ])
        (and:SI (not:SI (ashiftrt:SI (reg:SI 1 r1 [175])
                    (const_int 31 [0x1f])))
            (reg:SI 3 r3 [+4 ]))) -1 (nil))
../../../storage/myisam/mi_check.c:640: internal compiler error: in extract_insn, at recog.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.

Tags: armel armv7
Revision history for this message
Matthias Klose (doko) wrote :
tags: added: armel
removed: armell
Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Patch posted upstream which should hopefully fix this:

http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00118.html

Revision history for this message
Matthias Klose (doko) wrote :

fixed in gcc-4.4 4.4.2-1ubuntu2

Changed in gcc-4.4 (Ubuntu):
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

mysql currently rebuilding, passed the build stage

Changed in mysql-dfsg-5.1 (Ubuntu):
status: New → Fix Released
Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Appears fixed in fixed in 4.4.2-5ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.