This paper presents two economical storage algorithms for static storage allocation in the compiler.The call relation between progam units is calculated by means of WARSHALL algorithm and its extension.Based upon the relation, there peated allocation of economizing run-time storage is obtained.These algorithms can be also employed in the economical allocation of optimal array elements index register