This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r146936 - in /trunk/gcc/ada: ChangeLog sem_ch12...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 29 Apr 2009 09:37:02 -0000
- Subject: r146936 - in /trunk/gcc/ada: ChangeLog sem_ch12...
Author: charlet
Date: Wed Apr 29 09:37:01 2009
New Revision: 146936
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146936
Log:
2009-04-29 Thomas Quinot <quinot@adacore.com>
* sem_res.adb (Static_Concatenation): An N_Op_Concat with static
operands is static only if it is a predefined concatenation operator.
* sem_util.adb: Minor reformatting
* sem_ch12.adb (Save_References): When propagating semantic information
from generic copy back to generic template, for the case of an
identifier that has been rewritten to an explicit dereference whose
prefix is either an object name or a parameterless funcion call
denoting a global object or function, properly capture the denoted
global entity: perform the corresponding rewriting in the template,
and point the rewritten identifier to the correct global entity (not
to the associated identifier in the generic copy).
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_ch12.adb
trunk/gcc/ada/sem_res.adb
trunk/gcc/ada/sem_util.adb