f77 on sco5 fails on GOTOFF references

John Carr jfc@mit.edu
Tue Dec 30 17:43:00 GMT 1997


> It strikes me as odd that in years of GCC support on AT&T-derived
> ELF assemblers we've never seen this failure before this Fortran case.
> Is this just some sort of thing that the Fortan front-end does that 
> gcc/g++ front-ends wouldn't do?

The RS/6000 had a similar bug a couple years back.  Fortran was trying
to compute the address of a constant, something which C never did.  I
think passing a constant argument by reference triggered the problem.
The machine description had to be changed in that case.




More information about the Gcc mailing list