[Bug rtl-optimization/22239] [4.0/4.1 Regression] i-cobol.adb:482: error: unrecognizable insn

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Sat Jul 9 01:32:00 GMT 2005


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-07-09 00:41 -------
Subject: Re:  [4.0/4.1 Regression] i-cobol.adb:482: error: unrecognizable insn

> Compile the this file with -O2 -g on an arm-elf cross

Looks like a target, or possibly a different loop bug to me:

(gdb) p debug_rtx (v->new_reg)
(plus:SI (reg:SI 993)
    (const_int -60 [0xffffffc4]))

(gdb) p debug_rtx (v->insn)
(insn 1785 3575 1792 (parallel [
            (set (mem/s:SI (reg/f:SI 624) [41 adpm S4 A32])
		(reg:SI 0 r0))
	    (set (mem/s:SI (plus:SI (reg/f:SI 624)
			(const_int 4 [0x4])) [41 adpm S4 A32])
		(reg:SI 1 r1))
	    (set (mem/s:SI (plus:SI (reg/f:SI 624)
			(const_int 8 [0x8])) [41 adpm S4 A32])
		(reg:SI 2 r2))
	    (set (mem/s:SI (plus:SI (reg/f:SI 624)
			(const_int 12 [0xc])) [41 adpm S4 A32])
		(reg:SI 3 r3))
	]) -1 (nil)
     (nil))

(gdb) p debug_rtx (*v->location)
(plus:SI (reg/f:SI 624)
    (const_int 12 [0xc]))

So, it's apparently not valid to substitute a reg into the fourth instruction
of the above parallel on arm-elf.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22239



More information about the Gcc-bugs mailing list