diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 08:19:00 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 08:19:00 +0000 |
commit | 42dd1aa8793e67ceb491cde29d6b2f3fa3599895 (patch) | |
tree | ad6b6e5460c06819cd77d7b397ad501495da9fbf /gcc/ada/gcc-interface | |
parent | 9c9276388080f1b29ee3a89fdfbdada45c28fa92 (diff) | |
download | gcc-42dd1aa8793e67ceb491cde29d6b2f3fa3599895.tar.gz |
* gcc-interface/decl.c, gcc-interface/trans.c: Remove VMS handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r-- | gcc/ada/gcc-interface/decl.c | 16 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/trans.c | 7 |
2 files changed, 7 insertions, 16 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 795eea3a04f..d7ac29d98f6 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -1432,15 +1432,13 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition) gnu_expr = convert (gnu_type, gnu_expr); /* If this name is external or there was a name specified, use it, - unless this is a VMS exception object since this would conflict - with the symbol we need to export in addition. Don't use the - Interface_Name if there is an address clause (see CD30005). */ - if (!Is_VMS_Exception (gnat_entity) - && ((Present (Interface_Name (gnat_entity)) - && No (Address_Clause (gnat_entity))) - || (Is_Public (gnat_entity) - && (!Is_Imported (gnat_entity) - || Is_Exported (gnat_entity))))) + Don't use the Interface_Name if there is an address clause + (see CD30005). */ + if ((Present (Interface_Name (gnat_entity)) + && No (Address_Clause (gnat_entity))) + || (Is_Public (gnat_entity) + && (!Is_Imported (gnat_entity) + || Is_Exported (gnat_entity)))) gnu_ext_name = create_concat_name (gnat_entity, NULL); /* If this is an aggregate constant initialized to a constant, force it diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index 6df6dea3435..0798a660864 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -5484,13 +5484,6 @@ gnat_to_gnu (Node_Id gnat_node) gcc_assert (!TREE_OVERFLOW (gnu_result)); } - /* Convert the Ureal to a vax float (represented on a signed type). */ - else if (Vax_Float (Underlying_Type (Etype (gnat_node)))) - { - gnu_result = UI_To_gnu (Get_Vax_Real_Literal_As_Signed (gnat_node), - gnu_result_type); - } - else { Ureal ur_realval = Realval (gnat_node); |