2011-08-01 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 09:04:40 +0000 (09:04 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 09:04:40 +0000 (09:04 +0000)
commita1470075ffb69381240f59b17d18a37b273c28d4
tree91ba915ac405b8e5b1f9aeb7989d7fd0795e94bb
parent88008f535ae38aa485f7ecb2583d38529ff7df7c
2011-08-01  Ed Schonberg  <schonberg@adacore.com>

* sem_attr.adb (Analyze_Attribute, case 'Access): handle properly named
access to protected subprograms in generic bodies.
* sem_ch6.adb (Analyze_Subprogram_Declaration): If the context is a
protected type, indicate that the convention of the subprogram is
Convention_Protected, because it may be used in subsequent declarations
within the protected declaration.

2011-08-01  Vincent Celier  <celier@adacore.com>

* mlib-prj.adb (Build_Library): Use "ada_" as the prefix for the "init"
and "final" procedures when the name of the library is "ada", to avoid
duplicate symbols "adainit" and "adafinal" in executables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177002 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/mlib-prj.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch6.adb