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: [PATCH]


Eric Christopher wrote:

> Regrename wanted to start changing things around and inside the branch
> and then flow would complain about register liveness later. Optimization
> would also play havoc with varargs.

Ah, because the call pattern is thought to clobber reg 0 .. 5 !
Yes, this would explain a lot of weird behaviour.

Since the core problem is that the TPF trace calls are *not* actual
calls as they don't clobber any reg except 1, your patch makes
perfect sense now.

> I thought that it wouldn't be guaranteed to have anything there going in
> here, but I can add the clobber.

Please do; incomplete RTX semantics make me nervous ;-)

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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