Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: cc dumps core on this program why? Message-ID: <26CD4D1A.107@marob.masa.com> Date: 18 Aug 90 14:13:45 GMT References: <1990Aug17.155435.24205@d.cs.okstate.edu> Organization: ESCC, New York City Lines: 36 klarich@d.cs.okstate.edu (KLARICH TERRY JAME) writes: >I am running xenix 2.3.2 for 386. I have installed the lng085 update. >Consider this program. Why does cc dump core? > >#include >#include > >main() >{ >double d; > d = MAXDOUBLE; >} I tried this on 2.3.1, 2.3.2, and 2.3.3; 2.3.1 and 2.3.2 both have the lng085 patch. None of them dump core. Here's the script from 2.3.2: Script started [typescript] at Sat Aug 18 10:05:03 1990 daveh$ cat >c.c #include #include main() { double d; d = MAXDOUBLE; } daveh$ cc c.c c.c daveh$ a.out daveh$ Script ended [typescript] at Sat Aug 18 10:05:28 1990 -- Dave Hammond daveh@marob.masa.com uunet!masa.com!marob!daveh