diff options
author | Ed Schonberg <schonberg@adacore.com> | 2009-04-22 10:11:00 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-22 12:11:00 +0200 |
commit | f3a67cfc20021148306054463c9654199ba901d5 (patch) | |
tree | efe68ba58667e8b31a2bb078cde6c3002d8fe676 /gcc/function.c | |
parent | 1ef4d0a80a0f685d97c032717c90032f9793f3af (diff) | |
download | gcc-f3a67cfc20021148306054463c9654199ba901d5.zip gcc-f3a67cfc20021148306054463c9654199ba901d5.tar.gz gcc-f3a67cfc20021148306054463c9654199ba901d5.tar.bz2 |
lib-load.ads, [...] (Make_Child_Decl_Unit): New subprogram...
2009-04-22 Ed Schonberg <schonberg@adacore.com>
* lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to
create a unit table entry for the subprogram declaration created for a
child suprogram body that has no separate specification.
* sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a
subprogram body, call Make_Child_Decl_Unit.
* lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the
table can only be the created specification of a child subprogram body
that is the main unit, which has not been entered in the table yet.
* errout.adb (Output_Messages): Ignore created specification of a
child subprogram body to prevent repeated listing of error messages.
* gnat1drv.adb (gnat1drv): The generated specification for a child
subprogram body does not generate code.
From-SVN: r146559
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions