DOCERR: CHARACTER and REAL Can EQUIVALENCE on Odd Boundary (48868)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q48868 SUMMARY
According to the sample code on Page 165 of the Microsoft FORTRAN
"Reference" manual for versions 5.0 and 5.1, when an application uses an
EQUIVALENCE statement to match a character array to a REAL value such that
the REAL value has an odd-numbered memory address, the compiler generates
an error. This statement is incorrect; the sample code that demonstrates
this situation compiles without error.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB48868 |
---|
|