summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2009-11-30 Thomas Quinot <quinot@adacore.com>charlet2009-11-3020-96/+141
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Martin Jambor <mjambor@suse.cz>jamborm2009-11-302-1/+6
| | | | | | | | | PR middle-end/42206 * ipa-prop.c (ipa_write_node_info): Initialize note_count to zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154820 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-309-9/+70
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154819 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-reference.c (propagate): Only dump bitmaps if computed.jakub2009-11-302-14/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-3011-16/+39
| | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154817 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-304-35/+41
| | | | | | | | * sem_prag.adb, s-sechas.ads, s-sechas.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154816 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Gary Dismukes <dismukes@adacore.com>charlet2009-11-307-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154815 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix header.charlet2009-11-3020-20/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154814 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/Makefile.in: Remove handling of libgccprefix, no longercharlet2009-11-302-43/+5
| | | | | | | needed git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154813 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Pascal Obry <obry@adacore.com>charlet2009-11-3024-1075/+2084
| | | | | | | | | | | | | | | | | | * 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} git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154812 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Olga Golovanevsky <olga@il.ibm.com>olga2009-11-302-5/+17
| | | | | | | | | | | PR middle-end/39806 * ipa-struct-reorg.c (new_var_eq): Use DECL_UID to hash new variables. (new_var_hash): Likewise. (is_in_new_vars_htab): Likewise. (add_to_new_vars_htab): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154811 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Jerome Lambourg <lambourg@adacore.com>charlet2009-11-305-7/+21
| | | | | | | | | | | | | | | | | | * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154810 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Javier Miranda <miranda@adacore.com>charlet2009-11-307-13/+69
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154809 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-303-11/+22
| | | | | | | | * osint.adb, a-rttiev.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154808 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-3010-78/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154807 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Kai Tietz <Kai.Tietz@onevision.com>ktietz2009-11-302-1/+9
| | | | | | | | | * io/unix.c (find_file): Add variable id conditionally for mingw targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154806 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Ed Schonberg <schonberg@adacore.com>charlet2009-11-303-9/+16
| | | | | | | * gnat_rm.texi, gnat_ugn.texi: Document new syntax for pragma Annotate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154805 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-308-97/+115
| | | | | | | | | | | | | | | * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154804 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-308-30/+45
| | | | | | | | | | | | * osint.adb, prj-nmsc.adb, sem_prag.adb, sem_util.adb: Minor reformatting. * csinfo.adb: Terminate run if improper use of reserved flag * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): Don't use reserved Flag12, used Flag13 instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154803 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Vincent Celier <celier@adacore.com>charlet2009-11-305-56/+86
| | | | | | | | | | | | | | | | * gnatcmd.adb (Check_Files): Recognize documented switches that have a separate parameter. 2009-11-30 Robert Dewar <dewar@adacore.com> * sem_util.ads: Minor reformatting * errout.adb: Minor reformatting Minor code reorganization (use N_Subprogram_Specification to simplify) * exp_ch7.adb: Add comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154802 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Thomas Quinot <quinot@adacore.com>charlet2009-11-306-66/+69
| | | | | | | | | | | | | | | | | | | | | | | | | * put_scos.adb (Put_SCOs): Do not generate a SCO unit header for a unit that has no SCOs. * scos.ads: Minor reformatting 2009-11-30 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb: Second unanalyzed parameter of Annotate is optional. 2009-11-30 Eric Botcazou <ebotcazou@adacore.com> * init.c (__gnat_adjust_context_for_raise, Linux version): Add guard for null PC saved in the context. 2009-11-30 Hristian Kirtchev <kirtchev@adacore.com> * a-calend.adb (Day_Of_Week): Rewritten. The routine determines the number of days from the Ada Epoch to the input date while ensuring that both dates are in the same time zone. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Emmanuel Briot <briot@adacore.com>charlet2009-11-309-31/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean.adb ("-eL"): Also set Follow_Links_For_Dirs, to match what is done in other project-aware tools like gnatmake and gprbuild. 2009-11-30 Jerome Lambourg <lambourg@adacore.com> * exp_ch3.adb (Make_Predefined_Primitive_Specs): Take care of CIL ValueTypes. * exp_ch7.adb (Needs_Finalization): Do not finalize CIL valuetypes. * sem_util.adb (Is_Value_Type): Protect against invalid calls to Chars (Is_Delegate): New method used for CIL. * sem_util.ads (Is_Delegate): New method for CIL handling. (Is_Value_Type): Improve documentation. 2009-11-30 Ed Schonberg <schonberg@adacore.com> * errout.adb (Unwind_Internal_Type): Improve error reporting if the type is an anonymous access to subprogram that is the type of a formal in a subprogram spec. 2009-11-30 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Check_Interfaces): In a Stand-Alone Library project, if attribute Interfaces is not declared, then Library_Interface should define the interfaces. 2009-11-30 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb: New semantics for Annotate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154800 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Tristan Gingold <gingold@adacore.com>charlet2009-11-302-1/+11
| | | | | | | | * gcc-interface/Makefile.in: Do not link with -static-libgcc on Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154799 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Emmanuel Briot <briot@adacore.com>charlet2009-11-304-3/+31
| | | | | | | | | | | | | | | | | | * gnat_ugn.texi: Extend doc for -eL 2009-11-30 Vincent Celier <celier@adacore.com> * osint.adb (Executable_Name (File_Name_Type)): Put the Name in the Name_Buffer before testing for a dot in the Name. 2009-11-30 Vincent Celier <celier@adacore.com> * prj-part.adb (Project_Path_Name_Of): Resolve links for final result if -eL has been specified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154798 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-11-301-1/+1
| | | | | | | Fix typo in last ChangeLog entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154797 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Vincent Celier <celier@adacore.com>charlet2009-11-303-7/+15
| | | | | | | | | | | | | * osint.adb (Executable_Name): Test the name instead of the name buffer to check if there is a dot in the given name. 2009-11-30 Sergey Rybin <rybin@adacore.com> * gnat_ugn.texi: Update gnatcheck doc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154796 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-306-22/+45
| | | | | | | | | | | | | | | | | * sem_ch3.adb, sem_disp.adb, usage.adb: Minor reformatting 2009-11-30 Vasiliy Fofanov <fofanov@adacore.com> * gnat_ugn.texi: Minor editing. 2009-11-30 Emmanuel Briot <briot@adacore.com> * prj-nmsc.adb (Search_Directories): when -eL was not specified, assume that no directory matches the naming scheme for sources. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154795 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vect-stmts.c (vectorizable_assignment): Supportirar2009-11-304-14/+54
| | | | | | | | multiple types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154794 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Emmanuel Briot <briot@adacore.com>charlet2009-11-3010-59/+104
| | | | | | | | | | | | | | | | | | | * prj.adb, prj.ads, prj-nmsc.adb (Has_Multi_Unit_Sources): New field in project_data. 2009-11-30 Vincent Celier <celier@adacore.com> * osint.adb (Executable_Name): Correctly decide if the executable suffix should be added when Only_If_No_Suffix is True. 2009-11-30 Robert Dewar <dewar@adacore.com> * frontend.adb, gnatlink.adb, prj-conf.adb, prj-tree.adb, prj-tree.ads: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154793 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Vincent Celier <celier@adacore.com>charlet2009-11-3019-124/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnatlink.adb (Process_Args): Call Executable_Name on argument of -o with Only_If_No_Suffix set to True. * osint.adb (Executable_Name): Do not add executable suffix if there is already a suffix and Only_If_No_Suffix is True. * osint.ads (Executable_Name): New Boolean parameter Only_If_No_Suffix, defaulted to False. 2009-11-30 Javier Miranda <miranda@adacore.com> * exp_atag.adb (Build_TSD): Change argument name because the actual is now the address of a tag (instead of the tag). Update implementation accordingly. (Build_CW_Membership): New implementation. Converted into a procedure because it has an additional out mode parameter. Its implementation has been rewritten to improve the generated code but also to facilitate referencing the relocated object node in the caller. * exp_atag.ads (Build_CW_Membership): Update profile and documentation. * sinfo.ads (N_SCIL_Membership_Test) New_Node. (SCIL_Tag_Value): New field of N_SCIL_Membership_Test nodes. (Is_Syntactic_Field): Add entry of new node. (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. * sinfo.adb (SCIL_Related_Node, SCIL_Entity): Update assertions to handle N_SCIL_Membership_Test nodes. (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. * sem.adb (Analyze): Add null management for new node. * sem_scil.adb (Find_SCIL_Node): Add null management for new node. (Check_SCIL_Node): Add checks of N_SCIL_Membership_Test nodes. * exp_ch4.adb (Tagged_Membership): Change profile from function to procedure. Add generation of SCIL node associated with class-wide membership test. (Expand_N_In): Complete decoration of SCIL nodes. * exp_intr.adb (Expand_Dispatching_Constructor_Call): Tune call to Build_CW_Membership because its profile has been changed. * exp_util.adb (Insert_Actions): Add null management for new node. * sprint.adb (Sprint_Node_Actual): Handle new node. * gcc-interface/trans.c Add no processing for N_SCIL_Membership_Test nodes. * gcc-interface/Make-lang.in: Update dependencies. 2009-11-30 Ed Schonberg <schonberg@adacore.com> * opt.ads: New flags Init_Or_Norm_Scalars_Config, Initialize_Scalars_Config, to capture the presence of the corresponding pragmas in a configuration file. * opt.adb (Register_, Save_, Set_, Restore_Opt_Configuration_Switches): handle new flags so that they are restored for each compilation unit. * frontend.adb: At the end of compilation, scan the context of the main unit to recover occurrences of pragma Initialize_Scalars, to annotate the ALI file accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Vincent Celier <celier@adacore.com>charlet2009-11-308-38/+156
| | | | | | | | | | | | | | | | | | | | | | | * prj-tree.ads: Minor comment updates * prj-tree.adb: Minor reformatting 2009-11-30 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Derive_Subprogram): Indicate that an inherited predefined control operation is hidden if the parent type is not visibly controlled. * sem_ch6.adb (Check_Overriding_Indicator): Do not report error if overridden operation is not visible, as may be the case with predefined control operations. * sem_disp.adb (Check_Dispatching_Operation): Do not emit warning on non-overriding control operation when type is not visibly controlled, if the subprogram has an explicit overriding indicator. * sem_util.ads, sem_util.adb (Is_Visibly_Controlled): Moved here from sem_disp.adb. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Emmanuel Briot <briot@adacore.com>charlet2009-11-303-2/+21
| | | | | | | | | * prj-tree.adb (Create_Attribute): Fix handling of VMS and Windows * prj-attr.ads: Minor comment updates git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154790 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-305-27/+85
| | | | | | | | | | | | | | | * gnat_rm.texi: Document pragma Short_Circuit 2009-11-30 Emmanuel Briot <briot@adacore.com> * prj-conf.adb, prj-tree.adb, prj-tree.ads (Create_Attribute): Now set the index either on the attribute or on its value, depending on the kind of the attribute. Done to match recent changes in Prj.PP that were not synchronized with this function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154789 138bc75d-0d04-0410-961f-82ee72b054a4
* Update dependencies.charlet2009-11-302-15/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154788 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/Make-lang.in: Fix typo.charlet2009-11-302-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154787 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-3016-23/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnat_rm.texi: Add documentation for attribute Result. 2009-11-30 Arnaud Charlet <charlet@adacore.com> * s-osinte-hpux.ads, s-osinte-aix.ads, s-osinte-solaris-posix.ads, s-osinte-tru64.ads, s-osinte-darwin.ads, s-osinte-freebsd.ads (Get_Page_Size): Update comment since Get_Page_Size is now required. 2009-11-30 Jerome Lambourg <lambourg@adacore.com> * freeze.adb: Disable Warning on VM targets concerning C Imports, not relevant. 2009-11-30 Bob Duff <duff@adacore.com> * sprint.adb (Source_Dump): Minor comment fix. (Write_Itype): When writing a string literal subtype, use Expr_Value instead of Intval to get the low bound. 2009-11-30 Vincent Celier <celier@adacore.com> * gnatlink.adb (Process_Args): Do not call Executable_Name on arguments of switch -o. 2009-11-30 Robert Dewar <dewar@adacore.com> * exp_ch4.adb (Expand_N_Op_And): Implement pragma Short_Circuit_And_Or (Expand_N_Op_Or): Implement pragma Short_Circuit_And_Or * opt.ads (Short_Circuit_And_Or): New flag * par-prag.adb: Add dummy entry for pragma Short_Circuit_And_Or * sem_prag.adb: Implement pragma Short_Circuit_And_Or * snames.ads-tmpl: Add entries for pragma Short_Circuit_And_Or git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154786 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Richard Guenther <rguenther@suse.de>rguenth2009-11-302-0/+8
| | | | | | | * doc/contrib.texi (Contributors): Add myself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154785 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Arnaud Charlet <charlet@adacore.com>charlet2009-11-3017-12/+85
| | | | | | | | | | | | | | | | | | | * s-taprop-posix.adb: Fix casing. * s-osinte-tru64.adb: Complete previous check-in. 2009-11-30 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Document pragma Compiler_Unit * s-bitops.adb, s-restri.adb, g-htable.adb, s-restri.ads, a-comlin.ads, a-strhas.ads, s-strhas.adb, s-parame.adb, s-parame.ads, a-clrefi.adb, a-clrefi.ads, a-ioexce.ads: Supply missing Compiler_Unit pragmas. * freeze.adb (Freeze_Entity): Improve message for 8-bit boolean passed to C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154784 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-306-150/+170
| | | | | | | | | * makeutl.adb, makeutl.ads, prj-proc.adb, prj.adb, prj.ads: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154783 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Thomas Quinot <quinot@adacore.com>charlet2009-11-3010-17/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * osint.adb: Minor reformatting 2009-11-30 Vincent Celier <celier@adacore.com> * makeutl.ads, makeutl.adb (Base_Name_Index_For): New function to get the base name of a main without the extension, with an eventual source index. (Mains.Get_Index): New procedure to set the source index of a main (Mains.Get_Index): New function to get the source index of a main * prj-attr.adb: New attributes Config_Body_File_Name_Index, Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and Multi_Unit_Switches. * prj-nmsc.adb (Process_Compiler): Takle into account new attributes Config_Body_File_Name_Index, Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and Multi_Unit_Switches. Allow only one character for Multi_Unit_Object_Separator. * prj-proc.adb (Process_Declarative_Items): Take into account the source indexes in indexes of associative array attribute declarations. * prj.adb (Object_Name): New function to get the object file name for units in multi-unit sources. * prj.ads (Language_Config): New components Multi_Unit_Switches, Multi_Unit_Object_Separator Config_Body_Index and Config_Spec_Index. (Object_Name): New function to get the object file name for units in multi-unit sources. * snames.ads-tmpl: New standard names Config_Body_File_Name_Index, Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and Multi_Unit_Switches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Richard Guenther <rguenther@suse.de>rguenth2009-11-302-1/+6
| | | | | | | | * tree.c (free_lang_data): Do not set debug_info_level to none if terse. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154781 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Arnaud Charlet <charlet@adacore.com>charlet2009-11-303-14/+34
| | | | | | | | | | | | * s-tassta.adb: Update comment. 2009-11-30 Robert Dewar <dewar@adacore.com> * a-ngelfu.adb: Minor code reorganization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154780 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-3019-381/+270
| | | | | | | | | | | | | | | | | | * osint.ads, prj.adb, prj.ads: Minor reformatting * s-stchop.adb, s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, s-taprop-solaris.adb, s-strxdr.adb, s-taprop-irix.adb, s-osinte-hpux-dce.adb, s-osinte-tru64.adb, s-taenca.adb, s-taprop-hpux-dce.adb, s-stausa.adb, s-taprop-posix.adb: Minor code reorganization (use conditional expressions). 2009-11-30 Bob Duff <duff@adacore.com> * g-sttsne-locking.adb (Copy_Service_Entry): Complete previous change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154779 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Richard Guenther <rguenther@suse.de>rguenth2009-11-304-3/+39
| | | | | | | | | | | | PR middle-end/42119 PR fortran/38530 * expr.c (expand_expr_addr_expr_1): Properly expand the initializer of CONST_DECLs. * gfortran.dg/pr42119.f90: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Bob Duff <duff@adacore.com>charlet2009-11-304-12/+81
| | | | | | | | | | | | | * socket.c: Add more accessor functions for struct servent (need setters as well as getters). * g-sothco.ads (Servent): Declare interfaces to C setter functions for struct servent. * g-sttsne-locking.adb (Copy_Service_Entry): Use setter functions for struct servent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154777 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Richard Guenther <rguenther@suse.de>rguenth2009-11-302-6/+27
| | | | | | | | * tree-into-ssa.c (insert_phi_nodes): Add PHI nodes in variable UID order. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Richard Guenther <rguenther@suse.de>rguenth2009-11-307-15/+69
| | | | | | | | | | | | | | | | | | * tree-dump.c (dump_option_value_in): Add TDF_NOUID. * tree-pass.h (TDF_NOUID): Likewise. * print-rtl.c: Include tree-pass.h. (print_mem_expr): Pass dump_flags. (print_rtx): Likewise. * print-tree.c: Include tree-pass.h. (print_node_brief): Handle TDF_NOUID. (print_node): Likewise. * tree-pretty-print.c (dump_decl_name): Likewise. (dump_generic_node): Likewise. * Makefile.in (print-rtl.o, print-tree.o): Add $(TREE_PASS_H) dependency. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154775 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Robert Dewar <dewar@adacore.com>charlet2009-11-307-38/+60
| | | | | | | | | | | | | | | | | * s-stchop-vxworks.adb: Add comment. 2009-11-30 Emmanuel Briot <briot@adacore.com> * make.adb, prj.adb, prj.ads (Compute_All_Imported_Projects): Now acts on the whole tree, to better share code with gprbuild. (Length): New subprogram, to share code in gprbuild. (Project_Data): Remove fields that are only needed when compiling a project in gprbuild (where we use local variables instead) * osint.adb, osint.ads: Added minor comment on memory management git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154774 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Sergey Rybin <rybin@adacore.com>charlet2009-11-3024-171/+106
| | | | | | | | | | | | | | | | | | | | * gnat_ugn.texi: Update gnatcheck doc. 2009-11-30 Robert Dewar <dewar@adacore.com> make.adb, prj-makr.adb, g-sothco.ads: Minor reformattting * s-taprop-dummy.adb: Minor code reorganization (raise with msgs start with lower case). * i-vxwoio.adb, g-dirope.adb, g-sercom-linux.adb, g-enblsp-vms-alpha.adb, g-regist.adb, s-imgcha.adb, s-tarest.adb, s-taprop-mingw.adb, g-exctra.adb, g-expect.adb, g-comlin.adb, g-debpoo.adb, g-expect-vms.adb, g-pehage.adb, g-trasym-vms-alpha.adb, g-enblsp-vms-ia64.adb, s-fatgen.adb, s-fileio.adb: Minor code reorganization (use conditional expressions). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154773 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Vincent Celier <celier@adacore.com>charlet2009-11-3012-44/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * prj-makr.adb (Source_Files): New hash table to keep track of source file names. (Finalize): Avoid putting several times the same source file name in the source list file. * prj-pp.adb (Print): Fix a bug in the placement of "at nn" for associative array indexes. 2009-11-30 Robert Dewar <dewar@adacore.com> * g-dyntab.ads: Add missing pragma Compiler_Unit 2009-11-30 Thomas Quinot <quinot@adacore.com> * s-crtrun.ads, s-crtl.ads, g-stseme.adb, Makefile.rtl, s-fileio.adb (System.CRTL.Runtime): New unit, to contain parts of s-crtl that are used in the Ada runtime but can't be used in the compiler because of bootstrap issues. * socket.c, s-oscons-tmplt.c, g-sothco.ads (System.OS_Constants.SIZEOF_struct_servent): New constant. Use s-oscons constant instead of external variable to get size of struct hostent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154772 138bc75d-0d04-0410-961f-82ee72b054a4