This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] fortran/arith.c -- Fix the range of integers in overflow checks
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Sun, 27 Aug 2006 17:15:49 -0700
- Subject: Re: [PATCH] fortran/arith.c -- Fix the range of integers in overflow checks
- References: <20060828000949.5A157110019@bromo.msbb.uc.edu>
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