Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!yew.Berkeley.EDU!faustus From: faustus@yew.Berkeley.EDU (Wayne Christopher) Newsgroups: comp.lang.misc Subject: Re: NOT Educating FORTRAN programmers to use C Message-ID: <21318@pasteur.Berkeley.EDU> Date: 21 Jan 90 21:42:09 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: faustus@yew.Berkeley.EDU (Wayne Christopher) Organization: University of California at Berkeley Lines: 11 > Fortran permits > optimization of procedure arguments that C must assume are aliased - no > optimizer, no matter how sophisticated, can eliminate this difference. What's wrong with compiling a "safe" version of the function that assumes the arguments are aliased and a "fast" version that assumes they are not, and deciding which one to use at runtime by comparing the arguments? I don't know if any compilers do this, but I've heard the suggestion before. Wayne