r260717 - in /trunk/gcc/ada: ChangeLog exp_unst...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Fri May 25 09:03:00 GMT 2018


Author: pmderodat
Date: Fri May 25 09:03:09 2018
New Revision: 260717

URL: https://gcc.gnu.org/viewcvs?rev=260717&root=gcc&view=rev
Log:
[Ada] Refine checks for uplevel references

2018-05-25  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

	* exp_unst.adb (Visit_Node): Restrict check for uplevel references in
	prefixes of array attributes, to prefixes that are entity names whose
	type is constrained.
	(Note_Uplevel_Bound): Verify that the bound is declared in an enclosing
	subprogram, as itype created for loops in pre/postcondition may appear
	in loops at the library level.

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



More information about the Gcc-cvs mailing list