This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Profiling broken on powerpc-ibm-aix4.1.4.0
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Profiling broken on powerpc-ibm-aix4.1.4.0
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 18 Jul 2000 14:55:55 -0400
- cc: geoffk at cygnus dot com, gcc-bugs at gcc dot gnu dot org
The problem is that with the scheduled prologue, GCC is scheduling
instructions around the call to the profiler without treating it as a
normal call with normal volatile register issues. The AIX profile
subroutine is using some volatile scratch registers but the backend does
not "see" the call and does not preserve them or avoid moving instructions
across that call.
Geoff probably has better insight into how to handle this
situation properly.
David