Project

General

Profile

Actions

Bug #126

closed

Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Added by J. Templ over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/25/2016
Due date:
% Done:

80%

Estimated time:

Description

Compiling for example the expression

SYSTEM.VAL(LONGINT, y * 2)
with y: INTEGER leads to a compiler TRAP. The second register required for a LONGINT register pair is undefined in this case. If it happens to be a large value it leads to a TRAP when testing the register for membership in a SET of registers.

Reported by Josef Templ, 2016-08-23.

Actions

Also available in: Atom PDF