Thank you for the bug report. I've confirmed this with gcc-
linaro-4.5-2011.06-0 on x86_64 in 32 bit mode:

michaelh@crucis:~/linaro/bugs$ 
~/linaro/toolchains/gcc-linaro-4.5-2011.06-0-x86_64-maverick-cbuild130-crucis-x86_64r1/bin/g++
 -c -O2 -m32 -g -march=prescott -mtune=prescott asn.ii
asn.cpp: In member function ‘void 
CryptoPP::OID::DEREncode(CryptoPP::BufferedTransformation&) const’:
asn.cpp:254:1: error: unrecognizable insn:
(insn 178 162 179 2 asn.cpp:248 (set (reg:SI 2 cx)
        (mem:QI (plus:SI (reg/f:SI 1 dx [orig:60 D.44160 ] [60])
                (const_int 4 [0x4])) [16 S1 A32])) -1 (nil))
asn.cpp:254:1: internal compiler error: in extract_insn, at recog.c:2110

The work around is to compile without -march=prescot.  The fault was
introduced in gcc-linaro-4.5-2011.03-0.  It does not exist in gcc-
linaro-4.6-2011.06-0, gcc 4.5, gcc 4.6, or gcc trunk r176133.

I've set it to medium priority as it is a ftbfs and has a work around.


** Also affects: gcc-linaro
   Importance: Undecided
       Status: New

** Changed in: gcc-linaro
       Status: New => Triaged

** Changed in: gcc-linaro
   Importance: Undecided => Medium

** Also affects: gcc-linaro/4.5
   Importance: Medium
       Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/807156

Title:
  GCC (g++):internal compiler error: in extract_insn, at recog.c:2104

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/807156/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to