This is the mail archive of the gcc@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: EH question and registers


    Amd64 r12 (don't make us guess what platform next time) is a call-clobbered
    register.  The value that was allocated to r12 clearly isn't thought to be
    live across the throw or catch, or it wouldn't have been allocated there.

The reason I didn't mention the platform (and almost accidentally mentioned
the register) is that I just assumed it was not a call-clobbered register
since it was live over *calls* too.  I was thinking more of an EH issue
than a call-clobber issue.

Hmm... interesting ...

I'll have to see if the CFG is correct and look at register allocation.

Thanks.


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