------- 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