r261003 - in /trunk/gcc/ada: ChangeLog sem_prag...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Thu May 31 10:46:00 GMT 2018


Author: pmderodat
Date: Thu May 31 10:46:34 2018
New Revision: 261003

URL: https://gcc.gnu.org/viewcvs?rev=261003&root=gcc&view=rev
Log:
[Ada] Simplify call to Unique_Defining_Entity on protected entry declarations

Calling Unique_Defining_Entity on protectected entry declarations is
equivalent to calling a simpler Defining_Entity; use the simpler routine.

Simplification only; semantics unaffected, so no test provided.

2018-05-31  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

	* sem_prag.adb (Analyze_Pragma): Replace call to Unique_Defining_Entity
	with a semantically equivalent call to Defining_Entity.

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



More information about the Gcc-cvs mailing list