]> git.ipfire.org Git - thirdparty/gcc.git/commit
2016-07-04 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jul 2016 12:32:22 +0000 (12:32 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jul 2016 12:32:22 +0000 (12:32 +0000)
commitda1b75921662e425d7bfa3ad7d21b8dd2002089a
treec87cbe44a1dfabcbe30a880e6d790dd9b0925b5b
parentffeca34e563ce341861ae793114225538f56105d
2016-07-04  Ed Schonberg  <schonberg@adacore.com>

* sem_attr.adb (Analyze_Attribute_Old_Result): The attributes can
appear in the postcondition of a subprogram renaming declaration,
when the renamed entity is an attribute reference that is a
function (such as 'Value).
* sem_attr.adb (Eval_Attribute): It doesn't
need to be static, just known at compile time, so use
Compile_Time_Known_Value instead of Is_Static_Expression.
This is an efficiency improvement over the previous bug fix.
* sem_ch13.adb (Analyze_One_Aspect): Use Original_Node to detect
illegal aspects on subprogram renaming declarations that may
have been rewritten as bodies.

2016-07-04  Arnaud Charlet  <charlet@adacore.com>

* sem_intr.adb (Errint): Do not emit error message in
Relaxed_RM_Semantics mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237976 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_intr.adb