- 05 Oct, 2004 2 commits
-
-
[[Split portion of a mixed commit.]] From-SVN: r88537.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88536.2
GCC Administrator committed
-
- 04 Oct, 2004 38 commits
-
-
* configure.ac (*-*-freebsd[[1234]]*): Refine error message emission rule. * configure: Rebuilt. From-SVN: r88533
Loren J. Rittle committed -
fortran/ PR fortran/17776 * check.c (gfc_check_system_sub): New function. * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SYSTEM. * intrinsic.c (add_functions): Add 'system'. (add_subroutines): Add 'system'. * intrinsic.h (gfc_check_etime_sub, gfc_check_getcwd_sub): Move prototypes to other suborutines. (gfc_check_system_sub, gfc_resolve_system, gfc_resolve_system_sub): Add prototype. (gfc_resolve_system_clock): Fix formatting of prototype. * iresolve.c (gfc_resolve_system, gfc_resolve_system_sub): New functions. * trans-intrinsic.c (gfc_conv_intrinsic_function): Deal with GFC_ISYM_SYSTEM. libgfortran/ PR fortran/17776 * intrinsics/system.c: New file. * Makefile.am: Add dependency for the new file. * Makefile.in: Regenerate. From-SVN: r88532
Tobias Schlüter committed -
fortran/ PR fortran/17708 * parse.c (accept_statement): Don't treat END DO like END IF and END SELECT. (parse_do_block): Generate possible END DO label inside END DO block. also, added ChangeLog entry for previous commit. testsuite/ PR fortran/17708 * gfortran.dg/pr17708.f90: New test. From-SVN: r88529
Tobias Schlüter committed -
* trans-const.c (gfc_build_cstring_const): New function. (gfc_init_cst): Use new function. * trans-const.h (gfc_build_cstring_const): Add prototype. * trans-io.c (set_string, set_error_locus): Use new function. * trans-stmt.c (gfc_trans_goto): Use new function. From-SVN: r88528
Tobias Schlüter committed -
PR fortran/17631 fortran/ * intrinsic.c (add_sym_5): Remove. (add_subroutines): Add resolution function for MVBITS. * intrinsic.h (gfc_resolve_mvbits): Declare resolution function for MVBITS * iresolve.c (gfc_resolve_mvbits): New function. (gfc_resolve_random_number): Remove empty line at end of function. libgfortran/ * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h. * intrinsics/mvbits.h: New file. testsuite/ * gfortran.fortran-torture/execute/intrinsic_mvbits.f90: New test. From-SVN: r88527
Tobias Schlüter committed -
PR fortran/17283 fortran/ * iresolve.c (gfc_resolve_pack): Choose function depending if mask is scalar. libgfortran/ * intrinsics/pack_generic.c (__pack): Allocate memory for return array if not done by caller. (__pack_s): New function. * runtime/memory.c (internal_malloc, internal_malloc64): Allow allocating zero memory. testsuite/ * gfortran.fortran-torture/execute/intrinsic_pack.f90: Add more tests. From-SVN: r88526
Tobias Schlüter committed -
2004-10-04 Laurent GUERBY <laurent@guerby.net> PR ada/15156 * Makefile.in: Define and use RANLIB_FLAGS. From-SVN: r88525
Laurent GUERBY committed -
2004-10-04 Chao-ying Fu <fu@mips.com> * gcc.dg/vect/pr16105.c: Enable for mipsisa64*-*-*. * gcc.dg/vect/vect-4.c: Ditto. * gcc.dg/vect/vect-5.c: Ditto. * gcc.dg/vect/vect-6.c: Ditto. * gcc.dg/vect/vect-8.c: Ditto. * gcc.dg/vect/vect-16.c: Ditto. * gcc.dg/vect/vect-30.c: Ditto. * gcc.dg/vect/vect-40.c: Ditto. * gcc.dg/vect/vect-41.c: Ditto. * gcc.dg/vect/vect-42.c: Ditto. * gcc.dg/vect/vect-43.c: Ditto. * gcc.dg/vect/vect-44.c: Ditto. * gcc.dg/vect/vect-45.c: Ditto. * gcc.dg/vect/vect-46.c: Ditto. * gcc.dg/vect/vect-47.c: Ditto. * gcc.dg/vect/vect-48.c: Ditto. * gcc.dg/vect/vect-49.c: Ditto. * gcc.dg/vect/vect-50.c: Ditto. * gcc.dg/vect/vect-51.c: Ditto. * gcc.dg/vect/vect-52.c: Ditto. * gcc.dg/vect/vect-53.c: Ditto. * gcc.dg/vect/vect-54.c: Ditto. * gcc.dg/vect/vect-55.c: Ditto. * gcc.dg/vect/vect-56.c: Ditto. * gcc.dg/vect/vect-57.c: Ditto. * gcc.dg/vect/vect-58.c: Ditto. * gcc.dg/vect/vect-59.c: Ditto. * gcc.dg/vect/vect-60.c: Ditto. * gcc.dg/vect/vect-74.c: Ditto. * gcc.dg/vect/vect-79.c: Ditto. * gcc.dg/vect/vect-80.c: Ditto. From-SVN: r88523
Chao-ying Fu committed -
2004-10-04 Chao-ying Fu <fu@mips.com> * config/mips/mips.h (UNITS_PER_SIMD_WORD): Define. From-SVN: r88518
Chao-ying Fu committed -
2004-10-04 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Look for more headers & functions. * mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions. * mf-runtime.h.in: Add new "#pragma redefine_extname"s for them. * mf-runtime.c (options): Clean up integer signedness warnings. (main): Add a declaration to fix a warning. * mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper. * configure, config.h.in: Regenerated. From-SVN: r88517
Frank Ch. Eigler committed -
2004-10-04 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/unused-7.c: Use the correct option. From-SVN: r88516
Andrew Pinski committed -
2004-10-04 Erik Schnetter <schnetter@aei.mpg.de> * scanner.c (preprocessor_line): Accept preprocessor lines without file names. Check file names for closing quotes. Handle escaped quotes in file names. From-SVN: r88514
Erik Schnetter committed -
2004-10-04 Paul Brook <paul@codesourcery.com> Bud Davis <bdavis9659@comcast.net> PR fortran/17706 PR fortran/16434 * io/format.c (parse_format_list): Set repeat count for S, SP, SS, BN and BZ formats. * io/write.c (output_float): Don't output minus zero. libgfortran/ * gfortran/pr17706.f90: New test. * gfortran.dg/g77/f77-edit-s-out.f: Remove xfail. Actually apply the patch this time. From-SVN: r88513
Paul Brook committed -
2004-10-04 Paul Brook <paul@codesourcery.com> Bud Davis <bdavis9659@comcast.net> PR fortran/17706 PR fortran/16434 * io/format.c (parse_format_list): Set repeat count for S, SP, SS, BN and BZ formats. * io/write.c (output_float): Don't output minus zero. libgfortran/ * gfortran/pr17706.f90: New test. * gfortran.dg/g77/f77-edit-s-out.f: Remove xfail. Co-Authored-By: Bud Davis <bdavis9659@comcast.net> From-SVN: r88512
Paul Brook committed -
Convert diagnostics to use quoting flag q 4/n * except.c (decl_is_java_type, build_throw, is_admissible_throw_operand, check_handlers_1, check_handlers): Use quoting formats. * friend.c (add_friend, make_friend_class, do_friend): Likewise. * init.c (sort_mem_initializers, emit_mem_initializers, member_init_ok_or_else, expand_member_init, is_aggr_type, build_offset_ref, build_java_class_ref): Likewise. From-SVN: r88511
Gabriel Dos Reis committed -
2004-10-04 Pascal Obry <obry@gnat.com> * tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all other x86 platforms). From-SVN: r88510
Pascal Obry committed -
2004-10-04 Olivier Hainque <hainque@act-europe.fr> * s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense in general and triggers stack alignment adjustment for thread entry points on targets where this is necessary. From-SVN: r88509
Olivier Hainque committed -
2004-10-04 Bernard Banner <banner@gnat.com> PR ada/13897 * Makefile.in: Add section for powerpc linux Add variant i-vxwork-x86.ads * i-vxwork-x86.ads, system-linux-ppc.ads: New files. From-SVN: r88508
Bernard Banner committed -
init.c (__gnat_initialize): Call an Ada subprogram to perform the table registration calls when need be. 2004-10-04 Olivier Hainque <hainque@act-europe.fr> * init.c (__gnat_initialize): Call an Ada subprogram to perform the table registration calls when need be. Ensures no reference to the crt ctors symbol are issued in the SJLJ case, which avoids possible undefined symbol errors in the case of modules to be statically linked with the kernel. From-SVN: r88507
Olivier Hainque committed -
sem_ch4.adb (Try_Object_Operation): Reformat the code to expand in-line the code corresponding to subprogram... 2004-10-04 Javier Miranda <miranda@gnat.com> * sem_ch4.adb (Try_Object_Operation): Reformat the code to expand in-line the code corresponding to subprogram Analyze_Actuals. In addition, analyze the actuals only in case of subprogram call. From-SVN: r88506
Javier Miranda committed -
2004-10-04 Ed Falis <falis@gnat.com> * s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size From-SVN: r88505
Ed Falis committed -
2004-10-04 Sergey Rybin <rybin@act-europe.fr> * g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter in the documentation. From-SVN: r88504
Sergey Rybin committed -
2004-10-04 Robert Dewar <dewar@gnat.com> * sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as IF and CASE. (Analyze_Block_Statement): Add circuitry to detect following dead code (Check_Unreachable_Code): Handle case of block exit From-SVN: r88503
Robert Dewar committed -
2004-10-04 Robert Dewar <dewar@gnat.com> * g-spipat.adb: (XMatch): Avoid warning for Logic_Error call (XMatchD): Avoid warning for Logic_Error call From-SVN: r88502
Robert Dewar committed -
exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not consider expressions buried within a procedure... 2004-10-04 Robert Dewar <dewar@gnat.com> * exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not consider expressions buried within a procedure actual to be an actual. This caused some blowups with uses of packed slices within a procedure actual. From-SVN: r88501
Robert Dewar committed -
exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no longer need to be initialized to zero. 2004-10-04 Robert Dewar <dewar@gnat.com> * exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no longer need to be initialized to zero. (Get_Simple_Init_Val): Modular packed arrays no longer need to be initialized to zero. * checks.adb (Expr_Known_Valid): Packed arrays are now always considered valid, even if the representation is modular. That's correct now that we no longer initialize packed modular arrays to zero. * exp_dbug.ads: Clarify documentation on handling of PAD and JM suffixes. These are now documented as the only cases in which the debugger ignores outer records. Previously, the spec allowed arbitrary suffixes for this purpose. Change name of LJM to JM for packed array pad records Create separate section on packed array handling, and add a whole new set of comments to this section describing the situation with packed modular types and justification requirements depending on endianness. From-SVN: r88500
Robert Dewar committed -
2004-10-04 Robert Dewar <dewar@gnat.com> * a-except.adb: Add a comment for last change * einfo.ads: Minor spelling correction in comment * exp_pakd.adb, gnatdll.adb, prj-attr.ads: Minor reformatting * sem_ch11.adb: Fix a case of using | instead of \ for continuation messages. * sem_util.ads: Minor comment update From-SVN: r88499
Robert Dewar committed -
sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as Inline_Always when in Configurable_Run_Time mode. 2004-10-04 Ed Schonberg <schonberg@gnat.com> * sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as Inline_Always when in Configurable_Run_Time mode. * sem_prag.adb (Process_Convention): If entity is an inherited subprogram, apply convention to parent subprogram if in same scope. (Analyze_Pragma, case Inline): Do not treat Inline as Inline_Always when in Configurable_Run_Time mode. From-SVN: r88498
Ed Schonberg committed -
sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of class_wide type after component list has been inherited. 2004-10-04 Ed Schonberg <schonberg@gnat.com> * sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of class_wide type after component list has been inherited. From-SVN: r88497
Ed Schonberg committed -
2004-10-04 Ed Schonberg <schonberg@gnat.com> * sem_ch12.adb (Check_Generic_Actuals): New predicate Denotes_Previous_Actual, to handle properly the case of a private actual that is also the component type of a subsequent array actual. The visibility status of the first actual is not affected when the second is installed. (Process_Nested_Formal): Subsidiary of Instantiate_Formal_Package, to make fully recursive the treatment of formals of packages declared with a box. (Restore_Nested_Formal): Subsidiary of Restore_Private_Views, to undo the above on exit from an instantiation. (Denotes_Formal_Package): When called from Restore_Private_Views, ignore current instantiation which is now complete. (Analyze_Package_Instantiation): No instantiated body is needed if the main unit is generic. Efficient, and avoid anomalies when a instance appears in a package accessed through rtsfind. From-SVN: r88496
Ed Schonberg committed -
2004-10-04 Ed Schonberg <schonberg@gnat.com> * exp_ch6.adb (Expand_N_Function_Call): If stack checking is enabled, do not generate a declaration for a temporary if the call is part of a library-level instantiation. From-SVN: r88495
Ed Schonberg committed -
sem_util.adb (Explain_Limited_Type): Ignore internal components when searching for a limited component to flag. 2004-10-04 Ed Schonberg <schonberg@gnat.com> * sem_util.adb (Explain_Limited_Type): Ignore internal components when searching for a limited component to flag. * exp_attr.adb (Freeze_Stream_Subprogram): Subsidiary procedure to expansion of Input, to account for the fact that the implicit call generated by the attribute reference must freeze the user-defined stream subprogram. This is only relevant to 'Input, because it can appear in an object declaration, prior to the body of the subprogram. * sem_ch13.adb (Rep_Item_Too_Late): Make the error non-serious, so that expansion can proceed and further errors uncovered. (Minor clean up): Fix cases of using | instead of \ for continuation messages. From-SVN: r88494
Ed Schonberg committed -
2004-10-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable. * trans.c (assoc_to_constructor): Fix unused var warning if no checking. (gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change. Use gcc_assert and gcc_unreachable. * decl.c (gnat_to_gnu_entity, case object): Check and process a specified alignment before validating size. (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a stripped-down declaration for the type of the inner field when making a JM type. * utils.c (finish_record_type): Do not compute the size in units incrementally. Instead compute it once for the rep clause case. Use gcc_assert and gcc_unreachable. From-SVN: r88493
Richard Kenner committed -
2004-10-04 Vincent Celier <celier@gnat.com> * a-dirval-mingw.adb (Invalid_Character): Add '\' as invalid character in file name. (Is_Valid_Path_Name): Take '/' as a directory separator. From-SVN: r88492
Vincent Celier committed -
prj-part.adb (Parse_Single_Project): Call Is_Extending_All (Extended_Project) only if Extended_Project is defined... 2004-10-04 Vincent Celier <celier@gnat.com> * prj-part.adb (Parse_Single_Project): Call Is_Extending_All (Extended_Project) only if Extended_Project is defined, to avoid assertion error. (Post_Parse_Context_Clause): Always call Set_Path_Name_Of with a resolved path. (Parse_Single_Project): Ditto. * prj-env.adb (Set_Ada_Paths.Add.Recursive_Add): Do not call Add_To_Project_Path for virtual projects. From-SVN: r88491
Vincent Celier committed -
2004-10-04 Vincent Celier <celier@gnat.com> * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New parameter Options_2. * mlib-prj.ads, mlib-prj.adb (Build_Library): Call Build_Dynamic_Library with an empty Options_2. * mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no default anymore. * makegpr.adb (Get_Imported_Directories.add): Remove trailing directory separator, if any. (Gprmake): Do not allow mains on the command line for library projects. Do not attempt to link when the project is a library project. (Library_Opts): New table to store Library_Options. (Build_Library): If Library_Options is specified, pass these options when building a shared library. From-SVN: r88490
Vincent Celier committed -
s-tposen.adb (Service_Entry): The object must be always unlocked at the end of this procedure now that the... 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> * s-tposen.adb (Service_Entry): The object must be always unlocked at the end of this procedure now that the unlock operation was inserted by the expander. From-SVN: r88489
Jose Ruiz committed -
targparm.ads, [...] (Targparm_Tags): Add PAS value corresponding to the Preallocated_Stacks flags in System. 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> * targparm.ads, targparm.adb (Targparm_Tags): Add PAS value corresponding to the Preallocated_Stacks flags in System. (Get_Target_Parameters): Including the processing for Preallocated_Stacks. * system.ads, system-vxworks-x86.ads, system-darwin-ppc.ads, system-vms_64.ads, system-unixware.ads, system-linux-ia64.ads, system-freebsd-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, system-linux-x86_64.ads, system-tru64.ads, system-aix.ads, system-vxworks-sparcv9.ads, system-vxworks-xscale.ads, system-solaris-x86.ads, system-irix-o32.ads, system-irix-n32.ads, system-hpux.ads, system-vxworks-m68k.ads, system-linux-x86.ads, system-vxworks-mips.ads, system-os2.ads, system-interix.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads, system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads, system-vxworks-alpha.ads: Add the flag Preallocated_Stacks, that is used to signal whether the compiler creates the required stacks and descriptors for the different tasks (when True) or it is done by the underlying operating system at run time (when False). It is initially set to False in all targets. * exp_ch9.adb (Expand_N_Task_Type_Declaration): Create the task stack if it is supported by the target. (Make_Task_Create_Call): Pass the stack address if it has been previously created. Otherwise pass a Null_Address. * snames.adb: Add _stack. * snames.ads: Add Name_uStack. Required to allow the expander to statically allocated task stacks. * s-tarest.ads, s-tarest.adb (Create_Restricted_Task): Add Stack_Address argument. Check that its value is equal to Null_Address because this target does not support the static stack allocation. From-SVN: r88488
Jose Ruiz committed
-