[Bug ada/25885] [4.0 Regression] Tree checking failure on ASIS
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 11 15:14:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list