------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2007-04-07 03:37 ------- Subject: Re: FAIL: gcc.dg/Warray-bounds.c (internal compiler error)
The ICE is caused by the presence of this insn: (insn 124 118 128 2 (set (mem/s:SI (plus:SI (reg/f:SI 30 %r30) (const_int -100 [0xffffff9c])) [4 c.c+44 S4 A32]) (const_int 0 [0x0])) 37 {*pa.md:2537} (nil) (nil)) The insn is emitted during expand as: ;; c.c[11] = 0 (insn 124 122 0 (set (mem/s:SI (plus:SI (reg/f:SI 90 virtual-stack-vars) (const_int 84 [0x54])) [4 c.c+44 S4 A32]) (const_int 0 [0x0])) -1 (nil) (nil)) The fact that we have a conflict with a memory location used for a general register save suggests that there is a problem with the size of the frame for this function. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31500