[Bug lto/45727] ICE: in subreg_get_info, at rtlanal.c:3092

2010-09-21 Thread rafael dot carre at gmail dot com
--- Comment #4 from rafael dot carre at gmail dot com 2010-09-21 15:20 --- Same output with -mcpu=arm926ej-s or -mcpu=arm7tdmi What did you mean with "when I configure" ? I posted gcc -v output, should I rebuild gcc with a specific option? I build with http://www.rockb

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #13 from rafael dot carre at gmail dot com 2010-09-20 15:46 --- Is there something wrong with the first hunk of the patch (arm_movt) ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #7 from rafael dot carre at gmail dot com 2010-09-20 11:08 --- I didn't bisect. Did you try r139881? If I download a checkout (I'm using a snapshot) to bisect I could use this as a working starting point. TARGET_USE_MOVT uses arm_arch_thumb2 just like my patch s

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #5 from rafael dot carre at gmail dot com 2010-09-20 08:17 --- Created an attachment (id=21845) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21845&action=view) Only emit MOVT when the targetted CPU is Thumb2-able -- rafael dot carre at gmail dot com

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #4 from rafael dot carre at gmail dot com 2010-09-20 07:47 --- Created an attachment (id=21844) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21844&action=view) Only emit MOVT when targetting Thumb2 Tentative patch. However as suggested by the original TARGE

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #3 from rafael dot carre at gmail dot com 2010-09-20 07:24 --- I made a CVS checkout of binutils yesterday. You're right, MOVT is supported on ARMv7 because all ARMv7 supports Thumb2, http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001m/QRC0001_UAL.pdf (It says

[Bug lto/45729] New: -flto conflicts with -mthumb

2010-09-19 Thread rafael dot carre at gmail dot com
FIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rafael dot carre at gmail dot com GCC target triplet: arm-elf-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45729

[Bug lto/45727] ICE: in subreg_get_info, at rtlanal.c:3092

2010-09-19 Thread rafael dot carre at gmail dot com
--- Comment #1 from rafael dot carre at gmail dot com 2010-09-19 11:35 --- Created an attachment (id=21833) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21833&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45727

[Bug lto/45727] New: ICE: in subreg_get_info, at rtlanal.c:3092

2010-09-19 Thread rafael dot carre at gmail dot com
/arm-elf-eabi-cvs/bin/arm-elf-eabi-gcc returned 1 exit status collect2: lto-wrapper returned 1 exit status make: *** [a.out] Error 1 -- Summary: ICE: in subreg_get_info, at rtlanal.c:3092 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rafael dot carre at gmail dot com GCC target triplet: arm-elf-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45727

[Bug c/45726] New: Thumb2 instruction emitted for incompatible CPU

2010-09-19 Thread rafael dot carre at gmail dot com
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rafael dot carre at gmail dot com GCC target triplet: arm-elf-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726