This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EH question and registers
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 6 Jul 04 21:11:05 EDT
- Subject: 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.