------- Comment #13 from jvdelisle at gcc dot gnu dot org 2009-11-28 01:46 ------- Created an attachment (id=19168) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19168&action=view) Updated patch
This exploratory patch passes all regression tests. I have also successfully compiled and run the polyhedron benchmarks. I have not tested higher order arrays to see if there is a compile time improvement yet. Feel free to test. What I hope to eventually do is move the expansion functions higher up the calling chain away from gfc_is_constant_expr. Regardless, this is gives a fairly good improvement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923