]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Record components do not appear in the Global contract
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2018 11:40:35 +0000 (11:40 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2018 11:40:35 +0000 (11:40 +0000)
commita827194ca5b3196f4abdf821d455f2d779d232ef
treee95e91c980989582ffe4b1b85dacf136ce8cd188
parent47120c1094c640373aa525743fd390cc8e6f7c7d
[Ada] Record components do not appear in the Global contract

In the Global contract there can be only entire objects, which are
represented either as N_Identifier or N_Expanded_Name. The test for
record components was dead. Now removed. Semantics unaffected.

2018-11-14  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* sem_util.adb (First_From_Global_List): Do not expect
N_Selected_Component in the Global contract; simplify assertion
with Nam_In.

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