Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Jan-Jaap van der Heijden
Subject: alpha-970510: array problem.
Date: 18 May 1997, 13:43:09
GPC alpha-970510 fails to compile this code:
-----------------------------
program ArrayTest(output);
type
node = 0..4500;
A = array[node] of integer;
var
N1 : A;
N2 : ^A;
begin
writeln('OK');
end.
-----------------------------
It barfs on the "var N2: ^A;" declaration.
This used to work with previous releases of GPC.
I can find no paragraph in the spec where it says that this declaration is
valid, but I believe it is. Anyway, it BP likes it, and now
`gpc -fborland-pascal' doesn't :-(
BTW: This is the first bug detected by the automated compiler suite I'm
writing, so I guess this proves the value of having such a thing.
JanJaap
---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. -- RFC1925.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).