------- Additional Comments From aurelien at aurel32 dot net 2005-01-31 15:47 ------- Subject: Re: ICE when building a m68hc11 cross-compiler on ia64
pinskia at gcc dot gnu dot org wrote: > ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-31 > 15:14 ------- > Are you sure that this is not a IA64 bug? > Can you check the cross compiler compiled at -O0 since this sounds like a > IA64 bug, also try with a > newer ia64 compiler. The problem is still present when the cross compiler is compiled at -O0. I tried to build it with gcc 2.96, 3.2.3 and 3.3.5. I currently don't have access to gcc 3.4 on an ia64 box. I also tried to run gcc with "-da", which gives me a lot files, with a content that I don't understand. I have done the same on an i386 arch, and there is some differences: ----------------------- ia64, fp-bit.c.00.rtl ;; Function ice (note 1 0 2 ("fp-bit.c") 8) (note 2 1 3 NOTE_INSN_DELETED) (note 3 2 4 NOTE_INSN_FUNCTION_BEG) (note 5 4 6 0x20000000002dc720 NOTE_INSN_BLOCK_BEG) (note 6 5 7 NOTE_INSN_DELETED) (note 7 6 8 ("fp-bit.c") 9) (note 8 7 9 ("fp-bit.c") 10) (note 9 8 10 ("fp-bit.c") 13) (insn 10 9 11 (nil) (set (reg/f:HI 53) (mem/f:HI (plus:HI (reg/f:HI 49 virtual-stack-vars) (const_int 4 [0x4])) [0 bar+0 S2 A16])) -1 (nil) (nil)) (insn 11 10 12 (nil) (parallel [ (set (reg:SI 54) (mem/f:SI (reg/f:HI 49 virtual-stack-vars) [0 c+0 S4 A32])) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (insn 12 11 13 (nil) (parallel [ (set (reg:SI 55) (ior:SI (reg:SI 54) (const_int 1 [0x1]))) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (insn 13 12 14 (nil) (parallel [ (set (mem/s/j:SI (plus:HI (reg/f:HI 53) (const_int 1 [0x1])) [0 <variable>.b+0 S4 A8]) (reg:SI 55)) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (note 14 13 15 0x20000000002dc720 NOTE_INSN_BLOCK_END) (note 15 14 16 NOTE_INSN_FUNCTION_END) (note 16 15 17 ("fp-bit.c") 14) (code_label 17 16 0 1 "" [0 uses]) ----------------------- same file on i386: ;; Function ice (note 1 0 2 ("fp-bit.i") 8) (note 2 1 3 NOTE_INSN_DELETED) (note 3 2 4 NOTE_INSN_FUNCTION_BEG) (note 4 3 5 NOTE_INSN_DELETED) (note 5 4 6 0xb7cc62c0 NOTE_INSN_BLOCK_BEG) (note 6 5 7 NOTE_INSN_DELETED) (note 7 6 8 ("fp-bit.i") 9) (note 8 7 9 ("fp-bit.i") 10) (note 9 8 10 ("fp-bit.i") 13) (insn 10 9 11 (nil) (set (reg/f:HI 53) (mem/f:HI (plus:HI (reg/f:HI 49 virtual-stack-vars) (const_int 4 [0x4])) [0 bar+0 S2 A16])) -1 (nil) (nil)) (insn 11 10 12 (nil) (parallel [ (set (reg:SI 54) (mem/f:SI (reg/f:HI 49 virtual-stack-vars) [0 c+0 S4 A32])) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (insn 12 11 13 (nil) (parallel [ (set (reg:SI 55) (ior:SI (reg:SI 54) (const_int 1 [0x1]))) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (insn 13 12 14 (nil) (parallel [ (set (mem/s/j:SI (plus:HI (reg/f:HI 53) (const_int 1 [0x1])) [0 <variable>.b+0 S4 A8]) (reg:SI 55)) (clobber (scratch:HI)) ]) -1 (nil) (nil)) (note 14 13 15 0xb7cc62c0 NOTE_INSN_BLOCK_END) (note 15 14 16 NOTE_INSN_FUNCTION_END) (note 16 15 17 ("fp-bit.i") 14) (code_label 17 16 0 1 "" [0 uses]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19724