Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.nd.edu!caradhras.cc.nd.edu!mahesh From: mahesh@caradhras.cc.nd.edu (Mahesh "BigMan" Subramanya) Newsgroups: comp.unix.aix Subject: Bug/Feature of Fortran under 3003? Message-ID: <1991Apr11.150613.24468@news.nd.edu> Date: 11 Apr 91 15:06:13 GMT Article-I.D.: news.1991Apr11.150613.24468 Sender: news@news.nd.edu (USENET News System) Reply-To: mahesh@caradhras.cc.nd.edu (Mahesh "BigMan" Subramanya) Organization: Univ. of Notre Dame Lines: 22 We just upgraded to 3003 recently, and came across this rather neat bug/feature of the FORTRAN compiler, where when a program is compiled with the optimizer turned on, the compiler merrily "skips" over entire sections of code. It looks like DO loops are the most likely candidates for being skipped over. I've not been able to track the specifics down yet (very large source). Has anyone seen this, and do you know what it is Oh, B.T.W., compiling without the optimizer works fine... Frustrated and Frantic... -- ************************************************************************ Mahesh Subramanya INTERNET: mahesh@darwin.cc.nd.edu Senior Analyst Office of University Computing University of Notre Dame Voice: (219) 239-5600 x6421 Notre Dame, IN 46556 ************************************************************************