OSDN Git Service

* exp_disp.adb (Make_Tags): Mark the imported view of dispatch tables
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 2010 21:52:45 +0000 (21:52 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 2010 21:52:45 +0000 (21:52 +0000)
commitd04be62faa126e69f58de254e9a91c5b744c9122
tree5b71d0685e03c2017302b6c00b900592ddfc9e32
parentf302e37ac84681c0c057f25d0137ce23e2e6e50b
* exp_disp.adb (Make_Tags): Mark the imported view of dispatch tables
built for interfaces.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Use
imported_p instead of Is_Imported when considering constants.
Do not promote alignment of exported objects.
<E_Record_Subtype>: Strip all suffixes for dispatch table entities.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159247 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_disp.adb
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto7.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto7_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto7_pkg.ads [new file with mode: 0644]