This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/31500] FAIL: gcc.dg/Warray-bounds.c (internal compiler error)
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2007 02:37:22 -0000
- Subject: [Bug rtl-optimization/31500] FAIL: gcc.dg/Warray-bounds.c (internal compiler error)
- References: <bug-31500-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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