G77 BUG?

cej@cejchan.gli.cas.cz cej@cejchan.gli.cas.cz
Wed Apr 14 03:38:00 GMT 1999


DEAR FRIENDS,	
I report a possible bug in g77 compiler version  0.5.24-19980804 running on Linux 2.0.36. Here is what happens:


 1035 format ('                    % Occur. of                    ',
     +        '          % Occur. in',/,
     +        '      Locality     Total Species       Taxon     ',
     +        '          Total Localities',/,
     +        '      --------     -------------       -----            ',
 C 771 >>
    +        '   ----------------')

=============================================================================
rcsi.f:771: warning:
        +        '   ----------------')
                 ^
Missing comma in FORMAT statement at (^)
=============================================================================

... WORKS WHEN CHANGED TO:

 1035 format ('                    % Occur. of                    ',
     +        '          % Occur. in',/,
     +        '      Locality     Total Species       Taxon     ',
     +        '          Total Localities',/)
  
============================================================================= 
1065 format ('** = Significant dissimilarity between localities at 95%',
     +        1x,'confidence level.')
=============================================================================
rcsi.f:783: warning:
        +        1x,'confidence level.')
                 ^
Missing comma in FORMAT statement at (^)
=============================================================================

... WORKS WHEN CHANGED TO:

1065 format ('** = Significant dissimilarity between localities at 95%'
     +        ,1x,'confidence level.')

=============================================================================


I do not know whether it is an intention, or a bug. I'm not an experienced FORTRAN programmer, I only tried to port someone else's code :-). Please, excuse my ignorancy if I missed something trivial.
Thank you for your really nice work.
Also with best regards to all participants to the great GNU Project,

Sincerely,
Peter.
<cej@cejchan.gli.cas.cz>

P.S.
here is $ g77 -v
g77 version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) (from FSF-g77 version 0.5.2
4-19980804)
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release)
 /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D_LANGUAGE_FORTRAN -traditional -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ /dev/null /dev/null
GNU CPP version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/f771 -fnull-version -quiet -dumpbase g77-version.f -version -fversion -o /tmp/ccgt84CW.s /dev/null
GNU F77 version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) (i486-linux) compiled by GNU C version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release).
GNU Fortran Front End version 0.5.24-19980804
 as -V -Qy -o /tmp/ccs8LuXR.o /tmp/ccgt84CW.s
GNU assembler version 2.9.1 (i486-linux), using BFD version 2.9.1.0.19
 ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/ccRKWRMg /tmp/ccs8LuXR.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/crtbegin.o -L/usr/lib/gcc-lib/i486-linux/egcs-2.91.60 -lg2c -lm -lgcc -lc -lgcc /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/crtend.o /usr/lib/crtn.o
 /tmp/ccRKWRMg
__G77_LIBF77_VERSION__: 0.5.24
@(#)LIBF77 VERSION 19970919
__G77_LIBI77_VERSION__: 0.5.24-19980920
@(#) LIBI77 VERSION pjw,dmg-mods 19980617
__G77_LIBU77_VERSION__: 0.5.24
@(#) LIBU77 VERSION 19980709




More information about the Gcc-bugs mailing list