This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/29762] invalid index constraint causes GNAT to crash
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2006 19:26:44 -0000
- Subject: [Bug ada/29762] invalid index constraint causes GNAT to crash
- References: <bug-29762-13530@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from laurent at guerby dot net 2006-11-10 19:26 -------
Hi, your code gets a proper error message with GCC 4.0 and above:
$ gcc -c permutations.adb
permutations.adb:68:59: invalid index constraint
So I suggest updating your compiler (lots of work is put in better error
messages in newer version of GNAT).
Thanks for your report.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29762