G77 from GCC 2.95.2 parameter passing problem with function statements

toon@moene.indiv.nluug.nl toon@moene.indiv.nluug.nl
Fri Dec 31 20:54:00 GMT 1999


David Hough wrote:

See http://www.validgh.com/gcc/bug3

for a README, source file hydro.F, and run-time stdin hydro.input

(g77 hydro.F; ./a.out < hydro.input) works,
(g77 -DFUNCSTATEMENT hydro.F; ./a.out < hydro.input) bombs with SIGSEGV.

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

While your failure was on sparc-sun-solaris2.7, I could reproduce it on   
m68k-next-nextstep3 - so it's probably an error in the Fortran Frontend.

I'll try to pinpoint it ...

Cheers,
Toon Moene.



More information about the Gcc-bugs mailing list