diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-01-27 09:12:14 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-01-27 09:12:14 +0000 |
commit | 88a94e2bba73b6eeb77d82f5bb18d990d2f63b10 (patch) | |
tree | b54137b4bfdb059897b534bdeface7421eb8f5cc /gcc/ada/gcc-interface/gigi.h | |
parent | 6b318bf2bfa83bd5bd814cb7bbc15ad282db9f28 (diff) | |
download | gcc-88a94e2bba73b6eeb77d82f5bb18d990d2f63b10.zip gcc-88a94e2bba73b6eeb77d82f5bb18d990d2f63b10.tar.gz gcc-88a94e2bba73b6eeb77d82f5bb18d990d2f63b10.tar.bz2 |
gigi.h (create_label_decl): Adjust.
* gcc-interface/gigi.h (create_label_decl): Adjust.
* gcc-interface/utils.c (create_label_decl): Add GNAT_NODE parameter
and invoke gnat_pushdecl on it. Remove obsolete settings.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Label>: Adjust call to
create_label_decl.
* gcc-interface/trans.c (gnat_to_gnu) <N_Null): Likewise. Ignore the
label for debugging purposes.
From-SVN: r183606
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r-- | gcc/ada/gcc-interface/gigi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index e22c444..9b14743 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -672,8 +672,9 @@ extern tree create_field_decl (tree field_name, tree field_type, extern tree create_param_decl (tree param_name, tree param_type, bool readonly); -/* Return a LABEL_DECL node for LABEL_NAME. */ -extern tree create_label_decl (tree label_name); +/* Return a LABEL_DECL with LABEL_NAME. GNAT_NODE is used for the position + of the decl. */ +extern tree create_label_decl (tree, Node_Id); /* Return a FUNCTION_DECL node. SUBPROG_NAME is the name of the subprogram, ASM_NAME is its assembler name, SUBPROG_TYPE is its type (a FUNCTION_TYPE |