From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: hjl@lucon.org (H.J. Lu) Cc: egcs@cygnus.com Subject: Re: g77.f-torture/execute/alpha1.f is strange Date: Sun, 02 Nov 1997 22:12:00 -0000 Message-id: <16477.878537668@hurl.cygnus.com> References: X-SW-Source: 1997-11/msg00060.html 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