]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 10 Jan 2012 10:35:38 +0000 (11:35 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 10 Jan 2012 10:35:38 +0000 (11:35 +0100)
commit72348e26a5b81571cf11491569d5487203425a0c
treeb77b2038989d2dc9139ce86712170793b691c18d
parentcba300dd7dfadf5069d9943c6a54c65a34614d20
[multiple changes]

2012-01-10  Bob Duff  <duff@adacore.com>

* sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
checking that the 'Size is correct. If the type is "mod 2**12",
for example, it's illegal, but Esize is the 'Object_Size, which
will be something like 16 or 32, so the error ('Size = 12) was
not detected.
* gnat_rm.texi: Improve documentation of shift
and rotate intrinsics.

2012-01-10  Pascal Obry  <obry@adacore.com>

* prj.adb (For_Every_Project_Imported): Fix
implementation to make sure we return each project only once
for aggragte libraries. It is fine to return a project twice for
aggregate projects, this was the case as a Project_Id is different
in each project tree. The new implementation use a table based on
the project name to ensure proper detection of duplicate project
in aggregate library. A new context is then created to continue
retrurning duplicate project for aggregate libraries.

From-SVN: r183059
gcc/ada/ChangeLog
gcc/ada/gnat_rm.texi
gcc/ada/prj.adb
gcc/ada/sem_intr.adb