This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/25885] [4.0/4.1 Regression] Tree checking failure on ASIS
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2006 09:39:44 -0000
- Subject: [Bug ada/25885] [4.0/4.1 Regression] Tree checking failure on ASIS
- References: <bug-25885-6251@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2006-03-05 09:39 -------
Subject: Bug 25885
Author: ebotcazou
Date: Sun Mar 5 09:39:40 2006
New Revision: 111732
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111732
Log:
Backport from mainline:
2006-02-13 Â?Ed Schonberg Â?<schonberg@adacore.com>
PR ada/25885
* sem_res.adb (Set_Literal_String_Subtype): If the lower bound is not
static, wrap the literal in an unchecked conversion, because GCC 4.x
needs a static value for a string bound.
Modified:
branches/gcc-4_1-branch/gcc/ada/ChangeLog
branches/gcc-4_1-branch/gcc/ada/sem_res.adb
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25885