This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32337] [4.3 Regression] Error: Register number out of range 0..1
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2007 16:35:29 -0000
- Subject: [Bug target/32337] [4.3 Regression] Error: Register number out of range 0..1
- References: <bug-32337-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2007-07-04 16:35 -------
Created an attachment (id=13846)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13846&action=view)
gcc43-pr32337.patch
The problem seems to be caused by the addition of the
emitted_frame_related_regs
array, there are several issues I found (see this patch) and in the end
two of the 3 saved registers (RP, PFS, FP) were saved in the same register,
which caused severe havoc.
I'll try to bootstrap/regtest this on ia64-linux, so far I have only tested
that it cures the testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32337