Scalar Replacement

Canqun Yang canqun@nudt.edu.cn
Wed Sep 22 15:51:00 GMT 2004


Hi, all

I'm going to implement scalar replacement optimization 
on trees of GCC backend. Does anyone plan to do the 
same work? If so, please let me know.

By now, the problem I encountered is the 
representation for array references of Fortran 95. As 
Gnu Fortran 95 frontend converts multi-dimensions 
arrays to one-dimension array references, it is hard 
to recover the number of dimensions and the index of 
each dimension for array references. This makes the 
dependence relation analysis failed to perform on tree 
loops.

Is there any way to recover those information without 
modifying the Fortran 95 frontend?

Or, if not. How to modify the frontend to satisify 
this? 

I'm looking forward for suggestions. 



Canqun Yang
Creative Compiler Research Group.
National University of Defense Technology, P. R. China.



More information about the Gcc mailing list