From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d6180a4accedcc42,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,86b52dc0e0192a3e X-Google-Attributes: gidfee84,public X-Google-Thread: 1094ba,d6180a4accedcc42,start X-Google-Attributes: gid1094ba,public From: Dan.Pop@mail.cern.ch (Dan Pop) Subject: Re: f77 and cc optimization problem on osf v3.2 Date: 1995/07/03 Message-ID: #1/1 X-Deja-AN: 105520526 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: ues5.cern.ch references: <3srrb4$qhe@usenet.ucs.indiana.edu> <3t85a0$1na@no-names.nerdc.ufl.edu> organization: CERN European Lab for Particle Physics newsgroups: comp.unix.osf.osf1,comp.lang.fortran,comp.sys.dec In <3t85a0$1na@no-names.nerdc.ufl.edu> siopis@astro.ufl.edu (Christos Siopis) writes: >Hi, > >Recently there was a thread on a bug of OSF's cc compiler, regarding the >-O3 optimization option. I have a problem with the *Fortran* compiler that >I suspect can be traced back to cc's bug. Here is my problem: > >---------------- >% f77 -v nbmod.f >/usr/lib/cmplrs/fort/decfort -o /tmp/forAAAaanbea.o nbmod.f >/usr/bin/cc -v /usr/lib/cmplrs/fort/for_main.o /tmp/forAAAaanbea.o -O4 -lUfor >-lfor -lFutil -lm -lots >/usr/lib/cmplrs/cc/ld -g0 -O4 -call_shared /usr/lib/cmplrs/cc/crt0.o >/usr/lib/cmplrs/fort/for_main.o /tmp/forAAAaanbea.o -lUfor -lfor -lFutil >-lm -lots -lc >Assertion failed: 0, file ../../../../../../src/usr/ccs/lib/libmld/ >cmrlc_produce.c, line 864 >0.2u 0.0s 0:00 30% 0+7k 18+8io 1pf+0w >Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap >fort: Severe: Failed while trying to link. >---------------- > >I have no idea what the assertion failure means and I could not locate >any ../../../blabla/cmrlc_produce.c file (could it probably be missing?) >What does cmrlc_produce.c do? > This is a very good example for the bigots who insist that asserts are the right way to produce error messages for the end user. Contact DEC support for the patch you need. Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland