| To: | pro64-support@xxxxxxxxxxx |
|---|---|
| Subject: | sgif90: no cast in DATA |
| From: | "E. Focht" <focht@xxxxxxxxxx> |
| Date: | Tue, 12 Dec 2000 20:34:35 +0100 (MET) |
| Reply-to: | efocht@xxxxxxxxxx |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
Hello,
on the IA64 the code generated by sgif90 for the following example is
wrong. Octal and hexadecimal constants seem to be shifted by 32 bits to
the left.
program ftn3
integer (kind=8) i,j
data i / Z'1' /
data j / O'1' /
write(*,'(z16,2x,z16)')i,j
end
[focht@warp4 byteswap]$ sgif90 ftn3.f
[focht@warp4 byteswap]$ ./a.out
100000000 100000000
Best regards,
Erich Focht
---
Dr. Erich Focht <efocht@xxxxxxxxxx>
NEC European Supercomputer Systems, European HPC Technology Center
Hessbruehlstr. 21B, 70565 Stuttgart, Germany
phone: +49-711-78055-15 fax : +49-711-78055-25
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: sgif90 broken on 2.4.0test10-001115-55smp, Ross A. Towle |
|---|---|
| Next by Date: | sgif90: FFIO library IA2MIPS problem, E. Focht |
| Previous by Thread: | Broken Links, Clauser, Milton |
| Next by Thread: | sgif90: FFIO library IA2MIPS problem, E. Focht |
| Indexes: | [Date] [Thread] [Top] [All Lists] |