This is the mail archive of the gcc@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]

What is purpose of numbered variables??


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


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