sem_res.adb (Static_Concatenation): An N_Op_Concat with static operands is static...
authorThomas Quinot <quinot@adacore.com>
Wed, 29 Apr 2009 09:37:01 +0000 (09:37 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 29 Apr 2009 09:37:01 +0000 (11:37 +0200)
commit4342eda9e82d428a97d8b3226739ee8fdfb23742
treeec1ba9fa7dca21e6d8fa9a61da5c06d7a7d209b9
parent0b8074edf56583bad77fa350912f8648e6d60bcc
sem_res.adb (Static_Concatenation): An N_Op_Concat with static operands is static only if...

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).

From-SVN: r146936
gcc/ada/ChangeLog
gcc/ada/sem_ch12.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb