diff options
author | Pierre-Marie de Rodat <derodat@adacore.com> | 2016-10-11 10:35:43 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2016-10-11 10:35:43 +0000 |
commit | 656b031126ee1679e97b03484cd870d68dd387a9 (patch) | |
tree | 8ee7e92fd6e2a32018317f96b606021e045aed70 /gcc/ada/uintp.h | |
parent | 4bb4acee6878e291e3972feb6dcd154bce915190 (diff) | |
download | gcc-656b031126ee1679e97b03484cd870d68dd387a9.zip gcc-656b031126ee1679e97b03484cd870d68dd387a9.tar.gz gcc-656b031126ee1679e97b03484cd870d68dd387a9.tar.bz2 |
exp_dbug.adb (Debug_Renaming_Declaration): Process underlying types.
* exp_dbug.adb (Debug_Renaming_Declaration): Process underlying types.
Emit GNAT encodings for object renamings involving record components
whose normalized bit offset is not null.
* uintp.h (UI_No_Uint): Declare.
* gcc-interface/gigi.h (can_materialize_object_renaming_p): New.
* gcc-interface/utils.c (can_materialize_object_renaming_p): New
function.
* gcc-interface/trans.c (gnat_to_gnu) <N_Object_Renaming_Declaration>:
In code generation mode, materialize all renamings as long as they need
debug info and we are not optimizing.
From-SVN: r240985
Diffstat (limited to 'gcc/ada/uintp.h')
-rw-r--r-- | gcc/ada/uintp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/uintp.h b/gcc/ada/uintp.h index 1f4e7a3..fafa139 100644 --- a/gcc/ada/uintp.h +++ b/gcc/ada/uintp.h @@ -6,7 +6,7 @@ * * * C Header File * * * - * Copyright (C) 1992-2014, Free Software Foundation, Inc. * + * Copyright (C) 1992-2016, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -64,6 +64,10 @@ extern Uint UI_From_Int (int); /* Similarly, but take a GCC INTEGER_CST. */ extern Uint UI_From_gnu (tree); +/* A constant value indicating a missing or unset Uint value. */ +#define UI_No_Uint uintp__no_uint +extern const Uint UI_No_Uint; + /* Uint values are represented as multiple precision integers stored in a multi-digit format using UI_Base as the base. This value is chosen so that the product UI_Base*UI_Base is within the range of Int values. */ |