07-07-2014, 09:19 AM
boriel Wrote:Sorry, but can't reproduce your bug. I've used this version.Ok, some good news and bad news.
Please, make a CLEAN installation of the compiler in a new directory and check its version number reads 1.4.0-s1876
I've compiled the listing above successfully (no bugs, no compiler error).
Firstly - I always install a new version to a completely fresh directory, as I know how important this is! But now onto the news:
I now know what is causing the compiler to fail! I forgot to tell you (sorry!) that I compile with both the --debug-memory and also the --debug-array flag (for array boundary checking).
If you try to compile with the --debug-array flag, the above test program fails with the errors I've already posted. However, if you compile with just the --debug-memory flag, it compiles fine, and also the bug is fixed!
Thanks for all your work so far, it really is appreciated. Any chance the --debug-array problem could be looked into?