This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: f77 on sco5 fails on GOTOFF references
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: f77 on sco5 fails on GOTOFF references
- From: John Carr <jfc at mit dot edu>
- Date: Tue, 30 Dec 1997 20:43:26 EST
- Cc: egcs at cygnus dot com, jcardoso at inescn dot pt
> 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.