This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: getting non-global variable names from RTL
Mihai Burcea wrote:
I am writing a small optimization pass for gcc-3.3.1, and I would need to
be able to identify the arguments that were passed to the current
function on the stack with their counterparts from the source code
It sounds like you want some inter-procedural analysis (IPA) info. This
is something that gcc does very poorly to not at all.
I suspect the only place that gcc had this info is during function inlining.
There might be some stuff on the tree-ssa branch that would be useful to
you. It does have some IPA. I don't know how you would get the
information though, as I don't work on the tree-ssa branch.
It would help if you clarified what you want. Examples are always good.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com