[armel, fixed in 4.5] ICE in find_reloads, at reload.c in thumb mode

Bug #517156 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
High
Unassigned
4.4
Fix Released
Undecided
Unassigned
gcc-4.4 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gcc-4.4

seen with gcc-4.4 in lucid, not seen with -O1/-Os or -marm

$ g++ -O2 -c Execution.ii
/home/doko/tmp/llvm-2.7~svn20100203/lib/ExecutionEngine/Interpreter/Execution.cpp: In function 'llvm::GenericValue executeFCMP_OEQ(llvm::GenericValue, llvm::GenericValue, const llvm::Type*)':
/home/doko/tmp/llvm-2.7~svn20100203/lib/ExecutionEngine/Interpreter/Execution.cpp:299: error: unable to generate reloads for:
(insn 64 63 66 6 /home/doko/tmp/llvm-2.7~svn20100203/include/llvm/ADT/APInt.h:141 (set (subreg:SI (reg:DI 0 r0 [165]) 0)
        (ior:SI (ashift:SI (reg:SI 2 r2 [168])
                (const_int -31 [0xffffffffffffffe1]))
            (subreg:SI (reg:DI 0 r0 [165]) 0))) 670 {*thumb2_arith_shiftsi} (nil))
/home/doko/tmp/llvm-2.7~svn20100203/lib/ExecutionEngine/Interpreter/Execution.cpp:299: internal compiler error: in find_reloads, at reload.c:3781
Please submit a full bug report,
with preprocessed source if appropriate.

Revision history for this message
Matthias Klose (doko) wrote :
Matthias Klose (doko)
tags: added: toolchain
Loïc Minier (lool)
tags: added: thumb
Revision history for this message
Matthias Klose (doko) wrote :

fix needs import from linaro

Changed in gcc-4.4 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

This may be fixed by Paul's patch that's due to go into gcc-linaro any time now.

Changed in gcc-linaro:
importance: Undecided → High
Changed in gcc-linaro:
status: New → Fix Committed
Revision history for this message
Michael Hope (michaelh1) wrote :
Changed in gcc-linaro:
milestone: none → 4.4-2010.08-0
Revision history for this message
Michael Hope (michaelh1) wrote :

fixed-in: 93542

Revision history for this message
Michael Hope (michaelh1) wrote :

Note that the ICE does not occur in gcc-linaro 4.5+bzr99310.

Changed in gcc-linaro:
milestone: 4.4-2010.08-0 → none
Michael Hope (michaelh1)
Changed in gcc-linaro:
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

fixed 4.4_4.4.4-8ubuntu2

Changed in gcc-4.4 (Ubuntu):
status: Triaged → Fix Released
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.