Bug #47

compiler TRAP with SYSTEM.PTR

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

Status:ClosedStart date:05/14/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

The following test program produces a TRAP in the compiler.

MODULE Test; 
IMPORT SYSTEM; 
TYPE PVOID = SYSTEM.PTR; 

PROCEDURE Do(); 
  VAR pvoid: PVOID;
BEGIN pvoid := pvoid
END Do; 

END Test.

A proposal by luowy for fixing this issue exists in CPC 1.7 rc5.

Reported by luowy, 2013-07-09.

Associated revisions

Revision 0c9b21fb
Added by J. Templ over 3 years ago

Avoiding a TRAP with SYSTEM.PTR. Refs: #47.
As proposed by luowy in CPC 1.7 rc5.

Signed-off-by: Josef Templ <>

Revision d6a5acaa
Added by J. Templ over 3 years ago

Merge pull request #33 from BlackBoxCenter/issue-#47

Avoiding a TRAP with SYSTEM.PTR. Refs: #47.

History

#1 Updated by J. Templ over 3 years ago

  • Assignee set to J. Templ
  • Target version set to 1.7

#2 Updated by J. Templ over 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF