fortran/6138: Incorrect access of integer*1 variables on PA
Toon Moene
toon@moene.indiv.nluug.nl
Sun Apr 7 05:06:00 GMT 2002
The following reply was made to PR fortran/6138; it has been noted by GNATS.
From: Toon Moene <toon@moene.indiv.nluug.nl>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Subject: Re: fortran/6138: Incorrect access of integer*1 variables on PA
Date: Sun, 07 Apr 2002 14:01:26 +0200
John David Anglin wrote:
> I wrote:
> > On the latter, even the following is incorrect:
> >
> > INTEGER*1 I
> > I = -9
> > PRINT*,I
> > END
> >
> > which prints 247 ;-)
>
> OK under hppa-linux. What's the assembly code look like? The problems
> still could be related. I would guess the wrong location for I is being
> passed.
Unfortunately, it's not simple to pass files from the PowerBook to the
machine I'm sending this from, so this might take some time ...
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc-prs
mailing list