OSDN Git Service

gcc/ChangeLog:
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
index cdf787f..cdc2589 100644 (file)
@@ -1,3 +1,278 @@
+2009-11-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * s-oscons-tmplt.c [__mips && __sgi]: Only define _XOPEN5, IOV_MAX
+       if _XOPEN_IOV_MAX is defined.
+
+2009-11-30  Vasiliy Fofanov  <fofanov@adacore.com>
+
+       * vms_data.ads: Add new VMS qualifiers,
+       REVERSE_BIT_ORDER/NOREVERSE_BIT_ORDER, to support warnings on bit order
+       effects.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * exp_ch9.adb, exp_ch9.ads, sem_util.ads: Minor reformatting.
+
+2009-11-30  Gary Dismukes  <dismukes@adacore.com>
+
+       * sem_prag.adb: Fix spelling error.
+
+2009-11-30  Ed Schonberg  <schonberg@adacore.com>
+
+       * exp_ch9.ads (Build_Private_Protected_Declaration): For a protected
+       operation that is only declared in a protected body, create a
+       corresponding subprogram declaration.
+       * exp_ch9.adb (Expand_N_Protected_Body): Create protected body of
+       operation in all cases, including for an operation that is only
+       declared in the body.
+       * sem_ch6.adb: Call Build_Private_Protected_Declaration
+       * exp_ch6.adb (Expand_N_Subprogram_Declaration): For an operation
+       declared in a protected body, create the declaration for the
+       corresponding protected version of the operation.
+
+2009-11-30  Arnaud Charlet  <charlet@adacore.com>
+
+       * gnat1drv.adb (Adjust_Global_Switches): Disable specific expansions
+       for Restrictions pragmas, to avoid tree inconsistencies between
+       compilations with different pragmas.
+
+2009-11-30  Jerome Lambourg  <lambourg@adacore.com>
+
+       * sem_prag.adb (Check_Duplicated_Export_Name): Allow entities exported
+       to CIL to have duplicated export name.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * a-tiinio.adb: Remove extraneous pragma Warnings (Off).
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * par_sco.adb: Minor reformatting
+
+2009-11-30  Ed Falis  <falis@adacore.com>
+
+       * s-vxwext.ad[s,b], system-vxworks-ppc.ads, s-stchop-vxworks.adb:
+       Comment update.
+
+2009-11-30  Ed Schonberg  <schonberg@adacore.com>
+
+       * par_sco.adb (Traverse_Handled_Statement_Sequence): Do not emit SCO's
+       for null statements that do not come from source.
+       * sinfo.ads: Clarify documentation of Comes_From_Source
+
+2009-11-30  Vincent Celier  <celier@adacore.com>
+
+       * prj-nmsc.adb (Add_Source): Use Display_Name for both projects when
+       displaying the paths in error message.
+
+2009-11-30  Emmanuel Briot  <briot@adacore.com>
+
+       * adaint.h, adaint.c (file_attributes): force the use of unsigned char.
+       On some platforms, "char" is signed, on others unsigned, so we
+       explicitly specify the one we expect
+
+2009-11-30  Matthew Heaney  <heaney@adacore.com>
+
+       * a-coinve.adb (Insert): Move exception handler closer to point where
+       exception can occur.
+       Minor reformatting & comment additions.
+
+2009-11-30  Arnaud Charlet  <charlet@adacore.com>
+
+       * freeze.adb (Freeze_Entity): Disable warning on 'Foreign caller must
+       pass bounds' for VM targets, not relevant.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * sem_util.adb (Wrong_Type): Diagnose additional case of modular
+       missing parens.
+       * a-tiinio.adb, a-wtinio.adb, a-ztinio.adb: Minor reformatting
+
+       * exp_util.adb (Kill_Dead_Code): Suppress warning for some additional
+       cases.
+
+       * sem_warn.adb (Set_Warning_Flag): Clean up gnatwA list and ensure
+       completeness.
+       (Set_Dot_Warning_Flag): Ditto for -gnatw.e
+       (Set_Dot_Warning_Flag): Implement -gnbatw.v/w.V
+       * usage.adb: Add lines for -gnatw.v/w.V
+
+2009-11-30  Emmanuel Briot  <briot@adacore.com>
+
+       * make.adb (Check_Standard_Library): use Full_Source_Name instead of
+       direct call to Find_File. The former provides caching of the results, so
+       might be more efficient
+       (Start_Compile_If_Necessary): Add comment on possible optimization,
+       not done for now.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * g-sechas.adb: Minor reformatting
+
+2009-11-30  Matthew Heaney  <heaney@adacore.com>
+
+       * a-crbtgo.adb (Delete_Fixup): Add comments explaining why predicates
+       were removed.
+       * a-cdlili.adb (Vet): Remove always-true predicates.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * s-sechas.adb, s-sechas.ads, s-shshco.adb, s-shshco.ads, s-shsh64.adb,
+       s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, s-shsh32.adb, s-shsh32.ads,
+       s-sehash.adb, s-sehash.ads, g-sechas.adb, g-sechas.ads, g-shshco.adb,
+       g-shshco.ads, g-md5.ads, g-sha256.ads, g-shsh64.adb, g-shsh64.ads,
+       g-sehamd.adb, g-sehamd.ads, g-sha512.ads, g-sha1.ads, Makefile.rtl,
+       g-sha224.ads, g-shsh32.adb, g-shsh32.ads, g-sha384.ads, g-sehash.adb,
+       g-sehash.ads: Rename System.Secure_Hashes to GNAT.Secure_Hashes.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * osint.ads: Minor comment update.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * s-sechas.adb: Fix swapping error in previous checkin.
+       * g-md5.ads, g-sha256.ads, g-sha512.ads, g-sha1.ads, g-sha224.ads,
+       g-sha384.ads: Add missing documentation.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * g-sha256.ads, s-sehamd.ads, s-sehamd.adb, g-sha512.ads, g-sha224.ads,
+       g-sha384.ads: Minor reformatting
+
+2009-11-30  Emmanuel Briot  <briot@adacore.com>
+
+       * adaint.h (file_attributes): Reduce size of the structure, so that it
+       is less costly to store in records.
+       * makeutl.adb:
+       (Check_Source_Info_In_ALI): use Full_Source_Name instead of a direct
+       call to Find_File, since the former provides caching when appropriate,
+       which limits the number of system calls in some cases.
+       * osint.ads, prj.ads (Source_Data): do not store directly the timestamp,
+       but the file attributes since we also need access to the size of the
+       ALI file to parse it. This gives an opportunity for saving system calls
+       on Unix systems.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * sem_prag.adb, s-sechas.ads, s-sechas.adb: Minor reformatting.
+
+2009-11-30  Gary Dismukes  <dismukes@adacore.com>
+
+       * sem_prag.adb (Process_Convention): Change formal E to Ent. In the
+       case where the pragma's entity argument is a renaming, return the
+       entity denoted by the renaming rather than the renamed entity. Loop
+       through the homonyms of the original argument entity, rather than the
+       homonyms of any renamed entity. Correct call to Generate_Entity to
+       pass the homonym.
+
+2009-11-30  Vincent Celier  <celier@adacore.com>
+
+       * impunit.adb: Add packages that were added to the GNAT library:
+       GNAT.SHA224, GNAT.SHA256, GNAT.SHA384 and GNAT.SHA512.
+       * s-sechas.adb (Fill_Buffer_Copy): Fixes incorrect slice index
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * exp_ch3.adb: Minor reformatting
+       * g-md5.ads, g-sha1.ads: Add comment.
+
+2009-11-30  Arnaud Charlet  <charlet@adacore.com>
+
+       * gcc-interface/Makefile.in: Remove handling of libgccprefix, no longer
+       needed.
+
+2009-11-30  Pascal Obry  <obry@adacore.com>
+
+       * expect.c: Fix cast to avoid warnings in x86-64 Windows.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * gnat_rm.texi, s-sechas.adb, s-sechas.ads, s-shshco.adb,
+       s-shshco.ads, g-md5.adb, g-md5.ads, g-sha256.ads, s-shsh64.adb,
+       s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, g-sha512.ads, g-sha1.adb,
+       g-sha1.ads, Makefile.rtl, g-sha224.ads, g-sha384.ads, s-shsh32.adb,
+       s-shsh32.ads, s-sehash.adb, s-sehash.ads: Reimplementation of GNAT.MD5
+       and GNAT.SHA1 to factor shared code and avoid unnecessary stack copies.
+       Also introduce new functions SHA-{224,256,384,512}
+
+2009-11-30  Jerome Lambourg  <lambourg@adacore.com>
+
+       * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve comment for
+       the Value_Type case.
+
+2009-11-30  Thomas Quinot  <quinot@adacore.com>
+
+       * a-textio.adb: Minor reformatting
+
+2009-11-30  Pascal Obry  <obry@adacore.com>
+
+       * adaint.c: Fix bug in passing parameter.
+       * expect.c: Include io.h to get definition of _open_osfhandle
+
+2009-11-30  Javier Miranda  <miranda@adacore.com>
+
+       * exp_ch6.adb, sem_scil.adb (Adjust_SCIL_Node): Add missing management
+       of N_Unchecked_Type_Conversion nodes when searching for SCIL nodes.
+       (Expand_Call): Adjust decoration of SCIL node associated with relocated
+       function call.
+
+2009-11-30  Emmanuel Briot  <briot@adacore.com>
+
+       * prj-env.adb (Add_To_Source_Path): Preserve casing of directories
+
+2009-11-30  Vincent Celier  <celier@adacore.com>
+
+       * opt.ads (No_Split_Units): New flag initialized to False
+
+2009-11-30  Jerome Lambourg  <lambourg@adacore.com>
+
+       * exp_ch7.adb (Needs_Finalization): Add comments.
+       * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve handling of
+       CIL Value types.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * osint.adb, a-rttiev.adb: Minor reformatting.
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * gnat_rm.texi: Remove list of warning letters, and refer instead to
+       using gnatmake to get a brief list.
+
+       * debug.adb: Document -gnatd.i to disable pragma Warnings
+       * par-prag.adb, sem_prag.adb: Recognize -gnatd.i to disable Warnings
+       pragma.
+       * vms_data.ads: Add /NOWARNINGS_PRAGMS for -gnatd.i
+       
+2009-11-30  Geert Bosch  <bosch@adacore.com>
+
+       * a-ngelfu.adb (Sin): Correct spelling of sine in comment.
+
+2009-11-30  Vincent Celier  <celier@adacore.com>
+
+       * gnatls.adb: Do not call Get_Target_Parameters in Verbose_Mode, as it
+       is not needed and gnatls fails when called with -v -nostdinc.
+
+2009-11-30  Emmanuel Briot  <briot@adacore.com>
+
+       * osint.adb, osint.ads (File_Time_Stamp): new subprogram.
+
+2009-11-30  Ed Schonberg  <schonberg@adacore.com>
+
+       * gnat_rm.texi, gnat_ugn.texi: Document new syntax for pragma Annotate
+
+2009-11-30  Robert Dewar  <dewar@adacore.com>
+
+       * scans.ads (Wide_Wide_Character_Found): New flag
+       * scn.adb (Post_Scan): Set new flag Has_Wide_Wide_Character
+       * scng.adb (Set_String): Set new flag Wide_Wide_Character_Found
+       (Set_String): Fix failure to reset Wide_Character_Found
+       * sinfo.adb (Has_Wide_Wide_Character): New flag in N_String_Literal
+       * sinfo.ads (Has_Wide_Wide_Character): New flag in N_String_Literal
+       * a-ngelfu.adb: Minor reformatting & code reorganization.
+       * usage.adb: Fix typo in -gnatw.W line
+
 2009-11-30  Robert Dewar  <dewar@adacore.com>
 
        * osint.adb, prj-nmsc.adb, sem_prag.adb, sem_util.adb: Minor