This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11884] Bad address passed to function with > 8 arguments


------- Additional Comments From danglin at gcc dot gnu dot org  2004-01-27 21:30 -------
On hppa64, the argument pointer is not a fixed register and the first
call clobbers it.  I believe that a copy of the argument pointer rtx is
created by function.c, but it appears that the addressof pass is not
using the copy but arg_pointer_rtx directly for the address calculation
used in the call to gets_ptr.

It appears you can work around the problem by assigning &arg9 to a
variable before the first call.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-07 17:12:56         |2004-01-27 21:30:23
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]