[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 11:02:25 +0000 (12:02 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 11:02:25 +0000 (12:02 +0100)
commit4b963531a13ebfef4fd889df305d4037e7334fa0
tree9428dc6c742c682b293dd262f11f213dd6ccc51b
parentc05ba1f17969c3423e76bee3e863727c9cf28ca0
[multiple changes]

2014-11-20  Javier Miranda  <miranda@adacore.com>

* sem_ch6.adb (Analyze_Function_Return): For functions returning
an access to an interface add an implicit conversion to the target
type to force the displacement of the pointer to the object to
reference the secondary dispatch table.
(Check_Anonymous_Return): Skip internally built functions which handle
the case of null access when locating the master of a task.
* sem_res.adb (Valid_Conversion): Return true for internally
generated conversions of access to interface types added to force
the displacement of the pointer to reference the corresponding
dispatch table.

2014-11-20  Pascal Obry  <obry@adacore.com>

* adaint.c (add_handle): realloc with a size of +100.

From-SVN: r217836
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/sem_ch6.adb
gcc/ada/sem_res.adb