This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-19990502 u77-test.f failure on Irix6.5
>Ah. But. I see the problem. g77 is passing a `long *' for xstime,
>even though it really points to an `int', not a `long'. Naughty. I
>was wondering why there was an apparently spurious "st %l1,[%fp-116]"
>before the second call, why earlier there was a "std" into what
>seemed to be the location for `i', etc. Looking at the Irix6 output
>Tim sent confirmed this.
Well, I'm no longer convinced the bug is in the g77 front end. I'll
try to investigate further, maybe by trying to build a cross-compiler
for one of the targets.
Is this problem happening only on systems with 64-bit-ness, e.g.
where `long int' is 64 bits but `int' is 32? It might be that
the gcc back end isn't properly handling ADDR_EXPR(NOP_EXPR(VAR_DECL))
where the VAR_DECL is SImode but the NOP_EXPR is DImode, or something
along those lines.
tq vm, (burley)