This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH to expose calculation of VLA ARRAY_REFs
Pop Sébastian wrote:
However I think that reconstruct ("promote") arrays dimensions is the
right thing to do when array accesses are mixed with pointer arithmetics.
Such a pass is described by O'Boyle and then slightly modified by Engelen:
http://citeseer.nj.nec.com/485503.html
Ah, so that's what Robert van Engelen ended up doing ... five years ago
he worked for us, on a program generator. Meant to generate our
numerical weather prediction codes from "first principles", i.e. all the
way from the continuous equations to the Fortran code solving the
discretized equations. His generator managed to point out a redundancy
in our original equations by CSE'ing it away :-)
--
Toon Moene - mailto:toon at moene dot indiv dot nluug dot nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)