This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16925] ICC when building a m68hc11 cross-compiler on 64-bit architectures
- From: "aurelien at aurel32 dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2004 22:25:47 -0000
- Subject: [Bug target/16925] ICC when building a m68hc11 cross-compiler on 64-bit architectures
- References: <20040808232347.16925.aurelien@aurel32.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From aurelien at aurel32 dot net 2004-08-11 22:25 -------
Reduced testcase:
typedef unsigned int UDItype __attribute__ ((mode (DI)));
void ICE_on_64bit_archs (void)
{
UDItype a;
a |= 0x8000000000000LL;
}
It compiles well on 32-bit machines, and I get an ICE on 64-bit machines:
test2.c: In function `ICE_on_64bit_archs':
test2.c:7: error: could not split insn
(insn 9 17 11 (parallel [
(set (mem/f:DI (plus:HI (reg:HI 0 x)
(const_int 1 [0x1])) [0 a+0 S8 A64])
(ior:DI (mem/f:DI (plus:HI (reg:HI 0 x)
(const_int 1 [0x1])) [0 a+0 S8 A64])
(const_int 2251799813685248 [0x8000000000000])))
(clobber (reg:HI 1 d))
]) 81 {iordi3} (nil)
(nil))
test2.c:7: internal compiler error: in final_scan_insn, at final.c:2429
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16925