This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r273387 - in /trunk/gcc/ada: ChangeLog sem_ch8.adb
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 11 Jul 2019 08:01:58 -0000
- Subject: r273387 - in /trunk/gcc/ada: ChangeLog sem_ch8.adb
Author: pmderodat
Date: Thu Jul 11 08:01:58 2019
New Revision: 273387
URL: https://gcc.gnu.org/viewcvs?rev=273387&root=gcc&view=rev
Log:
[Ada] Internal crash on illegal renaming
This patch updates the retrieval of the renamed object name of an object
renaming declaration to handle various name forms.
No need for a test because one already exists, and reproducing requires
a compiler built with assertions.
2019-07-11 Hristian Kirtchev <kirtchev@adacore.com>
gcc/ada/
* sem_ch8.adb (Analyze_Object_Renaming): Obtain the object being
renamed using routine Get_Object_Name which takes care of
various name forms.
(Get_Object_Name): New routine.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_ch8.adb