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: Handle multi-word regsiters in REG_CFA_RESTORE notes


On 09/21/11 19:33, Richard Henderson wrote:
> Why, then, is this the only place in dwarf2cfi that needs to handle
> registers via a loop over nregs?  It seems to me that we should either
> be handling multi-register spans everywhere or nowhere.
> 
> Because alternately, this could be a bug in your backend that you
> failed to add two RESTORE notes instead of just one...

Well, changing the backend works too. Patch below.


Bernd

Attachment: mips-ep64.diff
Description: Text document


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