Bug #121

compiler warning regarding unreleased register

Added by J. Templ over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:08/09/2016
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

Compiling an assignment as shown below leads to a compiler warning
resulting from a self-check contained in the compiler.
The warning is displayed in the Log window as AX.
It means that register AX has not been freed.

VAR b: BYTE;
b: = SHORT (SHORT (SHORT (FunctionReturningLONGINT())));

A proposal for a fix by luowy exists.
Reported by Oleg N. Cher, 2016-07-06.

Associated revisions

Revision b8fcc49d
Added by J. Templ over 2 years ago

fix for a compiler warning regarding unreleased register AX. Refs: #121.
As proposed by luowy but slightly corrected.
The additional FreeHi must only be called when y.mode = Int64.

Signed-off-by: Josef Templ <>

Revision 497d5ea7
Added by Douglas G Danforth over 2 years ago

Merge pull request #126 from BlackBoxCenter/issue-#121

fix for a compiler warning regarding unreleased register AX. Refs: #121.

History

#1 Updated by I. Denisov over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF