This is the mail archive of the gcc-patches@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]

Re: Reload patch for PA call rewrite.


> Huh?  How can that be?  You've got to know how large your 
> stack frame is...  The definition of virtual_cfa_rtx must
> must be wrong for pa64.  So does dwarf2 EH work at all?

Not yet.  It's using sjlj exceptions at this point.  There
are still issues with the linker.  In fact, the arg pointer
offset to the stack pointer is not related to the frame size
but to the cumulative size of the outing args of the caller
which of course varies from one caller to another (and
compiler as the HP compiler does this slightly differently
than gcc).

The hppa-linux port is using dwarf2 EH.  It seems to work.
The only problem that I am aware of that might be related is
PR c++/8329 but this also was a problem before the dwarf2
implementation.  The difference there is that args grow
downward, so the offset to the first arg can always be
determined from the stack pointer.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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