2016-04-20 Ed Schonberg <schonberg@adacore.com>
commit808ac3d86e8ab9c41f3695ded8c228d413f9f6d9
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Apr 2016 10:46:57 +0000 (20 10:46 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Apr 2016 10:46:57 +0000 (20 10:46 +0000)
treed7d1bbe572ad92b1dc6a9f703757cda9068a237f
parent0c4e0575dba7c25047c052e74f728c60d25dc2dd
2016-04-20  Ed Schonberg  <schonberg@adacore.com>

* sem_util.ads, sem_util.adb (Is_Expanded_Priority_Attribute):
New predicate to determine that in a context with full run-time,
a function call is an expansion of a reference to attribute
Priority.
* sem_ch5.adb (Analyze_Function_Call): use it.
* exp_ch5.adb (Expand_N_Subprogram_Call): use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235265 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_ch5.adb
gcc/ada/sem_ch5.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads