FIX: Code Generation with Concatenation & LEN_TRIM (68077)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q68077 SYMPTOMS
When the code below is compiled with /Od, incorrect code is genererated for
the second assignment statement for 'lmessage'.
RESOLUTION
To work around the problem, either
- Do not use /Od (this will enable optimization.
-or-
- Remove the LEN_TRIM function imbedded in the 'lmessage' statement and
replace it with a temporary variable set equal to LEN_TRIM(ltask).
STATUS
Microsoft has confirmed this to be a bug in the products listed above. This
problem was corrected in FORTRAN PowerStation, version 1.0.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbfix KB68077 |
---|
|