[Info-vax] Ada array initialisation, was: Re: OT: lightweight 90s viewer for Level 2 Postscript. Plus compiler-related obscureness.
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Sat Aug 25 18:30:42 EDT 2012
On 2012-08-25, John Wallace <johnwallace4 at gmail.com> wrote:
> [probably my last contribution on this particular subtopic]
>
> Same thought occured at work, which means either it's another good
> idea, or we're both equally daft. You pick.
>
> A quick test was added to attempt to check the general theory of
> whether elaboration had run or not by the time the relevant bit of
> test program got to run. The extra code indicated that elaboration had
> run.
>
> A last ditch attempt to confirm this was to change the makefile to
> leave all the .s files around. There was no evidence of the required
> initialisations in the .s file, leading to the conclusion that
> somewhere earlier in the compiler was for some invisible reason
> discarding the required initialisations.
>
Then I revert to my first opinion: the compiler's broken. :-)
Thanks for having reported back on your testing; I was curious
about this.
> As a functional workaround has been identified, the subject is closed
> (at least for now); there are plenty more pressing things to do.
Understood.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list