- 05 Aug, 2008 40 commits
-
-
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 From-SVN: r138717
Arnaud Charlet committed -
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 From-SVN: r138716
Sergey Rybin committed -
* config/spu_spu_mfcio.h: Wrap in extern "C" if __cplusplus. Reword some comments throughout the file. (MFC_MIN_DMA_LIST_ELEMENTS): New define. (MFC_MAX_DMA_LIST_ELEMENTS): Likewise. (MFC_MIN_DMA_LIST_SIZE): Redefine in terms of MFC_MIN_DMA_LIST_ELEMENTS. (MFC_MAX_DMA_LIST_SIZE): Redefine in terms of MFC_MAX_DMA_LIST_ELEMENTS. (MFC_START_ENABLE): Remove PPU-only define. (MFC_PUTS_CMD, MFC_PUTFS_CMD, MFC_PUTBS_CMD): Likewise. (MFC_GETS_CMD, MFC_GETFS_CMD, MFC_GETBS_CMD): Likewise. (MFC_PUTB_CMD, MFC_PUTF_CMD): Reimplement using symbolic constants. (MFC_PUTL_CMD, MFC_PUTLB_CMD, MFC_PUTLF_CMD): Likewise. (MFC_PUTR_CMD, MFC_PUTRB_CMD, MFC_PUTRF_CMD): Likewise. (MFC_PUTRL_CMD, MFC_PUTRLB_CMD, MFC_PUTRLF_CMD): Likewise. (MFC_GETB_CMD, MFC_GETF_CMD): Likewise. (MFC_GETL_CMD, MFC_GETLB_CMD, MFC_GETLF_CMD): Likewise. (MFC_SNDSIGB_CMD, MFC_SNDSIGF_CMD): Likewise. (MFC_SDCRT_CMD, MFC_SDCRTST_CMD): New defines. (MFC_SDCRZ_CMD, MFC_SDCRST_CMD, MFC_SDCRF_CMD): Likewise. (mfc_sdcrt, mfc_sdcrtst): Likewise. (mfc_sdcrz, mfc_sdcrst, mfc_sdcrf): Likewise. (spu_read_machine_status): Fix typo. From-SVN: r138714
Ulrich Weigand committed -
* config/spu/spu.h (CANNOT_CHANGE_MODE_CLASS): Allow (multi)word-sized SUBREG of multi-word hard register. * config/spu/spu.c (valid_subreg): Likewise. (adjust_operand): Handle SUBREGs of multi-word hard registers. From-SVN: r138711
Ulrich Weigand committed -
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. From-SVN: r138710
Vincent Celier committed -
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. From-SVN: r138709
Arnaud Charlet committed -
* 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. From-SVN: r138708
Vincent Celier committed -
* Makefile.in (gnatlib*): Now depend on oscons target. (oscons): New target. From-SVN: r138706
Thomas Quinot committed -
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 From-SVN: r138705
Thomas Quinot committed -
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 From-SVN: r138704
Arnaud Charlet committed -
2008-08-05 Pascal Obry <obry@adacore.com> * adaint.c: In UNIX cases do not call __gnat_stat but stat directly. From-SVN: r138703
Pascal Obry committed -
2008-08-05 Thomas Quinot <quinot@adacore.com> * socket.c: Minor reformatting. From-SVN: r138702
Thomas Quinot committed -
2008-08-05 Pascal Obry <obry@adacore.com> * a-coinve.adb: Reorder the code to avoid uninitialized warning. From-SVN: r138701
Pascal Obry committed -
2008-08-05 Richard Guenther <rguenther@suse.de> PR middle-end/37026 * gcc.c-torture/compile/pr37026.c: New testcase. From-SVN: r138700
Richard Guenther committed -
sem_ch12.adb (Validate_Array_Type_Instance): Only apply complex visibility check on the component type if the simple test fails. 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. From-SVN: r138697
Arnaud Charlet committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * prj-nmsc.adb: Minor reformatting From-SVN: r138696
Robert Dewar committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * sem_ch3.adb: Minor reformatting From-SVN: r138695
Robert Dewar committed -
From-SVN: r138694
Arnaud Charlet committed -
sem_ch3.adb (Analyze_Object_Declaration): Avoid type Any_Access in unresolved initial value of "null"... 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. From-SVN: r138693
Arnaud Charlet committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * prj.ads: Minor reformatting From-SVN: r138692
Robert Dewar committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * s-fileio.adb: Minor code reorganization Minor reformatting From-SVN: r138691
Robert Dewar committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * s-os_lib.adb: Minor reformatting From-SVN: r138690
Robert Dewar committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * prj-attr.ads: Minor reformatting From-SVN: r138689
Robert Dewar committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * mlib.adb: Minor code reorganization Minor reformatting From-SVN: r138688
Robert Dewar committed -
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. From-SVN: r138687
Thomas Quinot committed -
2008-08-05 Robert Dewar <dewar@adacore.com> * make.adb: Minor reformatting From-SVN: r138686
Robert Dewar committed -
2008-08-05 Bob Duff <duff@adacore.com> * checks.ads: Minor comment fix From-SVN: r138685
Bob Duff committed -
init.c (__gnat_install_handler for linux): If we are building the Xenomai run time then we need to do two additional things... 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. From-SVN: r138684
Jose Ruiz committed -
2008-08-05 Vincent Celier <celier@adacore.com> * 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 From-SVN: r138683
Arnaud Charlet committed -
2008-08-05 Vasiliy Fofanov <fofanov@adacore.com> * gen-oscons.c: Adapt for VMS where termios.h is not available. From-SVN: r138682
Vasiliy Fofanov committed -
* prj-proc.adb: (Process_Declarative_Items): Skip associative array attribute when index is reserved word "others". From-SVN: r138681
Vincent Celier committed -
2008-08-05 Vincent Celier <celier@adacore.com> * mlib.adb: Update comments. From-SVN: r138680
Vincent Celier committed -
2008-08-05 Thomas Quinot <quinot@adacore.com> * 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. From-SVN: r138679
Thomas Quinot committed -
2008-08-05 Thomas Quinot <quinot@adacore.com> * a-rttiev.adb: Minor reformatting (comments) From-SVN: r138678
Thomas Quinot committed -
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. From-SVN: r138676
Arnaud Charlet committed -
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. From-SVN: r138675
Javier Miranda committed -
2008-08-05 Thomas Quinot <quinot@adacore.com> * exp_strm.adb: Minor reformatting (comments) * sem_ch12.adb: Minor reformatting. From-SVN: r138674
Thomas Quinot committed -
From-SVN: r138673
Arnaud Charlet committed -
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. From-SVN: r138672
Arnaud Charlet committed -
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. From-SVN: r138671
Ed Schonberg committed
-