From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bef8e21926717080 X-Google-Attributes: gid1164f8,public From: peterm@landau.EECS.Berkeley.EDU (Peter Mardahl) Subject: Re: gcc2.6.0 for DEC OSF1 V3.2 41 alpha Date: 1996/03/21 Message-ID: <4iqpdq$9et@agate.berkeley.edu>#1/1 X-Deja-AN: 143477225 references: <4iq29q$k1m@pulp.ucs.ualberta.ca> organization: University of California, Berkeley newsgroups: comp.sys.dec In article <4iq29q$k1m@pulp.ucs.ualberta.ca>, Nader Behzad wrote: >Does anyone have gcc2.6.0 compiled for DEC? Could you tell if there >are patches available for it. I have a hard time compiling this version >of gcc on my machine. It complains about running out of bounds. There is >a patch available for gcc2.7.2 but nothing for gcc2.6.0. > >I get floating exception problems when my source is compiled with gcc2.7.2. >This code has been working on every other platform (using gcc2.6.0). Dear Nader, I use g++2.7.2 on the alphas. At first, when we did a port from SunOS to Digital Unix of the code, we had many floating exceptions which never showed up before. In each case, it turned out we were: 1) assigning invalid data (uninitialized memory) to a variable (even if we never used the variable again and didn't care about he value) or 2) doing a division by zero (which SunOS would just ignore) In both cases, we'd rather have the computer crash and tell us we were doing something wrong (it is wrong, even though we had never noticed the problem before) than have it go on as if nothing had happened, as would happen in SunOS. It's possible that your program is doing such things, which other architectures allow but which alphas don't, but which are nevertheless wrong. If that's the case, it is your program which needs correction, not gcc. Though your situation may not be the same as ours was. I hope your problem gets solved one way or the other. Regards, PeterM