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: stock@fermi.infomagic.nl (Robert Stockmann) Subject: Re: gcc2.6.0 for DEC OSF1 V3.2 41 alpha Date: 1996/03/23 Message-ID: <9603232405.143617@fermi.infomagic.nl>#1/1 X-Deja-AN: 143966479 distribution: world references: <4iq29q$k1m@pulp.ucs.ualberta.ca> <4iqpdq$9et@agate.berkeley.edu> organization: InfoMagic Nederland VOF x-news-software: W-NEWS Release 4.4.4 for Linux reply-to: stock@infomagic.nl newsgroups: comp.sys.dec Peter Mardahl (peterm@landau.EECS.Berkeley.EDU) wrote: : 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. I prefer to use gcc-2.6.3 . This version doesn't give me any problems on several platforms. I use it on SunOS 4.1.* , Ultrix 4.3 and Linux. Robert -- ++---------------------------++----------------------------------------++ || R.M. Stockmann || InfoMagic Nederland VOF || || stock@infomagic.nl || Unix administration & support || || tel: +31 162 421747 || P.O.Box 4375 || || fax: +31 23 5354442 || NL-4900 CJ Oosterhout || || http://www.infomagic.nl || The Netherlands || ++---------------------------++----------------------------------------++