OSDN Git Service

2012-05-19 Eric Botcazou <ebotcazou@adacore.com>
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2012 09:34:06 +0000 (09:34 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2012 09:34:06 +0000 (09:34 +0000)
commit54b6d55e2a681d419e01391f88c7fa81e111ad35
tree06b9e25509fedd2c6a3eceb26b5663720ec58535
parent4cff7dce115e891c0c4672c788a5aa033e1152f9
2012-05-19  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.

Backport from mainline
2012-05-15  Javier Miranda  <miranda@adacore.com>

* exp_ch3.adb (Build_Offset_To_Top): Modify the
expansion of the offset_to_top functions to ensure that their
profile is conformant with the profile specified in Ada.Tags. No
change in functionality.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187677 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_ch3.adb
gcc/ada/gcc-interface/decl.c