aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/gigi.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-05-16 09:11:39 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-05-16 09:11:39 +0000
commit871fda0ab0dcf2732eaeb89f4db0bb3c64eaf8f7 (patch)
tree902ad77b5c5de1e8d3786003564c4495f2968739 /gcc/ada/gcc-interface/gigi.h
parent1d4c5fe99b7f0551b3cafe72c63f465f5b59f215 (diff)
downloadgcc-871fda0ab0dcf2732eaeb89f4db0bb3c64eaf8f7.zip
gcc-871fda0ab0dcf2732eaeb89f4db0bb3c64eaf8f7.tar.gz
gcc-871fda0ab0dcf2732eaeb89f4db0bb3c64eaf8f7.tar.bz2
gigi.h (enum standard_datatypes): Add new value ADT_exception_data_name_id.
* gcc-interface/gigi.h (enum standard_datatypes): Add new value ADT_exception_data_name_id. (exception_data_name_id): New define. * gcc-interface/trans.c (gigi): Initialize it. * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use the standard exception type for standard exception definitions. Do not make them volatile. <E_Record_Type>: Equate fields of types associated with an exception definition to those of the standard exception type. From-SVN: r159452
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r--gcc/ada/gcc-interface/gigi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h
index f3a0bdd..ce8fc8a 100644
--- a/gcc/ada/gcc-interface/gigi.h
+++ b/gcc/ada/gcc-interface/gigi.h
@@ -342,6 +342,9 @@ enum standard_datatypes
/* Identifier for the name of the _Parent field in tagged record types. */
ADT_parent_name_id,
+ /* Identifier for the name of the Exception_Data type. */
+ ADT_exception_data_name_id,
+
/* Types and decls used by our temporary exception mechanism. See
init_gigi_decls for details. */
ADT_jmpbuf_type,
@@ -376,6 +379,7 @@ extern GTY(()) tree gnat_raise_decls[(int) LAST_REASON_CODE + 1];
#define free_decl gnat_std_decls[(int) ADT_free_decl]
#define mulv64_decl gnat_std_decls[(int) ADT_mulv64_decl]
#define parent_name_id gnat_std_decls[(int) ADT_parent_name_id]
+#define exception_data_name_id gnat_std_decls[(int) ADT_exception_data_name_id]
#define jmpbuf_type gnat_std_decls[(int) ADT_jmpbuf_type]
#define jmpbuf_ptr_type gnat_std_decls[(int) ADT_jmpbuf_ptr_type]
#define get_jmpbuf_decl gnat_std_decls[(int) ADT_get_jmpbuf_decl]