sem_attr.adb: 'Result can have an ambiguous prefix, and is resolved from context.
authorEd Schonberg <schonberg@adacore.com>
Thu, 31 Jul 2008 08:17:31 +0000 (10:17 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 31 Jul 2008 08:17:31 +0000 (10:17 +0200)
commit3023ce4262d7de329d1082347943a91621b88e1d
tree3ef533639b476810f12a0417048a001d97ae786e
parentaaf891732c67b50f16f81653e19a363251cd2e89
sem_attr.adb: 'Result can have an ambiguous prefix, and is resolved from context.

2008-07-31  Ed Schonberg  <schonberg@adacore.com>

sem_attr.adb: 'Result can have an ambiguous prefix, and is resolved
from context. This attribute must be usable in Ada95 mode.
The attribute can appear in the body of a function marked
Inline_Always, but in this case the postocondition is not enforced.

sem_prag.adb (Check_Precondition_Postcondition): within the expansion
of an inlined call pre- and postconditions are legal

From-SVN: r138364
gcc/ada/sem_attr.adb
gcc/ada/sem_prag.adb