This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g77.f-torture/execute/alpha1.f is strange
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: g77.f-torture/execute/alpha1.f is strange
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 02 Nov 1997 23:14:28 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0xRqJB-0004ecC@ocean.lucon.org>you write:
> Here is g77.f-torture/execute/alpha1.f. It may call exit (1) if I
> doesn't happen to be 0. I don't remember what Fortran should be in
> this case. I think I is default to INTEGER. But I don't know if
> it should be initialized to 0. From the x86 asm code, gcc doesn't
> initialize it at all. In any case, I got the exit value 1 on
> linux/x86/glibc 2 and linux/alpha/glibc 2.0.5c.
Thanks. Yes, the initialization needs to be explicit. I've updated
the test.
jeff