I was using --stack-checking and turning it off cures the problem, thanks. I am not using optimisation as I was fast compilation times and adding dummy variables did not work so it looks like the problem is in the stack checking.
Theo Carr-Brion
-----Original Message----- From: J. David Bryan [mailto:dbryan@bcpl.net] Sent: 16 October 2001 19:55 To: GNU Pascal List Subject: Re: Obscure error message
On 15 Oct 2001, at 10:42, Theo Carr-Brion wrote:
Compiling some of our software with gpc 20010924 I get the following error message:
label `10' used before containing binding contour
Can anyone explain to me what it means, please?
-- Dave
Theo Carr-Brion wrote:
I was using --stack-checking and turning it off cures the problem, thanks. I am not using optimisation as I was fast compilation times and adding dummy variables did not work so it looks like the problem is in the stack checking.
It might also be related to how GPC uses internal temp variables. We hope to improve this in the future. I can't reproduce your problem here, even with `--stack-checking', however.
Frank
On 17 Oct 2001, at 9:09, Theo Carr-Brion wrote:
I was using --stack-checking and turning it off cures the problem, thanks.
You're welcome.
Earlier, you wrote:
The code is too complicated to reproduce and any simple examples don't have the problem.
I was unable to create a test case too, even with some vague idea of what should cause the problem. If your program is too large to send, can you post your program source somewhere and give us a URL to it? Having a reproducible error may allow us to distill a test case, so that the problem can be fixed.
-- Dave