- 01 Aug, 2008 40 commits
-
-
2008-08-01 Robert Dewar <dewar@adacore.com> * sem_ch4.adb: Minor reformatting Minor code reorganization From-SVN: r138495
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * prj-nmsc.adb: Minor reformatting From-SVN: r138494
Robert Dewar committed -
2008-08-01 Gary Dismukes <dismukes@adacore.com> * exp_ch6.adb (Expand_Call): Adjustment to previous fix for passing correct accessibility levels. In the "when others" case, retrieve the access level of the Etype of Prev rather than Prev_Orig, because the original exression has not always been analyzed. From-SVN: r138493
Gary Dismukes committed -
2008-08-01 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/utils.c (convert_vms_descriptor): Add gnu_expr_alt_type parameter. Convert the expression to it instead of changing its type in place. (build_function_stub): Adjust call to above function. From-SVN: r138492
Eric Botcazou committed -
sem_ch4.adb (Analyze_One_Call): Handle complex overloading of a procedure call whose prefix is a parameterless... 2008-08-01 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_One_Call): Handle complex overloading of a procedure call whose prefix is a parameterless function call that returns an access_to_procedure. From-SVN: r138491
Arnaud Charlet committed -
exp_ch6.adb (Expand_Call): Remove ugly special-case code that resets Orig_Prev to Prev in the case where... 2008-08-01 Gary Dismukes <dismukes@adacore.com> * exp_ch6.adb (Expand_Call): Remove ugly special-case code that resets Orig_Prev to Prev in the case where the actual is N_Function_Call or N_Identifier. This was interfering with other cases that are rewritten as N_Identifier, such as allocators, resulting in passing of the wrong accessibility level, and based on testing this code is apparently no longer needed at all. From-SVN: r138490
Gary Dismukes committed -
* sem_prag.adb: (Check_Precondition_Postcondition): If not generating code, analyze the expression in a postcondition that appears in a subprogram body, so that it is properly decorated for ASIS use. From-SVN: r138489
Ed Schonberg committed -
* mlib-utl.adb: (Adalib_Path): New variable to store the path of the adalib directory when procedure Specify_Adalib_Dir is called. (Lib_Directory): If Adalib_Path is not null, return its value (Specify_Adalib_Dir): New procedure * mlib-utl.ads (Specify_Adalib_Dir): New procedure From-SVN: r138488
Vincent Celier committed -
2008-08-01 Vincent Celier <celier@adacore.com> * prj-attr.adb: New attribute Compiler'Name_Syntax (<lang>) * prj-nmsc.adb (Process_Compiler): Recognize attribute Name_Syntax * prj.adb (Object_Exist_For): Use Object_Generated, not Objects_Generated that is removed and was never modified anyway. * prj.ads: (Path_Syntax_Kind): New enumeration type (Language_Config): New component Path_Syntax, defaulted to Host. Components PIC_Option and Objects_Generated removed, as they are not used. * snames.adb: New standard name Path_Syntax * snames.ads: New standard name Path_Syntax From-SVN: r138487
Vincent Celier committed -
checks.adb (Apply_Float_Conversion_Check): If the expression to be converted is a real literal and the target type has... 2008-08-01 Ed Schonberg <schonberg@adacore.com> * checks.adb (Apply_Float_Conversion_Check): If the expression to be converted is a real literal and the target type has static bounds, perform the conversion exactly to prevent floating-point anomalies on some targets. From-SVN: r138486
Ed Schonberg committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * sem_ch6.adb (Process_PPCs): Don't copy spec PPC to body if not generating code From-SVN: r138485
Robert Dewar committed -
2008-08-01 Jerome Lambourg <lambourg@adacore.com> * s-os_lib.adb (Normalize_Pathname): Take care of double-quotes in paths, which are authorized by Windows but can lead to errors when used elsewhere. From-SVN: r138484
Arnaud Charlet committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * sem_ch6.adb (Analyze_Subprogram_Body): Remove special casing of Raise_Exception From-SVN: r138483
Robert Dewar committed -
2008-08-01 Jose Ruiz <ruiz@adacore.com> * adaint.c (__gnat_tmp_name): Refine the generation of temporary names for RTX. Adding a suffix that is incremented at each iteration. From-SVN: r138482
Jose Ruiz committed -
2008-08-01 Jose Ruiz <ruiz@adacore.com> * gnat_ugn.texi: Document the RTX run times (rts-rtx-rtss and rts-rtx-w32). From-SVN: r138481
Jose Ruiz committed -
2008-08-01 Ed Schonberg <schonberg@adacore.com> * sem_ch12.ads (Need_Subprogram_Instance_Body): new function, to create a pending instantiation for the body of a subprogram that is to be inlined. * sem_ch12.adb: (Analyze_Subprogram_Instantiation): use Need_Subprogram_Instance_Body. * sem_prag.adb (Make_Inline): If the pragma applies to an instance, create a pending instance for its body, so that calls to the subprogram can be inlined by the back-end. From-SVN: r138480
Arnaud Charlet committed -
gcc: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Do not generate libada-mk. Do not subst host_cc_for_libada. * libada-mk.in: Remove. * Makefile.in: Pass TARGET_LIBGCC2_CFLAGS to libgcc.mvars. * configure: Regenerate. libada: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_CFLAGS, T_ADA_CFLAGS, X_ADA_CFLAGS, ALL_ADA_CFLAGS): Remove, they were unused. (libada-mk): Do not include. Include libgcc.mvars instead. (tmake_file): Remove, do not include. (FLAGS_TO_PASS): Pass dummy values for exeext and CC. * configure: Regenerate. gnattools: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, exeext, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Remove as they were unused. (libsubdir): Remove. (libada-mk): Do not include. Include libgcc.mvars instead. (xmake_file): Remove, do not include. From-SVN: r138479
Paolo Bonzini committed -
From-SVN: r138475
Arnaud Charlet committed -
2008-08-01 Jose Ruiz <ruiz@adacore.com> * adaint.c (__gnat_tmp_name): RTSS applications do not support tempnam nor tmpnam, so we always use c:\WINDOWS\Temp\gnat-XXXXXX as temporary name. From-SVN: r138474
Jose Ruiz committed -
2008-08-01 Doug Rupp <rupp@adacore.com> * gnat_rm.texi: Document new mechanism Short_Descriptor. * types.ads (Mechanism_Type): Modify range for new Short_Descriptor mechanism values. * sem_prag.adb (Set_Mechanism_Value): Enhance for Short_Descriptor mechanism and Short_Descriptor mechanism values. * snames.adb (preset_names): Add short_descriptor entry. * snames.ads: Add Name_Short_Descriptor. * types.h: Add new By_Short_Descriptor mechanism values. * sem_mech.adb (Set_Mechanism_Value): Enhance for Short_Descriptor mechanism and Short_Descriptor mechanism values. * sem_mech.ads (Mechanism_Type): Add new By_Short_Descriptor mechanism values. (Descriptor_Codes): Modify range for new mechanism values. * treepr.adb (Print_Entity_Enfo): Handle new By_Short_Descriptor mechanism values. * gcc-interface/decl.c (gnat_to_gnu_entity): Handle By_Short_Descriptor. (gnat_to_gnu_param): Handle By_Short_Descriptor. * gcc-interface/gigi.h (build_vms_descriptor64): Remove prototype. (build_vms_descriptor32): New prototype. (fill_vms_descriptor): Remove unneeded gnat_actual parameter. * gcc-interface/trans.c (call_to_gnu): Removed unneeded gnat_actual argument in call fill_vms_descriptor. * gcc-interface/utils.c (build_vms_descriptor32): Renamed from build_vms_descriptor and enhanced to hande Short_Descriptor mechanism. (build_vms_descriptor): Renamed from build_vms_descriptor64. (convert_vms_descriptor32): New function. (convert_vms_descriptor64): New function. (convert_vms_descriptor): Rewrite to handle both 32bit and 64bit descriptors. * gcc-interface/utils2.c (fill_vms_descriptor): Revert previous changes, no longer needed. From-SVN: r138473
Doug Rupp committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * scng.adb (Error_Illegal_Wide_Character): Bump scan pointer From-SVN: r138472
Robert Dewar committed -
From-SVN: r138470
Arnaud Charlet committed -
From-SVN: r138469
Arnaud Charlet committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * scng.adb: Minor reformatting From-SVN: r138468
Robert Dewar committed -
2008-08-01 Doug Rupp <rupp@adacore.com> * vms_data.ads: vms_data.ads: New qualfier /MACHINE_CODE_LISTING From-SVN: r138467
Doug Rupp committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * opt.ads: Minor documentation fix From-SVN: r138466
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * sem_util.ads: Minor reformatting. From-SVN: r138465
Robert Dewar committed -
mlib-tgt-specific-vms-alpha.adb (Build_Dynamic_Library): Output a dummy transfer address for debugging. 2008-08-01 Doug Rupp <rupp@adacore.com> * mlib-tgt-specific-vms-alpha.adb (Build_Dynamic_Library): Output a dummy transfer address for debugging. * mlib-tgt-specific-vms-ia64.adb (Build_Dynamic_Library): Likewise. From-SVN: r138464
Doug Rupp committed -
exp_disp.adb (Expand_Interface_Conversion): If the target type is a tagged synchronized type, use corresponding record type. 2008-08-01 Ed Schonberg <schonberg@adacore.com> * exp_disp.adb (Expand_Interface_Conversion): If the target type is a tagged synchronized type, use corresponding record type. From-SVN: r138463
Ed Schonberg committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * gnatchop.adb: Minor reformatting From-SVN: r138462
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * sinput.adb: Minor reformatting From-SVN: r138461
Robert Dewar committed -
cstreams.c (__gnat_full_name): RTSS applications cannot ask for the current directory so only fully qualified... 2008-08-01 Jose Ruiz <ruiz@adacore.com> * cstreams.c (__gnat_full_name): RTSS applications cannot ask for the current directory so only fully qualified names are allowed. From-SVN: r138460
Jose Ruiz committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * xref_lib.adb: Minor reformatting From-SVN: r138459
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * snames.ads: Minor comment fixes, some pragmas were not properly categorized in the comments, documentation change only From-SVN: r138458
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * sem_ch10.adb: Minor reformatting From-SVN: r138457
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * s-ststop.adb: Add some ??? comments From-SVN: r138456
Robert Dewar committed -
2008-08-01 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Minor editing, remove uncomfortable use of semicolon From-SVN: r138455
Robert Dewar committed -
2008-08-01 Basile Starynkevitch <basile@starynkevitch> * gcc/tree-pass.h: Added comment about not dumping passes with name starting with star in struct opt_pass. * gcc/passes.c (register_dump_files_1): Don't do dump for a pass with name starting with star. * gcc/doc/passes.texi (Pass manager): Mention pass names and special meaning of star prefix to avoid dump. From-SVN: r138450
Basile Starynkevitch committed -
* config.gcc (mipsisa64*-*-linux*): New configuration. Set ISA to MIPS64r2 for mipsisa64r2*. * config/mips/mips.h (GENERATE_MIPS16E): Update comment. (ISA_MIPS64R2): New macro. (TARGET_CPU_CPP_BUILTINS, MULTILIB_ISA_DEFAULT): Handle it. (ISA_HAS_64BIT_REGS, ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4, ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD4_NMSUB4, ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_PREFETCH, ISA_HAS_PREFETCHX, ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1, ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Return true for ISA_MIPS64R2. (MIPS_ISA_LEVEL_SPEC, ASM_SPEC, LINK_SPEC): Handle -mips64r2. (TARGET_LOONGSON_2E, TARGET_LOONGSON_2F, TARGET_LOONGSON_2EF): Move up to keep list alphabetically sorted. (TUNE_20KC, TUNE_24K, TUNE_74K, TUNE_LOONGSON_2EF): Likewise. * config/mips/mips.c (mips_cpu_info_table): Add default MIPS64r2 processor. * doc/invoke.texi (MIPS Options): Add -mips64r2. (-march=@var{arch}): Add mips64r2. testsuite/ * gcc.target/mips/ext-1.c: New test. From-SVN: r138448
Adam Nemet committed -
2008-07-31 H.J. Lu <hongjiu.lu@intel.com> * config/i386/darwin.h (MAIN_STACK_BOUNDARY): Define to 128. From-SVN: r138446
H.J. Lu committed
-