This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
variable renaming
- To: gcc at gcc dot gnu dot org
- Subject: variable renaming
- From: Christophe Jaillet <tititou at caramail dot com>
- Date: Fri, 30 Jun 2000 09:14:06 GMT+1
Hi,
I would like to know if egcs is able to rename variables
in oder togive more oportunities to the register allocator
? Look at the code below to see what I mean.
It would change :
int i;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (i=3d0; i<LIMIT_2; i++)
{ ... }
into :
int i, new_var;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (new_var=3d0; new_var<LIMIT_2; new_var++)
{ ... }
______________________________________________________
Bo=eete aux lettres - Caramail - http://www.caramail.com