Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!mips!servitude!rogerk From: rogerk@mips.COM (Roger B.A. Klorese) Newsgroups: comp.sys.mips Subject: Re: f77 bug with entry points Message-ID: <36531@mips.mips.COM> Date: 28 Feb 90 20:24:57 GMT References: <17977@shamash.cdc.com> Sender: news@mips.COM Reply-To: rogerk@mips.COM (Roger B.A. Klorese) Distribution: usa Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 27 In article <17977@shamash.cdc.com> dwb@hare.udev.cdc.com (dw block x-4621) writes: >The following fortran program does not compile on our MIPS M/2000 under >RISC/os 4.0. > > PROGRAM TEST > CALL ENTRE > END > SUBROUTINE SUB > ENTRY ENTRA > ENTRY ENTRE > PRINT *,'Entry point Entre' > RETURN > END > >The compiler produces the following error: > >as1: Error: test.f, line 3: Redefinition of symbol: entre_ The bug seems to involve adjacent ENTRY statements. It is fixed in release 2.10 of f77, which will be available in about three weeks. Until then, a harmless workaround is the insertion of a CONTINUE statement between the ENTRY statements. -- ROGER B.A. KLORESE MIPS Computer Systems, Inc. phone: +1 408 720-2939 MS 4-02 928 E. Arques Ave. Sunnyvale, CA 94086 rogerk@mips.COM {ames,decwrl,pyramid}!mips!rogerk "I'm the NLA" "Two guys, one cart, fresh pasta... *you* figure it out." -- Suzanne Sugarbaker