r279432 - in /trunk/gcc/ada: ChangeLog sem_ch4.adb

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Mon Dec 16 10:34:00 GMT 2019


Author: pmderodat
Date: Mon Dec 16 10:34:42 2019
New Revision: 279432

URL: https://gcc.gnu.org/viewcvs?rev=279432&root=gcc&view=rev
Log:
[Ada] Crash on constrained container in generalized indexing operation

2019-12-16  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

	* sem_ch4.adb (Try_Container_Indexing): In the case of a derived
	container type, use the base type to look for candidate indexing
	operations, because the object may be a constrained subtype or
	itype with no explicit declaration.  Candidate indexing
	operations are found in the same scope and list of declarations
	as the declaration of the base type.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/sem_ch4.adb



More information about the Gcc-cvs mailing list