]> gcc.gnu.org Git - gcc.git/commitdiff
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2011 10:14:45 +0000 (12:14 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2011 10:14:45 +0000 (12:14 +0200)
2011-08-29  Robert Dewar  <dewar@adacore.com>

* exp_ch5.adb, sinfo.ads, make.adb, s-pooglo.adb, sem_ch12.adb,
freeze.adb, sem_ch6.adb, par-ch12.adb: Minor reformatting.

2011-08-29  Tristan Gingold  <gingold@adacore.com>

* system-darwin-x86.ads, system-linux-s390x.ads, system-linux-alpha.ads,
system-tru64.ads, system-irix-n32.ads, system-vxworks-arm.ads,
system-linux-hppa.ads, system-linux-s390.ads,
system-solaris-sparcv9.ads, system-mingw.ads, system-linux-ia64.ads,
system-vms_64.ads, system-vxworks-sparcv9.ads, system-linux-ppc.ads,
system-aix64.ads, system-lynxos-ppc.ads, system-linux-sh4.ads,
system-solaris-x86.ads, system-linux-x86_64.ads, system-linux-x86.ads,
system-vxworks-ppc.ads, system-hpux.ads, system-darwin-ppc.ads,
system-solaris-sparc.ads, system-lynxos-x86.ads,
system-vxworks-m68k.ads, system-hpux-ia64.ads, system-irix-o32.ads,
system-solaris-x86_64.ads, system-mingw-x86_64.ads,
system-vxworks-mips.ads, system-linux-sparc.ads, system-vms-ia64.ads,
system-freebsd-x86.ads, system-aix.ads, system-darwin-x86_64.ads,
system-vxworks-x86.ads: Remove GCC_ZCX_Support
* s-taprop-posix.adb, s-taprop-irix.adb, s-taprop-vxworks.adb,
s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb: Ditto.
* opt.ads: Adjust comment.
* targparm.ads, targparm.adb: Remove GCC_ZCX_Support_On_Target.
* gnat1drv.adb: Do not check for GCC_ZCX_Support_On_Target.
* system.ads: Move GCC_ZCX_Support to obsolete entries.

2011-08-29  Emmanuel Briot  <briot@adacore.com>

* makeutl.adb (Do_Complete): Resolve symbolic links when a relative
file name is specified on the gnatmake or gprbuild command line, and
before we search for that file in the project.

2011-08-29  Ed Schonberg  <schonberg@adacore.com>

* sem_type.adb (Within_Instance): New predicate in Collect_Interps,
used to determine whether a possible interpretation for an overloadable
entity is declared within the current instantiation and should be
included in the candidate set.

2011-08-29  Vasiliy Fofanov  <fofanov@adacore.com>

* gnat_rm.texi, gnat_ugn.texi: Clean ups.

From-SVN: r178186

61 files changed:
gcc/ada/ChangeLog
gcc/ada/exp_ch5.adb
gcc/ada/freeze.adb
gcc/ada/gnat1drv.adb
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi
gcc/ada/make.adb
gcc/ada/makeutl.adb
gcc/ada/opt.ads
gcc/ada/par-ch12.adb
gcc/ada/s-pooglo.adb
gcc/ada/s-taprop-irix.adb
gcc/ada/s-taprop-linux.adb
gcc/ada/s-taprop-posix.adb
gcc/ada/s-taprop-solaris.adb
gcc/ada/s-taprop-tru64.adb
gcc/ada/s-taprop-vxworks.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_type.adb
gcc/ada/sinfo.ads
gcc/ada/system-aix.ads
gcc/ada/system-aix64.ads
gcc/ada/system-darwin-ppc.ads
gcc/ada/system-darwin-x86.ads
gcc/ada/system-darwin-x86_64.ads
gcc/ada/system-freebsd-x86.ads
gcc/ada/system-hpux-ia64.ads
gcc/ada/system-hpux.ads
gcc/ada/system-irix-n32.ads
gcc/ada/system-irix-o32.ads
gcc/ada/system-linux-alpha.ads
gcc/ada/system-linux-hppa.ads
gcc/ada/system-linux-ia64.ads
gcc/ada/system-linux-ppc.ads
gcc/ada/system-linux-s390.ads
gcc/ada/system-linux-s390x.ads
gcc/ada/system-linux-sh4.ads
gcc/ada/system-linux-sparc.ads
gcc/ada/system-linux-x86.ads
gcc/ada/system-linux-x86_64.ads
gcc/ada/system-lynxos-ppc.ads
gcc/ada/system-lynxos-x86.ads
gcc/ada/system-mingw-x86_64.ads
gcc/ada/system-mingw.ads
gcc/ada/system-solaris-sparc.ads
gcc/ada/system-solaris-sparcv9.ads
gcc/ada/system-solaris-x86.ads
gcc/ada/system-solaris-x86_64.ads
gcc/ada/system-tru64.ads
gcc/ada/system-vms-ia64.ads
gcc/ada/system-vms_64.ads
gcc/ada/system-vxworks-arm.ads
gcc/ada/system-vxworks-m68k.ads
gcc/ada/system-vxworks-mips.ads
gcc/ada/system-vxworks-ppc.ads
gcc/ada/system-vxworks-sparcv9.ads
gcc/ada/system-vxworks-x86.ads
gcc/ada/system.ads
gcc/ada/targparm.adb
gcc/ada/targparm.ads

index bae5e1ba533a6e4521eea1ce697ea5a080a4ec03..0603a312e47ce9e4c6659e604e184d1f5a1a814d 100644 (file)
@@ -1,3 +1,48 @@
+2011-08-29  Robert Dewar  <dewar@adacore.com>
+
+       * exp_ch5.adb, sinfo.ads, make.adb, s-pooglo.adb, sem_ch12.adb,
+       freeze.adb, sem_ch6.adb, par-ch12.adb: Minor reformatting.
+
+2011-08-29  Tristan Gingold  <gingold@adacore.com>
+
+       * system-darwin-x86.ads, system-linux-s390x.ads, system-linux-alpha.ads,
+       system-tru64.ads, system-irix-n32.ads, system-vxworks-arm.ads,
+       system-linux-hppa.ads, system-linux-s390.ads,
+       system-solaris-sparcv9.ads, system-mingw.ads, system-linux-ia64.ads,
+       system-vms_64.ads, system-vxworks-sparcv9.ads, system-linux-ppc.ads,
+       system-aix64.ads, system-lynxos-ppc.ads, system-linux-sh4.ads,
+       system-solaris-x86.ads, system-linux-x86_64.ads, system-linux-x86.ads,
+       system-vxworks-ppc.ads, system-hpux.ads, system-darwin-ppc.ads,
+       system-solaris-sparc.ads, system-lynxos-x86.ads,
+       system-vxworks-m68k.ads, system-hpux-ia64.ads, system-irix-o32.ads,
+       system-solaris-x86_64.ads, system-mingw-x86_64.ads,
+       system-vxworks-mips.ads, system-linux-sparc.ads, system-vms-ia64.ads,
+       system-freebsd-x86.ads, system-aix.ads, system-darwin-x86_64.ads,
+       system-vxworks-x86.ads: Remove GCC_ZCX_Support
+       * s-taprop-posix.adb, s-taprop-irix.adb, s-taprop-vxworks.adb,
+       s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb: Ditto.
+       * opt.ads: Adjust comment.
+       * targparm.ads, targparm.adb: Remove GCC_ZCX_Support_On_Target.
+       * gnat1drv.adb: Do not check for GCC_ZCX_Support_On_Target.
+       * system.ads: Move GCC_ZCX_Support to obsolete entries.
+
+2011-08-29  Emmanuel Briot  <briot@adacore.com>
+
+       * makeutl.adb (Do_Complete): Resolve symbolic links when a relative
+       file name is specified on the gnatmake or gprbuild command line, and
+       before we search for that file in the project.
+
+2011-08-29  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_type.adb (Within_Instance): New predicate in Collect_Interps,
+       used to determine whether a possible interpretation for an overloadable
+       entity is declared within the current instantiation and should be
+       included in the candidate set.
+
+2011-08-29  Vasiliy Fofanov  <fofanov@adacore.com>
+
+       * gnat_rm.texi, gnat_ugn.texi: Clean ups.
+
 2011-08-29  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_res.adb (Resolve_Actuals): Use base type to determine whether an
index 47ea0d84392af97ee8a96b651316b73dcabcefe9..0420e741c0dbb84fa298a329b88ab3bb7f29d750 100644 (file)
@@ -1891,11 +1891,15 @@ package body Exp_Ch5 is
       if Nkind (Lhs) = N_Indexed_Component
         and then Is_Bit_Packed_Array (Etype (Prefix (Lhs)))
       then
+         --  Normal case, no change of representation
+
          if not Crep then
             Expand_Bit_Packed_Element_Set (N);
             return;
-         else
 
+         --  Change of representation case
+
+         else
             --  Generate the following, to force component-by-component
             --  assignments in an efficient way. Otherwise each component
             --  will require a temporary and two bit-field manipulations.
@@ -1909,16 +1913,18 @@ package body Exp_Ch5 is
                Stats : List_Id;
 
             begin
-               Stats := New_List (
-                 Make_Object_Declaration (Loc,
-                   Defining_Identifier => Tnn,
-                   Object_Definition => New_Occurrence_Of (Etype (Lhs), Loc)),
-                Make_Assignment_Statement (Loc,
-                  Name => New_Occurrence_Of (Tnn, Loc),
-                  Expression => Relocate_Node (Rhs)),
-                Make_Assignment_Statement (Loc,
-                  Name => Relocate_Node (Lhs),
-                  Expression => New_Occurrence_Of (Tnn, Loc)));
+               Stats :=
+                 New_List (
+                   Make_Object_Declaration (Loc,
+                     Defining_Identifier => Tnn,
+                     Object_Definition   =>
+                       New_Occurrence_Of (Etype (Lhs), Loc)),
+                   Make_Assignment_Statement (Loc,
+                     Name       => New_Occurrence_Of (Tnn, Loc),
+                     Expression => Relocate_Node (Rhs)),
+                   Make_Assignment_Statement (Loc,
+                     Name       => Relocate_Node (Lhs),
+                     Expression => New_Occurrence_Of (Tnn, Loc)));
 
                Insert_Actions (N, Stats);
                Rewrite (N, Make_Null_Statement (Loc));
index 3d366fd3c0921bdb737feba2576d05941ae4bcd7..0d3c13125380b709498415a20a1cd369972d2a71 100644 (file)
@@ -1439,27 +1439,27 @@ package body Freeze is
                end loop;
             end;
 
-         --  We add finalization masters to access types whose designated types
-         --  require finalization. This is normally done when freezing the
-         --  type, but this misses recursive type definitions where the later
-         --  members of the recursion introduce controlled components (such as
-         --  can happen when incomplete types are involved), as well cases
-         --  where a component type is private and the controlled full type
-         --  occurs after the access type is frozen. Cases that don't need a
-         --  finalization master are generic formal types (the actual type will
-         --  have it) and types with Java and CIL conventions, since those are
-         --  used for API bindings. (Are there any other cases that should be
-         --  excluded here???)
+         --  We add finalization collections to access types whose designated
+         --  types require finalization. This is normally done when freezing
+         --  the type, but this misses recursive type definitions where the
+         --  later members of the recursion introduce controlled components
+         --  (such as can happen when incomplete types are involved), as well
+         --  cases where a component type is private and the controlled full
+         --  type occurs after the access type is frozen. Cases that don't
+         --  need a finalization collection are generic formal types (the
+         --  actual type will have it) and types with Java and CIL conventions,
+         --  since those are used for API bindings. (Are there any other cases
+         --  that should be excluded here???)
 
          elsif Is_Access_Type (E)
            and then Comes_From_Source (E)
            and then not Is_Generic_Type (E)
            and then Needs_Finalization (Designated_Type (E))
-           and then No (Finalization_Master (E))
+           and then No (Associated_Collection (E))
            and then Convention (Designated_Type (E)) /= Convention_Java
            and then Convention (Designated_Type (E)) /= Convention_CIL
          then
-            Build_Finalization_Master (E);
+            Build_Finalization_Collection (E);
          end if;
 
          Next_Entity (E);
@@ -2036,7 +2036,7 @@ package body Freeze is
             Next_Entity (Comp);
          end loop;
 
-         --  Deal with pragma Bit_Order setting non-standard bit order
+         --  Deal with Bit_Order aspect specifying a non-default bit order
 
          if Reverse_Bit_Order (Rec) and then Base_Type (Rec) = Rec then
             if not Placed_Component then
@@ -2304,9 +2304,8 @@ package body Freeze is
       elsif Inside_A_Generic and then External_Ref_In_Generic (Test_E) then
          return No_List;
 
-      --  AI05-0213: a formal incomplete type does not freeze the actual.
-      --  In the instance, the same applies to the subtype that renames
-      --  the actual.
+      --  AI05-0213: A formal incomplete type does not freeze the actual. In
+      --  the instance, the same applies to the subtype renaming the actual.
 
       elsif Is_Private_Type (E)
         and then Is_Generic_Actual_Type (E)
index 7ae04fe62c7ac7fea0c51bd818565cafa2af3684..6f3e6f1f9561287f5491e20b035148d94fd7e0ed 100644 (file)
@@ -324,11 +324,7 @@ procedure Gnat1drv is
       --  Set and check exception mechanism
 
       if Targparm.ZCX_By_Default_On_Target then
-         if Targparm.GCC_ZCX_Support_On_Target then
-            Exception_Mechanism := Back_End_Exceptions;
-         else
-            Osint.Fail ("Zero Cost Exceptions not supported on this target");
-         end if;
+         Exception_Mechanism := Back_End_Exceptions;
       end if;
 
       --  Set proper status for overflow checks. We turn on overflow checks if
index ac7ae790b7809803747ffdaa99695877f3d580f8..b2531add514eb9ab9a06bfc1a76495b60b44d4f6 100644 (file)
@@ -527,7 +527,7 @@ isolate and clearly document any sections of your program that make use
 of these features in a non-portable manner.
 
 @ifset PROEDITION
-For ease of exposition, ``GNAT Pro'' will be referred to simply as
+For ease of exposition, ``@value{EDITION}'' will be referred to simply as
 ``GNAT'' in the remainder of this document.
 @end ifset
 
@@ -5879,7 +5879,7 @@ the containing record @var{R}.
 @code{Standard'Compiler_Version} (@code{Standard} is the only allowed
 prefix) yields a static string identifying the version of the compiler
 being used to compile the unit containing the attribute reference. A
-typical result would be something like "GNAT Pro 6.3.0w (20090221)".
+typical result would be something like "@value{EDITION} @value{gnat_version} (20090221)".
 
 @node Code_Address
 @unnumberedsec Code_Address
index 7f2d655540e380c7ce1265cbc740bf4a7d1d1dd9..9fb068db6f118facb7166b739ab10f7023c803fd 100644 (file)
@@ -7,7 +7,7 @@
 @c                                                                            o
 @c                             G N A T _ U G N                                o
 @c                                                                            o
-@c                     Copyright (C) 1992-2011, AdaCore                       o
+@c           Copyright (C) 1992-2011, Free Software Foundation, Inc.          o
 @c                                                                            o
 @c oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 
@@ -7758,11 +7758,11 @@ found in the GCC documentation.
 Use of these @option{-m} switches may in some cases result in improved
 code performance.
 
-The GNAT Pro technology is tested and qualified without any
+The @value{EDITION} technology is tested and qualified without any
 @option{-m} switches,
 so generally the most reliable approach is to avoid the use of these
 switches. However, we generally expect most of these switches to work
-successfully with GNAT Pro, and many customers have reported successful
+successfully with @value{EDITION}, and many customers have reported successful
 use of these options.
 
 Our general advice is to avoid the use of @option{-m} switches unless
@@ -18944,7 +18944,7 @@ program, in which case the execution of that program is simply suspended
 until the connection between the debugger and gdbserver is established.
 
 For more information on how to use gdbserver, @ref{Top, Server, Using
-the gdbserver Program, gdb, Debugging with GDB}.  GNAT Pro provides support
+the gdbserver Program, gdb, Debugging with GDB}.  @value{EDITION} provides support
 for gdbserver on x86-linux, x86-windows and x86_64-linux.
 
 @node GNAT Abnormal Termination or Failure to Terminate
@@ -21110,7 +21110,7 @@ of the DECset package.
    &\cr
 \+\it Tool
    &\it Product with HP Ada
-   & \it Product with GNAT Pro\cr
+   & \it Product with @value{EDITION}\cr
 \smallskip
 \+Code Management System
    &HP CMS
@@ -21167,7 +21167,7 @@ of the DECset package.
 @c the TeX version above for the printed version
 @flushleft
 @c @multitable @columnfractions .3 .4 .4
-@multitable {Source Code Analyzer /}{Tool with HP Ada}{Tool with GNAT Pro}
+@multitable {Source Code Analyzer /}{Tool with HP Ada}{Tool with @value{EDITION}}
 @item @i{Tool}
 @tab @i{Tool with HP Ada}
 @tab @i{Tool with @value{EDITION}}
@@ -26435,7 +26435,7 @@ in 64-bit address space are acceptable.
 @noindent
 64-bit @value{EDITION} for Open VMS takes advantage of the freedom given in the
 Ada standard with respect to the type of @code{System.Address}. Previous
-versions of GNAT Pro have defined this type as private and implemented it as a
+versions of @value{EDITION} have defined this type as private and implemented it as a
 modular type.
 
 In order to allow defining @code{System.Short_Address} as a proper subtype,
index 470f4d6a3928c6806caaa9dd2cf53b1d467d78f9..cc38ae8c4defb199988b7b1605859d48d9f7f5fd 100644 (file)
@@ -6106,8 +6106,9 @@ package body Make is
             Current_Work_Dir => Current_Work_Dir.all);
 
          if Is_First_Main then
-            --  Put the default source dirs in the source path only now,
-            --  so that we take the correct ones in the case when --RTS= is
+
+            --  Put the default source dirs in the source path only now, so
+            --  that we take the correct ones in the case where --RTS= is
             --  specified in the Builder switches.
 
             Osint.Add_Default_Search_Dirs;
index 4b6828041fb26efe114ee3606d11b1118c0db97d..c8cbd0522e38e4a0ba66225c0d979218cd750a75 100644 (file)
@@ -1562,11 +1562,16 @@ package body Makeutl is
                            Main_Id := Create_Name (Base);
                         else
                            declare
+                              --  Always resolve links here, so that users
+                              --  can be specify any name on the command line.
+                              --  If the project itself uses links, the user
+                              --  will be using -eL anyway, and thus files are
+                              --  also stored with resolved names.
                               Absolute : constant String :=
                                            Normalize_Pathname
                                              (Name           => Main,
                                               Directory      => "",
-                                              Resolve_Links  => False,
+                                              Resolve_Links  => True,
                                               Case_Sensitive => False);
                            begin
                               File.File := Create_Name (Absolute);
index e69277f7656ac05c975252383d2a77908e32250c..96c868a999221c79456400965a7c0efc2092ddd7 100644 (file)
@@ -537,8 +537,8 @@ package Opt is
                            Front_End_Setjmp_Longjmp_Exceptions;
    --  GNAT
    --  Set to the appropriate value depending on the default as given in
-   --  system.ads (ZCX_By_Default, GCC_ZCX_Support). The C convention is there
-   --  to make this variable accessible to gigi.
+   --  system.ads (ZCX_By_Default). The C convention is there to make this
+   --  variable accessible to gigi.
 
    Exception_Tracebacks : Boolean := False;
    --  GNATBIND
index a7e5242683924769b116c70ef4ab608a800231c0..64f0361696971bb2cf0d74131d9601bd3a727552 100644 (file)
@@ -533,7 +533,7 @@ package body Ch12 is
 
       if Token = Tok_Semicolon then
 
-         --  Ada2012 :  incomplete formal type
+         --  Ada2012: Incomplete formal type
 
          Scan; -- past semicolon
 
@@ -546,7 +546,7 @@ package body Ch12 is
 
          Set_Formal_Type_Definition
            (Decl_Node,
-             New_Node (N_Formal_Incomplete_Type_Definition, Token_Ptr));
+            New_Node (N_Formal_Incomplete_Type_Definition, Token_Ptr));
          return Decl_Node;
 
       else
index 6e9cc30a3c70a11d332271f4775178122d20a219..e4dcdb091c744c0b174ec4ebd99b10206522733a 100644 (file)
@@ -68,6 +68,9 @@ package body System.Pool_Global is
          raise Storage_Error;
       end if;
 
+      --  Case where alignment requested is greater than the alignment that is
+      --  guaranteed to be provided by the system allocator.
+
       if Alignment > Standard'System_Allocator_Alignment then
 
          --  Realign the returned address
@@ -87,7 +90,9 @@ package body System.Pool_Global is
          begin
             Saved_Address := Allocated;
          end;
+
          Address := Aligned_Address;
+
       else
          Address := Allocated;
       end if;
@@ -108,6 +113,10 @@ package body System.Pool_Global is
       pragma Warnings (Off, Storage_Size);
 
    begin
+      --  Case where the alignment of the block exceeds the guaranteed
+      --  alignment required by the system storage allocator, meaning that
+      --  this was specially wrapped at allocation time.
+
       if Alignment > Standard'System_Allocator_Alignment then
 
          --  Retrieve the block address
@@ -120,6 +129,7 @@ package body System.Pool_Global is
          begin
             Memory.Free (Saved_Address);
          end;
+
       else
          Memory.Free (Address);
       end if;
index 3e0b9ab7cd3ab4dfe97e0bacb903b2317987c9e1..9d8ac90b59c1f0a2c57e7476671f680d70e5b314 100644 (file)
@@ -164,7 +164,7 @@ package body System.Task_Primitives.Operations is
       --  cases (e.g. shutdown of the Server_Task in System.Interrupts) we
       --  need to send the Abort signal to a task.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index 8d46cbd98c16f5d2082c922ac5f079ece6056c85..f46736fbf5fb0801afffb058fdff8823e8b1735a 100644 (file)
@@ -178,7 +178,7 @@ package body System.Task_Primitives.Operations is
       --  cases (e.g. shutdown of the Server_Task in System.Interrupts) we
       --  need to send the Abort signal to a task.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index 705e8a514348135dcf8e808d9faa309dc7acd44c..2372d3d9b29062c3e603c170dd1c2e6488c8b795 100644 (file)
@@ -203,7 +203,7 @@ package body System.Task_Primitives.Operations is
       --  cases (e.g. shutdown of the Server_Task in System.Interrupts) we
       --  need to send the Abort signal to a task.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index a48622d0345fb78ab87047bbc2268278000d0989..042a93123262d30b701ccd981a7ce214789bb529 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  B o d y                                 --
 --                                                                          --
---         Copyright (C) 1992-2010, Free Software Foundation, Inc.          --
+--         Copyright (C) 1992-2011, Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNARL 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- --
@@ -265,7 +265,7 @@ package body System.Task_Primitives.Operations is
       --  cases (e.g. shutdown of the Server_Task in System.Interrupts) we
       --  need to send the Abort signal to a task.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index cd6daca128f04e0f82078ea3b6cd0dffac563afb..6c2c527fe11f885e3f8a218fb816d0bf58fe82bb 100644 (file)
@@ -167,7 +167,7 @@ package body System.Task_Primitives.Operations is
       --  cases (e.g. shutdown of the Server_Task in System.Interrupts) we
       --  need to send the Abort signal to a task.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index e1f3986e2a5d6f54deeb64af4b0f3ddf30496923..0214efb63cc56514bbb05643d988ccceba4842d1 100644 (file)
@@ -188,7 +188,7 @@ package body System.Task_Primitives.Operations is
       --  It is not safe to raise an exception when using ZCX and the GCC
       --  exception handling mechanism.
 
-      if ZCX_By_Default and then GCC_ZCX_Support then
+      if ZCX_By_Default then
          return;
       end if;
 
index 9e10682bb2406309298055411fb0b863c40fa0f1..446a1d6134bd5b192a540762fa72ff2d2d698054 100644 (file)
@@ -343,9 +343,10 @@ package body Sem_Ch12 is
    --  Creates a new private type, which does not require completion
 
    procedure Analyze_Formal_Incomplete_Type (T   : Entity_Id; Def : Node_Id);
-   --  Ada2012 : Creates a new incomplete type, whose actual does not freeze.
+   --  Ada2012: Creates a new incomplete type whose actual does not freeze
 
    procedure Analyze_Generic_Formal_Part (N : Node_Id);
+   --  Analyze generic formal part
 
    procedure Analyze_Generic_Access_Type (T : Entity_Id; Def : Node_Id);
    --  Create a new access type with the given designated type
index 13e4a6ac051713fc090fed1d1e2aac2f5baaba14..2c2d4c997fc2b7f79cfe1a2ffaaa90184b5e55a2 100644 (file)
@@ -2340,16 +2340,15 @@ package body Sem_Ch6 is
          --  In general, the spec will be frozen when we start analyzing the
          --  body. However, for internally generated operations, such as
          --  wrapper functions for inherited operations with controlling
-         --  results, the spec may not have been frozen by the time we
-         --  expand the freeze actions that include the bodies. In particular,
-         --  extra formals for accessibility or for return-in-place may need
-         --  to be generated. Freeze nodes, if any, are inserted before the
-         --  current body. These freeze actions are also needed in ASIS mode
-         --  to enable the proper back-annotations.
+         --  results, the spec may not have been frozen by the time we expand
+         --  the freeze actions that include the bodies. In particular, extra
+         --  formals for accessibility or for return-in-place may need to be
+         --  generated. Freeze nodes, if any, are inserted before the current
+         --  body. These freeze actions are also needed in ASIS mode to enable
+         --  the proper back-annotations.
 
          if not Is_Frozen (Spec_Id)
-           and then
-             (Expander_Active or else ASIS_Mode)
+           and then (Expander_Active or ASIS_Mode)
          then
             --  Force the generation of its freezing node to ensure proper
             --  management of access types in the backend.
@@ -6082,13 +6081,14 @@ package body Sem_Ch6 is
             end if;
 
             --  In the case of functions whose result type needs finalization,
-            --  add an extra formal which represents the finalization master.
+            --  add an extra formal of type Ada.Finalization.Heap_Management.
+            --  Finalization_Collection_Ptr.
 
-            if Needs_BIP_Finalization_Master (E) then
+            if Needs_BIP_Collection (E) then
                Discard :=
                  Add_Extra_Formal
-                   (E, RTE (RE_Finalization_Master_Ptr),
-                    E, BIP_Formal_Suffix (BIP_Finalization_Master));
+                   (E, RTE (RE_Finalization_Collection_Ptr),
+                    E, BIP_Formal_Suffix (BIP_Collection));
             end if;
 
             --  If the result type contains tasks, we have two extra formals:
index 28b161ce8d5e07810ade306f7fa4a00b33ad450c..f035f504651a3d07ef809863eeed8f282d459e09 100644 (file)
@@ -569,6 +569,39 @@ package body Sem_Type is
       Ent          : constant Entity_Id := Entity (N);
       H            : Entity_Id;
       First_Interp : Interp_Index;
+      function Within_Instance (E : Entity_Id) return Boolean;
+      --  Within an instance there can be spurious ambiguities between a local
+      --  entity and one declared outside of the instance. This can only
+      --  happen for subprograms, because otherwise the local entity hides the
+      --  outer one. For overloadable entities, this predicate determines
+      --  whether it is a candidate within the instance, or must be ignored.
+
+      function Within_Instance (E : Entity_Id) return Boolean is
+         Inst : Entity_Id;
+         Scop : Entity_Id;
+      begin
+         if not In_Instance then
+            return False;
+         end if;
+         Inst := Current_Scope;
+         while Present (Inst)
+           and then not Is_Generic_Instance (Inst)
+         loop
+            Inst := Scope (Inst);
+         end loop;
+         Scop := Scope (E);
+
+         while Present (Scop)
+           and then Scop /= Standard_Standard
+         loop
+            if Scop = Inst then
+               return True;
+            end if;
+            Scop := Scope (Scop);
+         end loop;
+
+         return False;
+      end Within_Instance;
 
    begin
       New_Interps (N);
@@ -626,9 +659,7 @@ package body Sem_Type is
                      --  levels within the instance. The renaming of an actual
                      --  within the instance must not be included.
 
-                     if (Scope (H) = Scope (Ent)
-                          or else Scope (H) = Scope (Scope (Ent)))
-                        and then In_Instance
+                     if Within_Instance (H)
                         and then H /= Renamed_Entity (Ent)
                         and then not Is_Inherited_Operation (H)
                      then
index 07f532e4bdc8c76387f39a7911b9f4d932f95fee..744d7cc7d2ed8928747f41124cc0bcc73df0bfde 100644 (file)
@@ -6275,12 +6275,11 @@ package Sinfo is
       --  Synchronized_Present (Flag7)
       --  Interface_List (List2) (set to No_List if none)
 
-      ------------------------------------------------
-      -- 12.5.1  Formal Incomplete  Type Definition --
-      ------------------------------------------------
+      -----------------------------------------------
+      -- 12.5.1  Formal Incomplete Type Definition --
+      -----------------------------------------------
 
-      --  FORMAL_INCOMPLETE_TYPE_DEFINITION ::=
-      --  [tagged]
+      --  FORMAL_INCOMPLETE_TYPE_DEFINITION ::= [tagged]
 
       --  N_Formal_Incomplete_Type_Definition
       --  Sloc points to identifier of parent
index 345e2b0c2b1d7da71b7a5c5795353e320366115a..3f91af51ecc3084f53b2db5ba3d96eca51b29b69 100644 (file)
@@ -149,6 +149,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 480418a81cac0967d91a2d44174b782cec95fa16..4ad3756042ba48731ca20d1aa1b02f081da81a05 100644 (file)
@@ -149,6 +149,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 295080a7b11fbd5794aa241d14e619ea5d77e32f..79894e5c3605e7042fbbce922e0e84fab503ae96 100644 (file)
@@ -165,6 +165,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 781d5073ef9a5112add7351f6791a386916e2ea6..efd93f63c203ed4ffc6ae691a3c735443654c4f1 100644 (file)
@@ -165,6 +165,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 776dc28293beb3f83f0a28bbea833f3bbf42bde1..27f1241616dd8b56e6e6613014e8aa097354864b 100644 (file)
@@ -165,6 +165,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 47522f76a77f6851bd0cc408b977da1b3105f6d5..cb03d56d434f322f687bfd8733f2efe25e8a6e22 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index ea7faee6997c289b60c87e1c467842d9b75d4790..c9cf952e8060889b3a470643f38ce056eabdd9fc 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index d9b0af01732b3038a70454de36c277357a01dce1..f32ea6f494815eb66c16349356d357f8f7ee3d63 100644 (file)
@@ -139,7 +139,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --------------------------
    -- Underlying Priorities --
index f9ff83c0d9e30f27241300a1b00637265f8c087d..3dd0810d257ef836992a5a17743c9c7cc656ca81 100644 (file)
@@ -151,7 +151,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --  Note: Denorm is False because denormals are not supported on the
    --  R10000, and we want the code to be valid for this processor.
index 2857856465d7f5bf64b07c96a9415dfd2cfed4ab..91d0afd9a07ea6cf7b506adc0bedb8123c931b8c 100644 (file)
@@ -139,7 +139,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --  Note: Denorm is False because denormals are not supported on the
    --  R10000, and we want the code to be valid for this processor.
index 120d98b576efde97250477b032c12897db6e5fb1..154c01bf6c570c1961ae33990b676cbac4cfcdb9 100644 (file)
@@ -137,6 +137,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 403822d88f916b3c56829b652b35fb1ba709507f..3b4bb27003678fd5d99e4b41104d94f6f57a6865 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index c669b0b3306cd414bcfc5b558a052656a4239c1b..11be8491d270cdd6f1c74fb49d6fe38cd0568cd1 100644 (file)
@@ -147,6 +147,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 89ae691b48f584111f1ac435bce8466f5f399e13..cbd814341ed4afef53df7a627a4617ecc65b5ee4 100644 (file)
@@ -147,6 +147,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 16e403e2093bba4a531360f7b30dd919c766807c..19ad00025ad01ce3c3922a992e291411430dff3f 100644 (file)
@@ -137,6 +137,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 57846d71ee8ffb8b4e89a55b21f0d26205a37eab..6ed5749aafd73881e6439fa1499f2ea4f5408e2d 100644 (file)
@@ -137,6 +137,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 6ca5d35009b310083e253263d69463e9e8bb9830..344b7ef541ebc2a973ed68699bee335e9defaddf 100644 (file)
@@ -147,6 +147,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 6009d049ef03027655603dd523639bc7fef24218..1f4f2207d45c4922855d23d18e68cbe20c17f09a 100644 (file)
@@ -137,6 +137,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index e5ea21828df8ac4a92a2f27a3444fe1d626dd0f6..c0bd494d020bba79dee566d2a53e0ea283ce3e95 100644 (file)
@@ -147,6 +147,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 58bdfbeb6d62f522ca013a43c8e2e10fee63213e..1fd23fc4a12a4739d9ff99d73cc3a07f3b6bf531 100644 (file)
@@ -147,6 +147,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 2f2e8bcca7c4343a79c46ce9814c98142948913b..8d718c83fe8ef84c9f4b6bfa0b3d71193ff187a3 100644 (file)
@@ -153,6 +153,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 7c98c959363496d351e3a81c8231aba781d7beb0..18a4a3606b0e10fd0c0603e13c40a29799ce899f 100644 (file)
@@ -153,6 +153,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index e3219b1dbba36722ae807b042d2a74a3bb39cc8f..9464259f68fc2ee36c14c0846e9c648ccbdab0ad 100644 (file)
@@ -139,7 +139,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    ---------------------------
    -- Underlying Priorities --
index 9126be3f4146b75b22efc38311bdd58c5fb677aa..9753650e9185f2401e0efe54c48cb3ae3659c189 100644 (file)
@@ -139,7 +139,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    ---------------------------
    -- Underlying Priorities --
index 19885d3b61301852d63c96aec39aeb122c056cb6..1afb18b1f47aaa71e0fd973ebddd5ab36045ea1f 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index 9fe08c786642570fd5ff62cf77e0df345d0cf492..4929c75a1dbd89966ab5c8cb9f69ace2b5a8dd79 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index e26b80da36e9ea5347a082bd19e9047035f8d916..cd722e349fbc79f59ff04a1c3f8ddc9a9455684d 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index e0fb55de314808ac81324283e31c9fbe00f67f70..4f336780791fabbd8d105f9543daffe41fb7ab45 100644 (file)
@@ -139,6 +139,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index b3426b234dc282f8bf455bf3e6d32245da91e6e6..43facc7465f7ff583207822d581089d5aae9ebd1 100644 (file)
@@ -139,7 +139,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --  Note: Denorm is False because denormals are only handled properly
    --  if the -mieee switch is set, and we do not require this usage.
index af03ef5fe66861a420c8dd15816a55526045fda8..010de3d13de2cfb29874d82c8aded2967c2c92ad 100644 (file)
@@ -157,7 +157,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --------------------------
    -- Underlying Priorities --
index cb82fb45728807e91a3444f8ff8db4ca02c1d28c..11f2853ad2d0712d3aa9925514af04f1353e3904 100644 (file)
@@ -157,7 +157,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := True;
-   GCC_ZCX_Support           : constant Boolean := True;
 
    --------------------------
    -- Underlying Priorities --
index 81d049b67b923f2349d78e48b784f376516abf50..484d40d95c7cd85995d041088ca68e85d70543cd 100644 (file)
@@ -152,6 +152,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 3a3a754efbd9d71c65505c4256de6bb04ae3e000..429ca5d5a575c89d7c9003a775be3d588d217d2f 100644 (file)
@@ -152,6 +152,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 2faad37b5bffe21a315d5887aec06962cf8581ea..3dbb835704de8d3b9d0d75a79bdd0c7fe745124b 100644 (file)
@@ -152,6 +152,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 3ed563bcb5a2075be502d867fa5ee510db144f9b..220d1f829144178929b4f129c1446b60e3e4dba2 100644 (file)
@@ -152,6 +152,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := True;
 
 end System;
index ee4aa923c8c957140df15f5653e4b4587271c1e2..856161f1006a66cd4b4a69de5395165c5eaa5e39 100644 (file)
@@ -154,6 +154,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index dfbf97daf623f567a4e8c07ed3eafa50c56d8124..14388d87207f50982fd1729dfd9ef247d446086d 100644 (file)
@@ -152,6 +152,5 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := True;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 437afbc9a59c7f599b7a4bf80a630c02e98eb895..d38a53337ae85312916865d18dc3e4cacc58262e 100644 (file)
@@ -162,7 +162,6 @@ private
    Suppress_Standard_Library : constant Boolean := False;
    Use_Ada_Main_Program_Name : constant Boolean := False;
    ZCX_By_Default            : constant Boolean := False;
-   GCC_ZCX_Support           : constant Boolean := False;
 
    --  Obsolete entries, to be removed eventually (bootstrap issues!)
 
@@ -171,5 +170,6 @@ private
    Long_Shifts_Inlined       : constant Boolean := True;
    Functions_Return_By_DSP   : constant Boolean := False;
    Support_64_Bit_Divides    : constant Boolean := True;
+   GCC_ZCX_Support           : constant Boolean := False;
 
 end System;
index 9509ee3e5496c8dc49a9e08e42eb55ff6a6f41af..7868446e8625c1673450149aab5e468c6a4135b1 100644 (file)
@@ -66,8 +66,7 @@ package body Targparm is
       SSL,  --   Suppress_Standard_Library
       UAM,  --   Use_Ada_Main_Program_Name
       VMS,  --   OpenVMS
-      ZCD,  --   ZCX_By_Default
-      ZCG); --   GCC_ZCX_Support
+      ZCD); --   ZCX_By_Default
 
    Targparm_Flags : array (Targparm_Tags) of Boolean := (others => False);
    --  Flag is set True if corresponding parameter is scanned
@@ -103,7 +102,6 @@ package body Targparm is
    UAM_Str : aliased constant Source_Buffer := "Use_Ada_Main_Program_Name";
    VMS_Str : aliased constant Source_Buffer := "OpenVMS";
    ZCD_Str : aliased constant Source_Buffer := "ZCX_By_Default";
-   ZCG_Str : aliased constant Source_Buffer := "GCC_ZCX_Support";
 
    --  The following defines a set of pointers to the above strings,
    --  indexed by the tag values.
@@ -138,8 +136,7 @@ package body Targparm is
       SSL_Str'Access,
       UAM_Str'Access,
       VMS_Str'Access,
-      ZCD_Str'Access,
-      ZCG_Str'Access);
+      ZCD_Str'Access);
 
    -----------------------
    -- Local Subprograms --
@@ -588,7 +585,6 @@ package body Targparm is
                      when UAM => Use_Ada_Main_Program_Name_On_Target := Result;
                      when VMS => OpenVMS_On_Target                   := Result;
                      when ZCD => ZCX_By_Default_On_Target            := Result;
-                     when ZCG => GCC_ZCX_Support_On_Target           := Result;
 
                      goto Line_Loop_Continue;
                   end case;
index cfcc3712af199490dc0e4f40026f606648e24c4c..971769b9957ee204d377a0048703384e8e636c50 100644 (file)
@@ -308,9 +308,6 @@ package Targparm is
    --  front-end setjmp/longjmp approach, and this is the default. If
    --  this variable is True, then GCC ZCX is used.
 
-   GCC_ZCX_Support_On_Target  : Boolean := False;
-   --  Indicates that the target supports GCC Exceptions
-
    ------------------------------------
    -- Run-Time Library Configuration --
    ------------------------------------
This page took 0.240221 seconds and 5 git commands to generate.