2014-10-17 Ed Schonberg <schonberg@adacore.com>
commitf02a9a9a879deca1a1bea446b633aa478f103897
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Oct 2014 08:51:08 +0000 (17 08:51 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Oct 2014 08:51:08 +0000 (17 08:51 +0000)
treea75ab030ca6b5b8bdc2aa7d89f9ea76eb33d3698
parent4234600506a08c8578ff7ecf326193c1444ef2dd
2014-10-17  Ed Schonberg  <schonberg@adacore.com>

* sem_ch13.adb (Add_Invariants): For a class-wide type invariant,
preserve semantic information on the invariant expression
(typically a function call) because it may be inherited by a
type extension in a different unit, and it cannot be resolved
by visibility elsewhere because it may refer to local entities.

2014-10-17  Robert Dewar  <dewar@adacore.com>

* gnat_rm.texi: Document that string literal can be used for
pragma Warnings when operating in Ada 83 mode.

2014-10-17  Ed Schonberg  <schonberg@adacore.com>

* freeze.adb (Find_Aggregate_Component_Desig_Type): New
subsidiary function to Freeze_ Expression, used to determine
whether an aggregate for an array of access types also freezes the
designated type, when some aggregate components are allocators.

2014-10-17  Ed Schonberg  <schonberg@adacore.com>

* a-strsea.adb (Find_Token): AI05-031 indicates that the
procedure must raise Index_Error when Source is not empty and
the From parameter is not within the range of the Source string.

2014-10-17  Robert Dewar  <dewar@adacore.com>

* sem_prag.adb (Is_Static_String_Expression): Allow string
literal in Ada 83 mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216377 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/a-strsea.adb
gcc/ada/freeze.adb
gcc/ada/gnat_rm.texi
gcc/ada/sem_ch13.adb
gcc/ada/sem_prag.adb