This is the mail archive of the
mailing list for the GCC project.
gcc register allocation
- From: "Purll, Duncan" <Duncan dot Purll at barco dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Sat, 28 Jul 2007 07:13:33 +0200
- Subject: gcc register allocation
I am in the process of verifying that gcc (3.3.2) produces traceable
object code (ie. gcc does not introduce 'hidden' structure into the
I have created a file with several functions containing various
combinations of C constructs and I intend to examine the resulting
object code (PowerPC 604 target) to determine traceability.
What I need and can't seem to find is a method of determining the
register allocation (to specific variable) for each resulting object
This 'must' be available in some debug format(?)
I could of course do this by inspection but this is subject to errors
and is time consuming.
Is there any convenient way I can get gcc to dump this information when
I compile the code?
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.