summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 14:09:26 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 14:09:26 +0000
commita3248fc4f63a569631daa30af5755c26cf0cdc93 (patch)
treeac63a7e65efa92d26e3151d25fca6787d7daa147 /gcc/stor-layout.c
parent798afddcee2a47d79102505e7f55f40991d6846e (diff)
downloadgcc-a3248fc4f63a569631daa30af5755c26cf0cdc93.tar.gz
2011-12-20 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Insert_Freeze_Node_For_Instance): Further refinements on the placement of a freeze node for a package instantiation, when the generic appears within a previous instantiation in the same unit.If the current instance is within the one that contains the generic, the freeze node for the current one must appear in the current declarative part. Ditto if the current instance is within another package instance. In these cases the freeze node of the previous instance is is not relevant. New predicate Enclosing_Body simplifies the process. (Freeze_Subprogram_Body): Rename Enclosing_Body to Enclosing_Package_Body, to prevent confusion with subprogram of same name elsewhere. (Install_Body): Recognize enclosing subprogram bodies to determine whether freeze_node belongs in current declarative list. 2011-12-20 Robert Dewar <dewar@adacore.com> * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Allow attribute definition clause for renaming if generated internally and generate duplicate clause to apply to renamed object. (Rep_Item_Too_Late): Only diagnose source level entities * prj-nmsc.adb: Minor reformatting. * gcc-interface/Make-lang.in: Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
0 files changed, 0 insertions, 0 deletions