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
> > 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
Coming from the C-shore of the language ocean, that does indeed strike
me as something that just doesn't happen very often, if ever, under C.
I probably should have used "interesting" instead of "odd". After I
looked at the problem more, I decided it was just lameness in the native
assembler. I've filed a problem report with SCO on it.
It's sort of a curse on OpenServer becuase we don't support GAS very
well at all on this target. When I start thinking about the subset
of OpenServer Fortran users that are building with -fpic, I just can't
get too worked up about making it work right for the COFF case o
additionally.
If there isn't an easy way to make the machine-dependent code not
emit this construct, I suggest we just punt on it.
--
Robert Lipe http://www.dgii.com/people/robertl robertl@dgii.com