Re: [BLACKBOX] Possible compiler bug ?

From: [at]} <Josef>
Date: Mon, 19 Dec 2011 09:15:47 +0100

----boundary-LibPST-iamunique-855272970_-_-
Content-type: text/plain

Robert,

it is obvious that you found a compiler bug.
No matter what a program is intended to do, the compiler
must not trap.
Please report this to Oberon microsystems.

- JT


----- Original Message -----
From: "Robert" <robert.campbell_{([at]})nowhere.xy
To: <BLACKBOX{([at]})nowhere.xy
Sent: Sunday, December 18, 2011 10:34 AM
Subject: [BLACKBOX] Possible compiler bug ?


> Hi
>
> I can't compile the code below, which seems ok to me.
>
> I don't get an error message, I get a compiler crash.
>
> Am I overlooking something obvious?
>
> Regards
>
> Robert
>
>
>
> MODULE DemoMeter;
>
>
> TYPE
> Meter = POINTER TO RECORD
> maxVal : INTEGER;
> END;
>
>
> PROCEDURE Do*;
> VAR
> pos, val : INTEGER;
> meter : Meter;
> BEGIN
> pos := SHORT (val * LONG (100) DIV meter.maxVal)
> END Do;
>
>
> END DemoMeter.
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-855272970_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmcz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QRVxwYXINCj4gICBNZXRlciAgPSAgUE9JTlRFUiAgVE8gIFJFQ09SRFxwYXINCj4gICAgICAg
ICAgICAgICBtYXhWYWwgIDogIElOVEVHRVI7XHBhcg0KPiAgICAgICAgICAgICAgRU5EO1xwYXIN
Cj4gXHBhcg0KPiBccGFyDQo+IFBST0NFRFVSRSAgRG8qO1xwYXINCj4gICBWQVJccGFyDQo+ICAg
ICBwb3MsIHZhbCAgOiAgSU5URUdFUjtccGFyDQo+ICAgICBtZXRlciAgICAgOiAgTWV0ZXI7XHBh
cg0KPiAgIEJFR0lOXHBhcg0KPiAgICAgIHBvcyAgOj0gIFNIT1JUICh2YWwgKiBMT05HICgxMDAp
ICBESVYgIG1ldGVyLm1heFZhbClccGFyDQo+ICAgRU5EICBEbztccGFyDQo+IFxwYXINCj4gXHBh
cg0KPiBFTkQgIERlbW9NZXRlci5ccGFyDQo+IFxwYXINCj4gXHBhcg0KPiAtLS0tXHBhcg0KPiBU
byB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9Y
IiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0K
VG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JP
WCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KfQ==
----boundary-LibPST-iamunique-855272970_-_---
Received on Mon Dec 19 2011 - 09:15:47 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:09 UTC