From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Question on arrays
Date: Tue, 17 Sep 2002 04:14:26 -0500
Date: 2002-09-17T04:14:26-05:00 [thread overview]
Message-ID: <mailman.1032254103.32093.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: d40d7104.0209160302.3a15485e@posting.google.com
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" <vashwath@rediffmail.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
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
>
>
prev parent reply other threads:[~2002-09-17 9:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 11:02 Question on arrays prashna
2002-09-16 12:03 ` Preben Randhol
2002-09-16 19:15 ` tmoran
2002-09-17 4:53 ` prashna
2002-09-16 12:08 ` Marin David Condic
2002-09-16 18:48 ` Jeffrey Carter
2002-09-17 9:14 ` David C. Hoos, Sr. [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox