This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g77.f-torture/execute/alpha1.f is strange



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]