From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd1a17edc1ccb2d6 X-Google-Attributes: gid103376,public From: david.c.hoos.sr@ada95.com (David C. Hoos, Sr.) Subject: Re: Aggregate assignment problem with gnat under irix Date: 1996/06/02 Message-ID: <4orssa$1ou@polo.iquest.com>#1/1 X-Deja-AN: 158036064 distribution: world references: organization: Ada 95 Press, Inc. newsgroups: comp.lang.ada Date: 1996-06-02T00:00:00+00:00 List-Id: Ullar Kask wrote: >Hello, > I am doing numerical simulations using Ada and encoutered a problem with >aggregate assignment. The same type of statement, viz., . . . >Has the STORAGE_ERROR raised in the task body (under irix) something to do >with the size of the task stack? How it happens that such an aggregate >assignment is possible outside a task body but fails inside? Yes, I believe it does. I don't know what the default task stack size is for gnat, but on other compilers I have used it is as low as 10Kb. The solution is to use the pragma Storage_Size () inside the task declaration. David C. Hoos, Sr. http://www.ada95.com http://www.dbhwww.com