OSDN Git Service

* gcc-interface/gigi.h (get_minimal_subprog_decl): Declare.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 09:22:36 +0000 (09:22 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 09:22:36 +0000 (09:22 +0000)
commit15bd2796881eb4f13cf37a87075722dc3fea6e83
tree27220aacc35df038cd025daf85b09ead96c9cc36
parent7e9d30ae01d7a095bd18f3b86246083144892dff
* gcc-interface/gigi.h (get_minimal_subprog_decl): Declare.
* gcc-interface/decl.c (get_minimal_subprog_decl): New function.
* gcc-interface/trans.c (Attribute_to_gnu): Use it for the prefix of an
Access-like attribute in a dispatch table if the subprogram is public.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183607 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/limited_with3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with3.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with3_pkg1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with3_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with3_pkg2.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with3_pkg3.ads [new file with mode: 0644]