This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/25885] [4.0 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: 11 Mar 2006 15:14:18 -0000
- Subject: [Bug ada/25885] [4.0 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 #10 from ebotcazou at gcc dot gnu dot org 2006-03-11 15:14 -------
Subject: Bug 25885
Author: ebotcazou
Date: Sat Mar 11 15:14:15 2006
New Revision: 111965
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111965
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_0-branch/gcc/ada/ChangeLog
branches/gcc-4_0-branch/gcc/ada/sem_res.adb
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25885