From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,acd1d1140c96d19b,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,acd1d1140c96d19b,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1990-03-30 11:12:37 PST Path: gmdzi!unido!mcsun!inria!geocub!lutmann From: lutmann@geocub.greco-prog.fr Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Compiler Error [umerge] - HELP Keywords: problem with cc -On, n>2 Message-ID: <1794@geocub.greco-prog.fr> Date: 30 Mar 90 19:12:37 GMT Sender: news@geocub.greco-prog.fr Reply-To: lutmann@goofi.UUCP (Patrice Lutmann, 3e Info, DEA) Organization: ENSERB, Computer Science University, Bordeaux, FRANCE Xref: gmdzi comp.unix.ultrix:2482 comp.sys.dec:2194 Posted: Fri Mar 30 20:12:37 1990 Hi! That's: DecStation 3100 - Ultrix 3.{0,1} - 16 Mb Sometimes (in fact very often), when I try to compile some nice C programs with the highest level of optimization (the -O3 flag when I use cc[2.1] or -O4 with cc[1.31]), the result is: - an infinite loop with (umerge2.1) - pid n (umerge1.31) was killed on kernel access Fatal error in: /usr/lib/umerge1.31 Bus error What can I do? I *DO* like the -On (n>2) flag because the resulting code is about 30% (up to 60%, average 50%) faster than a code compiled without this flag. I'd appreciate any help or explanation... Patrice. BTW. I've installed gcc[1.37.1] but the code produced is *NOT* faster. In fact, 30% slower :-( Did I miss a "wizard" otpion? .-----------------------------. | Johan | ...!uunet!mcsun!inria!geocub!goofi!lutmann | On goofi, at ENSERB, France | ...!uunet!mcsun!inria!geocub!deimos!pat `-----------------------------'