OSDN Git Service

2008-08-17 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
index 5e55185..8aa238f 100644 (file)
@@ -1,3 +1,639 @@
+2008-08-17  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+       * adaint.c (_gnat_set_close_on_exec) [_WIN32]: Implement.
+
+2008-08-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/trans.c (call_to_gnu): Use the Sloc of the call
+       for back-copy statements in lieu of that of the actual.
+
+2008-08-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/20548
+       * gcc-interface/decl.c (gnat_to_gnu_entity): Use DECL_SIZE_UNIT in the
+       setjmp test consistently.  Adjust for new behavior of flag_stack_check.
+       * gcc-interface/utils2.c (build_call_alloc_dealloc): Remove redundant
+       test of flag_stack_check.  Adjust for new behavior of flag_stack_check.
+
+2008-08-13  Samuel Tardieu  <sam@rfc1149.net>
+
+       PR ada/36777
+       * sem_util.ads, sem_util.adb (Is_Protected_Self_Reference): New.
+       * sem_attr.adb (Check_Type): The current instance of a protected
+       object is not a type name.
+       (Analyze_Access_Attribute): Accept instances of protected objects.
+       (Analyze_Attribute, Attribute_Address clause): Ditto.
+       * exp_attr.adb (Expand_N_Attribute_Reference): Rewrite
+       the prefix as being the current instance if needed.
+
+2008-08-12  Danny Smith  <danyssmith@users.sourceforge.net>
+
+       * gcc-interface/Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS) [WINDOWS]:
+       Remove duplicate s-win32.o. Add s-winext.o.
+
+2008-08-12  Danny Smith  <danyssmith@users.sourceforge.net>
+
+       * g-stsifd-sockets.adb (Create): Replace Constants.SOCK_STREAM
+       with SOSC.SOCK__STREAM.
+       * g-socthi-mingw.adb (C_Select) Replace Constants.MSG_OOB with
+       SOSC.MSG_OOB.
+
+2008-08-11  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * s-oscons-tmplt.c: RTEMS defines AF_INET6 but does support it.
+       * gsocket.h, socket.c: Update to support RTEMS.
+       * gcc-interface/Make-lang.in: Include CFLAGS_FOR_TARGET when cross.
+
+2008-08-10  Samuel Tardieu  <sam@rfc1149.net>
+            Robert Dewar <dewar@adacore.com>
+
+       * exp_ch4.adb (Expand_N_Op_Expon): Force evaluation of
+       left argument even when right argument is 0.
+       (Expand_N_Op_Mod): Ditto when right argument is 1.
+       (Expand_N_Op_Multiply): Ditto when any argument is 0.
+       (Expand_N_Op_Rem): Ditto when right argument is 1.
+
+2008-08-09  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused
+       by warn_unused.
+       
+2008-08-08  Ed Schonberg  <schonberg@adacore.com>
+
+       * freeze.adb (Generate_Prim_Op_References): New procedure, abstracted
+       from Freeze_Entity. Used to generate cross-reference information for
+       types declared in generic packages.
+
+2008-08-08  Thomas Quinot  <quinot@adacore.com>
+
+       * gcc-interface/Makefile.in: Reintroduce g-soccon.ads as a
+       compatibility shim.
+
+2008-08-08  Thomas Quinot  <quinot@adacore.com>
+
+       * gsocket.h:
+       On Windows, include <errno.h> and redefine only selected errno values
+       from their <winsock2.h> definitions.
+
+       * s-osinte-freebsd.ads: Minor reformatting
+
+       * s-osinte-hpux.ads, s-osinte-irix.ads: Minor reformatting
+
+       * g-soccon.ads: New file.
+
+       * g-stheme.adb, g-socthi-vms.adb, g-socthi-vxworks.adb,
+       g-socthi-mingw.adb, g-sttsne-vxworks.adb, g-socthi.adb,
+       g-stsifd-sockets.adb, g-socket.adb, g-socket.ads,
+       g-sothco.adb, g-sothco.ads: Add back GNAT.Sockets.Constants as a child
+       unit, to allow building software that depends on this internal unit
+       with both older and newer compilers.
+
+2008-08-08  Robert Dewar  <dewar@adacore.com>
+
+       * s-strxdr.adb: Minor reformatting
+
+2008-08-08  Bob Duff  <duff@adacore.com>
+
+       * gnat_ugn.texi: The "Run-Time Checks" section said "arithmetic overflow
+       checking for integer operations (including division by zero)", which
+       is wrong -- divide by zero is not part of overflow checking.
+       Also added misc clarification about what check-suppression means.
+
+       * gnat_rm.texi: Clarify the meaning of pragma Suppress.
+
+2008-08-08  Jerome Lambourg  <lambourg@adacore.com>
+
+       * g-comlin.adb (Add_Switch): Handle addition of switches at the
+       begining of the command line.
+       (Append, Add): Renaming of Append to Add as this now allows addition
+       at the begining of the list.
+       
+       * g-comlin.ads (Add_Switch): Handle addition of switches at the
+       begining of the command line.
+
+2008-08-08  Thomas Quinot  <quinot@adacore.com>
+
+       * g-sercom.ads:
+       (Name): Document application scope (only legacy PC serial ports on
+       Linux and Windows).
+
+2008-08-08  Thomas Quinot  <quinot@adacore.com>
+
+       * gcc-interface/Makefile.in, gcc-interface/Make-lang.in: Revert
+       previous change, not needed after all.
+
+2008-08-08  Ed Schonberg  <schonberg@adacore.com>
+
+       * exp_ch4.adb (Expand_Allocator_Expression): add check if null
+       exclusion indicator is present
+
+2008-08-08  Robert Dewar  <dewar@adacore.com>
+
+       * g-comlin.adb: Minor code reorganization
+       Minor reformatting
+
+       * g-comlin.ads: Minor reformatting
+
+       * s-fileio.adb: Minor reformatting
+
+       * sem_attr.adb: Minor code reorganization (use Nkind_In)
+       Minor reformatting
+
+2008-08-06  Samuel Tardieu  <sam@rfc1149.net>
+
+       * gcc-interface/Make-lang.in: Use GCC_FOR_TARGET when dealing
+       with s-oscons-tmplt.i.
+
+2008-08-06  Samuel Tardieu  <sam@rfc1149.net>
+
+       * gcc-interface/Make-lang.in (OSCONS_CPPFLAGS): Remove.
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch3.adb (Analyze_Component_Declaration): Protect against misuse
+       of incomplete type.
+
+       * sem_ch8.adb (Analyze_Object_Renaming): Diagnose properly a renaming
+       of a formal parameter of an incomplete type. Improve error message for
+       other improper uses of incomplete types.
+
+2008-08-06  Robert Dewar  <dewar@adacore.com>
+
+       * gnat_ugn.texi: Clarify -gnato documentation
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * gcc-interface/Makefile.in,
+       g-socthi-vxworks.adb, g-socthi-mingw.adb, g-sttsne-vxworks.adb,
+       g-socthi.adb, g-socket.adb, g-socket.ads, g-sothco.ads,
+       g-soccon-linux-x86.ads, g-soccon-vxworks.ads, g-soccon-mingw.ads,
+       g-soccon-hpux-ia64.ads, g-soccon-irix.ads, g-soccon-linux-64.ads,
+       g-soccon-aix.ads, g-soccon-solaris.ads, g-soccon-lynxos.ads,
+       g-soccon-vms.ads, g-soccon.ads, g-soccon-freebsd.ads,
+       g-soccon-linux-ppc.ads, g-soccon-tru64.ads, g-soccon-hpux.ads,
+       g-soccon-solaris-64.ads, gen-oscons.c, g-soccon-darwin.ads,
+       g-soccon-mingw-64.ads, g-soccon-linux-mips.ads, g-soccon-rtems.ads:
+       Remove GNAT.Sockets.Constants. This internal package is replaced by
+       System.OS_Constants.
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * gcc-interface/Makefile.in, gcc-interface/Make-lang.in:
+       Remove obsolete targets referencing gen-soccon
+       When generating s-oscons.ads, use a file name that includes the
+       THREAD_KIND, to ensure that the (potentially different) version from a
+       previous build with a different threads flavour does not get reused.
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * sem_res.adb: Minor reformatting
+
+       * s-fileio.adb (Open): When file open operation fails, raise Name_Error
+       only when the operating system reports a non-existing file or directory
+       (ENOENT), otherwise raise Name_Error.
+
+       * exp_ch11.adb: Minor reformatting
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch3.adb (Access_Subprogram_Declaration): If the return type is
+       incomplete, add the access_to_subprogram type to the list of private
+       dependents only if the incomplete type will be completed in the current
+       scope.
+       (Build_Discriminant_Constraints): If the type of the discriminant is
+       access_to_variable, reject a constraint that is access_to_constant.
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * g-socket-dummy.adb, g-socket-dummy.ads, g-sothco-dummy.adb,
+       g-sothco-dummy.ads, g-socthi-dummy.adb, g-socthi-dummy.ads,
+       g-sttsne-dummy.ads: New files.
+
+       * gcc-interface/Makefile.in, Makefile.rtl: Use placeholder sources
+       with pragma Unimplemented_Unit for sockets packages on Nucleus.
+
+2008-08-06  Pascal Obry  <obry@adacore.com>
+
+       * adaint.c: Another fix for ACL support on Windows.
+
+2008-08-06  Javier Miranda  <miranda@adacore.com>
+
+       * exp_disp (Expand_Interface_Actuals): Adds missing support for
+       expansion of calls to subprograms using selected components.
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_res.adb (Resolve_Call): Use base type to determine whether a
+       dereference is needed because a subtype of an access_to_subprogram is
+       simply an access-subtype
+
+2008-08-06  Jerome Lambourg  <lambourg@adacore.com>
+
+       * g-comlin.adb (Set_Command_Line): Now that aliases can contain
+       parameters, always specify the expected separator.
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * xnmake.adb: Use new XUtil package for platform independent text
+       output.
+
+2008-08-06  Vincent Celier  <celier@adacore.com>
+
+       * gnat_ugn.texi: Document compiler switch -gnateG
+
+2008-08-06  Quentin Ochem  <ochem@adacore.com>
+
+       * s-stausa.adb (Fill_Stack): Fixed pragma assert and top pattern mark
+       in the case of an empty pattern size.
+       (Compute_Result): Do not do any computation in the case of an empty
+       pattern size.
+       (Report_Result): Fixed computation of the overflow guard.
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * g-awk.adb (Finalize): Do not use directly objects of the type in the
+       finalization routine to prevent elaboration order anomalies in new
+       finalization scheme.
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch3.adb (Find_Type_Name): protect against duplicate incomplete
+       declaration for the same type.
+
+2008-08-06  Thomas Quinot  <quinot@adacore.com>
+
+       * sem.adb: Minor rewording (comment)
+
+2008-08-06  Jerome Lambourg  <lambourg@adacore.com>
+
+       * g-comlin.adb (Define_Switch, Get_Switches): New.
+       (Can_Have_Parameter, Require_Parameter, Actual_Switch): New, used when
+       ungrouping switches.
+       (For_Each_Simple_Switch): Allow more control over parameters handling.
+       This generic method now allows ungrouping of switches with parameters
+       and switches with more than one letter after the prefix.
+       (Set_Command_Line): Take care of switches that are prefixed with a
+       switch handling parameters without delimiter (-gnatya and -gnaty3 for
+       example).
+       (Add_Switch, Remove_Switch): Handle parameters possibly present inside
+       a group, as in gnaty3aM80 (3 and 80 are parameters). Report status of
+       the operation.
+       (Start, Alias_Switches, Group_Switches): Take care of parameters
+       possibly present inside a group.
+
+       * g-comlin.ads (Define_Switch): New method used to define a list of
+       expected switches, that are necessary for correctly ungrouping switches
+       with more that one character after the prefix.
+       (Get_Switches): Method that builds a getopt string from the list of
+       switches as set previously by Define_Switch.
+       (Add_Switch, Remove_Switch): New versions of the methods, reporting the
+       status of the operation. Also allow the removal of switches with
+       parameters only.
+       (Command_Line_Configuration_Record): Maintain a list of expected
+       switches.
+
+2008-08-06  Doug Rupp  <rupp@adacore.com>
+
+       * gcc-interface/decl.c (gnat_to_gnu_param): Force 32bit descriptor if
+       TARGET_MALLOC64 clear.
+
+       * gcc-interface/utils2.c (build_call_alloc_dealloc): Force 32bit malloc
+       if TARGET_MALLOC64 clear.
+
+       * gcc-interface/gigi.h (TARGET_ABI_OPEN_VMS): Move here from utils2.c
+       (TARGET_MALLC64): New macro. Default to clear.
+
+2008-08-06  Doug Rupp  <rupp@adacore.com>
+
+       * gcc-interface/utils2.c (snames.h) Include
+       (TARGET_ABI_OPEN_VMS): Initialize.
+       (build_call_alloc_dealloc); [TARGET_ABI_OPEN_VMS] Allocate on 32bit heap
+       for Convention C.
+
+2008-08-06  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch3.adb (Process_Discriminants): diagnose redundant or improper
+       null exclusion in a discriminant declaration
+
+       * sem_ch8.adb (Analyze_Object_Renaming): diagnose null exclusion
+       indicators when type is not an access type.
+
+       * sem_ch12.adb (Formal_Object_Declaration): diagnose null exclusion
+       indicators when type is not an access type.
+
+2008-08-06  Javier Miranda  <miranda@adacore.com>
+
+       * exp_disp (Expand_Interface_Conversion): Freeze the entity associated
+       with the target interface before expanding the code of the interface
+       conversion.
+
+2008-08-05  Ed Schonberg  <schonberg@adacore.com>
+
+       * freeze.adb:
+       (Freeze_Entity): A deferred constant does not violate the restriction
+       No_Default_Initialization, 
+
+       * sem_ch3.adb (Process_Subtype): An allocator is a valid construct that
+       can carry a null exclusion indicator, and on which an error may be
+       posted if the indicator is redundant.
+
+       * sem_ch8.adb (Analyze_Object_Renaming): Verify that a null exclusion
+       does not apply to a subtype mark that already excludes null.
+
+       * sem_ch12.adb (Formal_Object_Declaration): Verify that a null
+       exclusion does not apply to a subtype mark that already excludes null.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * Makefile.rtl: Compile s-oscons.ads as part of the runtime library.
+
+2008-08-05  Doug Rupp  <rupp@adacore.com>
+
+       * vms_data.ads: Translation for /POINTER_SIZE qualifier.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * gsocket.h: Make this file includable in a Nucleus environment, which
+       does not support sockets.
+
+       * socket.c: Remove Nucleus-specific hack.
+
+2008-08-05  Pascal Obry  <obry@adacore.com>
+
+       * adaint.c: Remove support for readable attribute on vxworks and nucleus
+
+2008-08-05  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_attr.adb:
+       (Analyze_Attribute, case 'Result): handle properly the case where some
+       operand of the expression in a post-condition generates a transient
+       block.
+
+       * sem_ch5.adb (Analyze_Assignment_Statement): Apply conversion to
+       right-hand side when it is an anonymous access_to_subprogram, to force
+       static accessibility check when needed.
+
+2008-08-05  Sergey Rybin  <rybin@adacore.com>
+
+       * gnat_ugn.texi: Changing the description of the gnatcheck metrics
+       rule according to the change in the rule option.
+       Add documentation for -gnatw.b/-gnatw.B
+
+2008-08-05  Robert Dewar  <dewar@adacore.com>
+
+       * ug_words: Add entries for -gnatw.b/-gnatw.B
+
+       * vms_data.ads: Add entries for -gnatw.b/-gnatw.B
+
+2008-08-05  Vincent Celier  <celier@adacore.com>
+
+       * a-wtdeio.adb (Put (Current_Output)): Use Fore in the call to Put
+       (File).
+       
+       * a-ztdeio.adb: Ditto.
+
+2008-08-05  Pascal Obry  <obry@adacore.com>
+
+       * adaint.c, adaint.h, s-os_lib.adb, s-os_lib.ads: Add support for the
+       readable attribute.
+
+2008-08-05  Vincent Celier  <celier@adacore.com>
+
+       * s-wchwts.adb:
+       (Wide_String_To_String): Returns a String with the same 'First as its
+       parameter S.
+       (Wide_Wide_String_To_String): Ditto
+       
+       * s-wchwts.ads:
+       (Wide_String_To_String): Document that the lowest index of the returned
+       String is equal to S'First.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * xoscons.adb, xutil.ads, xutil.adb, s-oscons-tmplt.c: New files.
+
+       * gcc-interface/Makefile.in, gcc-interface/Make-lang.in: Generate
+       s-oscons.ads
+
+2008-08-05  Robert Dewar  <dewar@adacore.com>
+
+       * opt.ads (Warn_On_Biased_Representation): New flag
+       
+       * sem_ch13.adb:
+       (Analyze_Attribute_Definition_Clause): Issue warning when biased
+       representation is required.
+       (Minimum_Size): Don't allow biasing if enum rep clause case
+       
+       * sem_warn.adb:
+       (Set_Dot_Warning_Switch): Add handling of -gnatw.b/B switches
+       (Set_Warning_Switch): Include -gnatw.b in -gnatwa, -gnatw.B in gnatws
+       
+       * usage.adb: Add lines for -gnatw.b/B switches
+
+2008-08-05  Pascal Obry  <obry@adacore.com>
+
+       * a-coinve.adb: Reorder the code to avoid uninitialized warning.
+
+       * adaint.c: In UNIX cases do not call __gnat_stat but stat directly.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * socket.c: Minor reformatting.
+
+2008-08-05  Robert Dewar  <dewar@adacore.com>
+
+       * sem_ch3.adb: Minor reformatting
+
+       * prj-nmsc.adb: Minor reformatting
+
+2008-08-05  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch12.adb (Validate_Array_Type_Instance): Only apply complex
+       visibility check on the component type if the simple test fails.
+
+2008-08-05  Jose Ruiz  <ruiz@adacore.com>
+
+       * init.c (__gnat_install_handler for linux): If we are building the
+       Xenomai run time then we need to do two additional things: avoid
+       memory swapping and transform the Linux environment task into a native
+       Xenomai task.
+
+       * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS for xenomai run
+       time): Use interface to Xenomai native skin and avoid linux-specific
+       way of setting CPU affinity.
+       (EH_MECHANISM for the xenomai run time): Use sjlj exception mechanism.
+
+2008-08-05  Bob Duff  <duff@adacore.com>
+
+       * checks.ads: Minor comment fix
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * g-sercom.adb, g-sercom.ads, g-sercom-mingw.adb,
+       g-sercom-linux.adb (Data_Bits): Change literals B7 and B8 to CS7 and
+       CS8.
+
+2008-08-05  Robert Dewar  <dewar@adacore.com>
+
+       * mlib.adb: Minor code reorganization
+       Minor reformatting
+
+       * make.adb: Minor reformatting
+
+       * prj-attr.ads: Minor reformatting
+
+       * s-os_lib.adb: Minor reformatting
+
+       * s-fileio.adb: Minor code reorganization
+       Minor reformatting
+
+       * prj.ads: Minor reformatting
+
+2008-08-05  Bob Duff  <duff@adacore.com>
+
+       * sem_ch3.adb (Analyze_Object_Declaration): Avoid type Any_Access in
+       unresolved initial value of "null", because it causes implicitly
+       generated "=" operators to be ambiguous, and because this type should
+       not be passed to gigi.
+
+2008-08-05  Vincent Celier  <celier@adacore.com>
+
+       * mlib.adb: Update comments.
+
+       * make.adb (Switches_Of): Check for Switches (others), before checking
+       for Default_Switches ("Ada").
+       (Gnatmake): Use Builder'Switches (others) in preference to
+       Builder'Default_Switches ("Ada") if there are several mains.
+
+       * prj-attr-pm.adb:
+       (Add_Attribute): Add component Others_Allowed in Attribute_Record
+       aggregate.
+
+       * prj-attr.adb:
+       Add markers to indicates that attributes Switches allow others as index
+       (Others_Allowed_For): New Boolean function, returning True for
+       attributes with the mark.
+       (Initialize): Recognize optional letter 'O' as the marker for
+       associative array attributes where others is allowed as the index.
+
+       * prj-attr.ads:
+       (Others_Allowed_For): New Boolean function
+       (Attribute_Record): New Boolean component Others_Allowed
+       
+       * prj-dect.adb:
+       (Parse_Attribute_Declaration): For associative array attribute where
+       others is allowed as the index, allow others as an index.
+
+       * prj-nmsc.adb:
+       (Process_Binder): Skip associative array attributes with index others
+       (Process_Compiler): Ditto
+
+       * prj-util.adb:
+       (Value_Of (Index, In_Array)): Make no attempt to put in lower case when
+       index is All_Other_Names.
+
+       * prj.ads:
+       (All_Other_Names): New constant
+
+       * prj-proc.adb:
+       (Process_Declarative_Items): Skip associative array attribute when index
+       is reserved word "others".
+
+2008-08-05  Vasiliy Fofanov  <fofanov@adacore.com>
+
+       * gen-oscons.c: Adapt for VMS where termios.h is not available.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * a-rttiev.adb: Minor reformatting (comments)
+
+       * gen-soccon.c: Rename to gen-oscons.c
+
+       * gen-oscons.c: New file. Now generate System.OS_Constants instead of
+       GNAT.Sockets.Constants.
+       Add new constants for GNAT.Serial_Communications and System.File_IO.
+
+2008-08-05  Javier Miranda  <miranda@adacore.com>
+
+       * sem_util.adb (Collect_Interfaces_Info): Minor reformating.
+       * exp_ch3.adb (Build_Offset_To_Top_Functions): Code cleanup: the
+       implementation of this routine has been simplified.
+
+2008-08-05  Pascal Obry  <obry@adacore.com>
+
+       * adaint.c, adaint.h, s-os_lib.adb, s-os_lib.ads: Fix the
+       Set_Read_Only Win32 implementation.
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * exp_strm.adb: Minor reformatting (comments)
+
+       * sem_ch12.adb: Minor reformatting.
+
+2008-08-05  Robert Dewar  <dewar@adacore.com>
+
+       * sem_ch3.adb: Minor reformatting
+
+       * checks.adb: Minor reformatting
+
+2008-08-05  Thomas Quinot  <quinot@adacore.com>
+
+       * tbuild.ads (New_External_Name): Update spec to reflect relaxed
+       restriction on Prefix.
+
+2008-08-05  Jerome Lambourg  <lambourg@adacore.com>
+
+       * g-comlin.adb (Sort_Sections, Group_Switches): New/Modified internal
+       methods needed to handle switch sections when building a command line.
+       (Define_Section, Add_Switch, Remove_Switch, Is_New_Section,
+       Current_Section): New public methods or methods modified to handle
+       building command lines with sections.
+       (Set_Command_Line): Take into account sections when analysing a switch
+       string.
+       (Start): Sort the switches by sections before iterating the command line
+       elements.
+       
+       * g-comlin.ads (Define_Section, Add_Switch, Remove_Switch,
+       Is_New_Section, Current_Section): New methods or methods modified to
+       handle building command lines with sections.
+
+2008-08-05  Ed Schonberg  <schonberg@adacore.com>
+
+       * exp_strm.adb (Build_Record_Or_Elementary_Input_Function): For access
+       discriminants, indicate that the corresponding object declaration has
+       no initialization, to prevent spurious warnings when the access type is
+       null-excluding.
+
+2008-08-05  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_res.adb (Resolve_Call): If this is a call to the predefined
+       Abort_Task, warn if the call appears within a protected operation.
+
+2008-08-04  Robert Dewar  <dewar@adacore.com>
+
+       * exp_ch4.adb (Expand_N_In): Suppress range warnings in instances
+
+2008-08-04  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch3.adb:
+       (Replace_Anonymous_Access_To_Protected_Subprogram): Handle properly an
+       anonymous access to protected subprogram that is the return type of the
+       specification of a subprogram body.
+
+       * sem_ch6.adb:
+       (Analyze_Subprogram_Body): if the return type is an anonymous access to
+       subprogram, freeze it now to prevent access anomalies in the back-end.
+
+       * exp_ch9.adb: Minor code cleanup.
+       Make sure that new declarations are inserted into the tree before
+       analysis (from code reading).
+
+2008-08-04  Robert Dewar  <dewar@adacore.com>
+
+       * exp_ch5.adb:
+       (Expand_Simple_Function_Return): Check No_Secondary_Stack restriction
+       at point of return.
+
 2008-08-04  Thomas Quinot  <quinot@adacore.com>
 
        * sem_type.adb, sem_ch4.adb, sprint.adb, exp_ch3.adb: Minor reformatting