Mysterious core dump in g77

toon@moene.indiv.nluug.nl toon@moene.indiv.nluug.nl
Wed Dec 22 12:06:00 GMT 1999


Frank Kuehnel writes:

I had to include a rather large an uninteresting program code for
this bug to appear, it seems to be very context sensitive. The only
two interesting lines are 1030 and 1031, where it appears that a simple
double precision multiplication produces a core dump! Compiled with DEC
Fortran, the code works fine, compiled with g77 I get the core dump.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Frank, could you retry this example with the current compiler (gcc-2.95.2) ?
I currently do not have access to an ix86 machine to debug it.

If it still core dumps with gcc-2.95.2/g77, perhaps you could try to 
compile your program with -fbounds-check, to see if an out-of-bounds
array index is the culprit ?

Thanks in advance,
Toon Moene.


More information about the Gcc-bugs mailing list