public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6205] [Ada] Do not generate encodings for fixed-point types by default
@ 2020-12-17 10:50 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2020-12-17 10:50 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:211d0b4f036313148c4da5e88b520c451a803172

commit r11-6205-g211d0b4f036313148c4da5e88b520c451a803172
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Dec 1 20:18:12 2020 +0100

    [Ada] Do not generate encodings for fixed-point types by default
    
    gcc/ada/
    
            * exp_dbug.adb (Get_Encoded_Name): Generate encodings for fixed
            point types only if -fgnat-encodings=all is specified.

Diff:
---
 gcc/ada/exp_dbug.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/exp_dbug.adb b/gcc/ada/exp_dbug.adb
index dc6cd265af4..bb0003d1c0b 100644
--- a/gcc/ada/exp_dbug.adb
+++ b/gcc/ada/exp_dbug.adb
@@ -648,7 +648,7 @@ package body Exp_Dbug is
       --  Fixed-point case: generate GNAT encodings when asked to
 
       if Is_Fixed_Point_Type (E)
-        and then GNAT_Encodings /= DWARF_GNAT_Encodings_Minimal
+        and then GNAT_Encodings = DWARF_GNAT_Encodings_All
       then
          Get_External_Name (E, True, "XF_");
          Add_Real_To_Buffer (Delta_Value (E));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-17 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 10:50 [gcc r11-6205] [Ada] Do not generate encodings for fixed-point types by default Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).