Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-sdd!apollo!madler From: madler@apollo.HP.COM (Michael Adler) Newsgroups: comp.sys.apollo Subject: Re: PRISM Fortran compiler causes trashing! Message-ID: <47625cb9.20b6d@apollo.HP.COM> Date: 12 Dec 89 16:41:00 GMT References: Sender: root@apollo.HP.COM Reply-To: madler@apollo.HP.COM (Michael Adler) Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 15 You are quite correct that 8MB isn't much for compiling large programs. However, I strongly discourage breaking apart source files for users with reasonable amounts of memory. The current Prism compilers compile depth first. Since leaf routines are coded first their register usage and some additional information about memory and condition code usage is available to routines that call them. Breaking routines apart into separate source files causes longer calling sequences, makes inlining (-opt 4) impossible and destroys any chances for interprocedural optimizations. -Michael Languages Group Apollo Computer