r202462 - in /trunk/gcc/ada: ChangeLog aspects....
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Tue Sep 10 15:12:00 GMT 2013
Author: charlet
Date: Tue Sep 10 15:12:42 2013
New Revision: 202462
URL: http://gcc.gnu.org/viewcvs?rev=202462&root=gcc&view=rev
Log:
2013-09-10 Ed Schonberg <schonberg@adacore.com>
* sem_prag.adb (Analyze_Pragma, case SPARK_Mode): Handle properly
a subprogram body without previous spec.
2013-09-10 Gary Dismukes <dismukes@adacore.com>
* sem_ch4.adb: Minor typo fixes.
2013-09-10 Hristian Kirtchev <kirtchev@adacore.com>
* aspects.adb (Aspects_On_Body_OK): New routine.
* aspects.ads: Modify type Aspect_Expression to include
the Optional_XXX variants. Update the contents of
table Aspect_Argument. Add table Aspect_On_Body_OK.
(Aspects_On_Body_OK): New routine.
* par-ch13.adb (Get_Aspect_Specifications): Account for optional
names and expressions when parsing an aspect.
* sem_ch6.adb: Add with and use clause for Aspects.
(Analyze_Subprogram_Body_Helper): Do not emit an error when
analyzing a body with aspects that can be applied simultaneously
to both spec and body.
* sem_ch13.adb (Analyze_Aspect_Specifications): Insert the
corresponding pragma of an aspect that applies to a subprogram
body in the declarative part.
(Make_Aitem_Pragma): Do not generate a pragma with an empty argument
list.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/aspects.adb
trunk/gcc/ada/aspects.ads
trunk/gcc/ada/par-ch13.adb
trunk/gcc/ada/sem_ch13.adb
trunk/gcc/ada/sem_ch4.adb
trunk/gcc/ada/sem_ch6.adb
trunk/gcc/ada/sem_prag.adb
More information about the Gcc-cvs
mailing list