This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
What is purpose of numbered variables??
- From: "Seema S. Ravandale" <ravandale at cse dot iitb dot ac dot in>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 2 Jun 2007 01:15:29 +0530 (IST)
- Subject: What is purpose of numbered variables??
- Reply-to: ravandale at cse dot iitb dot ac dot in
Hi.
What is purpose of introducing numbered variables kind of a.0 a.1...in
pre-SSA pass, which are actually copies of local variable say a.
I observed them specially in array references.
In case of global variable it is fine as we have to re-read global
variable and globals are treated as memory operations. Is this only
purpose in case of globals??
e.g
int b; //local variable
array[b] = c
will be translated to
b.0 = b;
array[b.0] = c
anything to do with SSA?
What if we disable them?
-Seema Ravandale