Bug 22461 - Fortran compiler error
Summary: Fortran compiler error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: egcs
Version: 6.1
Hardware: i686
OS: Linux
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-18 19:43 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-12-18 19:48:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-12-18 19:43:06 UTC
Hi,

I converting a piece of software that is running properly under AIX 4.2.1
when compiled with xlf but i'm having an error under Linux, here the basic
information:

g77 -v:
g77 version 2.95.1 19990816 (release) (from FSF-g77 version 0.5.25 19990816
(release))
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cpp -lang-c -v -D__GNUC__=2
-D__GNUC_MINOR__=95 -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix
-D__linux -Asystem(posix) -D_LANGUAGE_FORTRAN -traditional -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686
-D__i686__ -D__pentiumpro -D__pentiumpro__ /dev/null /dev/null
GNU CPP version 2.95.1 19990816 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../i686-pc-linux-gn
u/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../include/g++-3
End of omitted list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/f771 -fnull-version -quiet
-dumpbase g77-version.f -version -fversion -o /tmp/ccyYej4C.s /dev/null
GNU F77 version 2.95.1 19990816 (release) (i686-pc-linux-gnu) compiled by
GNU C version 2.95.1 19990816 (release).
GNU Fortran Front End version 0.5.25 19990816 (release)
 as -V -Qy -o /tmp/ccLFGWdN.o /tmp/ccyYej4C.s
GNU assembler version 2.9.1 (i386-redhat-linux), using BFD version
2.9.1.0.24
 ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/ccSzEA5g
/tmp/ccLFGWdN.o /usr/lib/crt1.o /usr/lib/crti.o
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/crtbegin.o
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1 -L/usr/local/lib -lg2c -lm
-lgcc -lc -lgcc /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/crtend.o
/usr/lib/crtn.o
 /tmp/ccSzEA5g
__G77_LIBF77_VERSION__: 0.5.25 19990816 (release)
@(#)LIBF77 VERSION 19990503
__G77_LIBI77_VERSION__: 0.5.25 19990816 (release)
@(#) LIBI77 VERSION pjw,dmg-mods 19990503
__G77_LIBU77_VERSION__: 0.5.25 19990816 (release)
@(#) LIBU77 VERSION 19980709

Here's the error when i'm compiling:

if (   0 ) to_simex.com cts17main.f
if ( ! 0 ) /usr/bin/g77 -g -c -fdollar-ok -fno-automatic -finit-local-zero
-ffixed-line-length-132 -fugly-logint -ftypeless-boz -c cts17main.f 
../../../gcc/f/sta.c:510: failed assertion `!ffesta_confirmed_other_'
g77: Internal compiler error: program f771 got fatal signal 6
make: *** [main_lib.a] Error 1

Any clue of what can cause this problem?

Thanxs a lot for your help...
Dominic


P.S.  let me know if you need my input file...


Note You need to log in before you can comment on or make changes to this bug.