r262724 - in /trunk/gcc/ada: ChangeLog sem_ch12...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Mon Jul 16 14:11:00 GMT 2018


Author: pmderodat
Date: Mon Jul 16 14:11:58 2018
New Revision: 262724

URL: https://gcc.gnu.org/viewcvs?rev=262724&root=gcc&view=rev
Log:
[Ada] Fix Default_Storage_Pool aspect handling in generic instantiations

2018-07-16  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

	* sem_ch12.adb (Analyze_Package_Instantiation): Handle properly an
	instance that carries an aspect Default_Storage_Pool that overrides a
	default storage pool that applies to the generic unit. The aspect in
	the generic unit was removed before copying it in the instance, rather
	than removing it from the copy of the aspects that are appended to the
	aspects in the instance.

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



More information about the Gcc-cvs mailing list