This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r111965 - in /branches/gcc-4_0-branch/gcc/ada: ...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 11 Mar 2006 15:14:15 -0000
- Subject: r111965 - in /branches/gcc-4_0-branch/gcc/ada: ...
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