This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fortran/arith.c -- Fix the range of integers in overflow checks


On Sun, Aug 27, 2006 at 08:09:49PM -0400, Jack Howarth wrote:
> Steve,
>    Do you mean whether we have a signed short? I believe so since I see
> both...
> 
> typedef        short                   __int16_t;
> typedef        unsigned short          __uint16_t;
> 
> ...in /usr/include/ppc/_types.h on my MacOS X box.
>                     Jack

No.

program test
  integer(16) i
  i = 1
  print *, i
end program test

-- 
Steve


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