From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a8214e375c4e1582 X-Google-Attributes: gid111c93,public From: "Michael A. Mackey" Subject: Re: Seg fault with g77 and format statement Date: 1997/11/05 Message-ID: <3460EF0A.92746EFD@radonc.wustl.edu>#1/1 X-Deja-AN: 287256413 References: <34603C09.235ABDB2@fs1.scg.man.ac.uk> Organization: Zippo News Service [http://www.zippo.com] Newsgroups: comp.os.linux.alpha I have just built g77-0.5.21 and tested it using the code you produced: no crash. You might want to either upgrade g77 (if you have an earlier version), or get the new patches (g77-970914.diff and g77-970923.diff) which are supposed to fix crashes like you are getting. If you upgrade, you'll probably want to patch the source code before compiling it (as I did) using these patches, along with whatever you get with the source tree. Andy Almond wrote: > I am using g77 on PC164LX running redhat 4.2. The compiler seems quite > good except for an unusual segmentation fault when executing a format > statement. For example > > .... > write (*,10) > 10 format (/,'hello',/) > .... > > either (a) doesn't print anything or (b) causes a crash. > > Has anyone else noticed this? I would be grateful for any advice. > > Regards, > > Andy Almond > > University of Manchester. UK.