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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ed9f245566db0d5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-17 02:15:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Question on arrays Date: Tue, 17 Sep 2002 04:14:26 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1032254103 26841 137.194.161.2 (17 Sep 2002 09:15:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 17 Sep 2002 09:15:03 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2711.0600 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:29063 Date: 2002-09-17T04:14:26-05:00 After having read all of the replies to your original post, it appears that no one has addressed the original problem -- i.e. why a compiler should die with a segmentation fault, regardless of what kind of illegal code is submitted to it. It could be that what is actually happening is a stack overflow in the shell environment in which the compiler executes. You did not say which shell you're using on AIX -- e.g., Bourne, Korn, tcsh, etc. I have seen many cases of perfectly good programs (including compilers) die with a segmentation fault because the stack size limit was too small. ----- Original Message ----- From: "prashna" Newsgroups: comp.lang.ada To: Sent: September 16, 2002 6:02 AM Subject: Question on arrays > Hi all, > Pls explain what is wrong in this statement? > > A_Integer(2) := (others => 2.0); > > where A_Integer is an array of integer, whose index is integer ranging > form 1..10. > > I am using Tartan compiler on Aix machine and the error is > "segmentation fault (core dumped)" > Thanks in Advance. > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >