2014-11-20 Javier Miranda <miranda@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 11:02:25 +0000 (11:02 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 11:02:25 +0000 (11:02 +0000)
commitbb16a9f99d9aac8c77415b958c9fbaa56a09e591
tree9428dc6c742c682b293dd262f11f213dd6ccc51b
parent9d0759ea11c4ccb47184b5f60582022c7dcf4590
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217836 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/sem_ch6.adb
gcc/ada/sem_res.adb