1. 14 Jun, 2004 7 commits
  2. 13 Jun, 2004 17 commits
  3. 12 Jun, 2004 16 commits
    • Fix changelog typo. · b3b65c9a
      From-SVN: r83042
      Paul Brook committed
    • Make-lang.in (F95_OBJS, [...]): Alpabetize. · fd528377
      	* Make-lang.in (F95_OBJS, F95_PARSER_OBJS): Alpabetize.  Move data.c
      	* data.c (gfc_get_section_index):  Remove dependency on trans.h.
      
      From-SVN: r83041
      Tobias Schlüter committed
    • fold-const.c (omit_two_operands): New function. · 08039bd8
      
      	* fold-const.c (omit_two_operands): New function.
      	* tree.h (omit_two_operands): Prototype here.
      	* builtins.c (fold_builtin_unordered_cmp): New function to lower
      	C99 unordered comparison builtins to the appropriate tree nodes.
      	(fold_builtin_1): Use fold_builtin_unordered_cmp to lower
      	BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS,
      	BUILT_IN_ISLESSEQUAL and BUILT_IN_ISLESSGREATER.  Manually lower
      	BUILT_IN_ISUNORDERED comparisons to an UNORDERED_EXPR tree node.
      	(simplify_builtin_memcmp, simplify_builtin_strncmp,
      	simplify_builtin_strncat, simplify_builtin_strspn): Use the new
      	omit_two_operands function to build the required COMPOUND_EXPRs.
      
      From-SVN: r83040
      Roger Sayle committed
    • re PR libfortran/15292 (libgfortran depends on c99 functionality round and roundf) · a2a2059f
      	PR gfortran/15292
      	* intrinsics/c99_functions.c: New file.
      	* Makefile.am: Add new file.
      	* configure.ac: Added test for round/roundf.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
              * configure.h.in: Regenerate.
      
      From-SVN: r83036
      Bud Davis committed
    • check.c (gfc_check_second_sub, [...]): New functions. · 2bd74949
      	* check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_rand
      	gfc_check_srand, gfc_check_etime, gfc_check_etime_sub): New functions.
      	* gfortran.h (gfc_generic_isym_id): New symbols GFC_ISYM_ETIME,
      	GFC_ISYM_IRAND, GFC_ISYM_RAND, GFC_ISYM_SECOND.
      	* trans-intrinsic.c:  Use symbols.
      	* intrinsic.c (add_sym_2s): New function.
      	* intrinsic.c: Add etime, dtime, irand, rand, second, srand.
      	* intrinsic.h: Function prototypes.
      	* iresolve.c (gfc_resolve_etime_sub, gfc_resolve_second_sub
      	gfc_resolve_srand):  New functions.
      libgfortran
      	* Makefile.am: Add rand.c and etime.c
      	* Makefile.in: Regenerated.
      	* aclocal.in: Regenerated.
      	* cpu_time.c (second_sub, second): New functions.
      	* rand.c (irand, rand, srand): New file.
      	* etime.c (etime_sub, etime): New file.
      
      From-SVN: r83034
      Steven G. Kargl committed
    • * gfortran.fortran-torture/execute/contained_3.f90: New test. · b08eae92
      From-SVN: r83033
      Paul Brook committed
    • re PR libfortran/14923 (gfortran misses the DATE_AND_TIME intrinsic) · f814193b
      	PR fortran/14923
      	* intrinsics/date_and_time.c: New file.
      	* Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
      	* Makefile.in, aclocal.m4: Regenerate.
      	* libgfortran.h: Prototype date_and_time().
      testsuite/
      	* gfortran.fortran-torture/execute/date_time_1.f90: New test.
      
      Co-Authored-By: Steven Bosscher <stevenb@suse.de>
      
      From-SVN: r83032
      Tobias Schlüter committed
    • re PR fortran/14957 (testsuite issues) · c52eae8d
      fortran/
      PR fortran/14957
      * decl.c (gfc_match_end): Require END {SUBROUTINE|FUNCTION} for
      contained procedure.
      
      testsuite/
      PR fortran/14957
      * gfortran.fortran-torture/execute/stack_varsize.f90: Correct
              syntax errors in end statements of contained subroutines.
      
      From-SVN: r83031
      Tobias Schlüter committed
    • re PR fortran/12841 (passing null to a subroutine) · 662ef0f5
      fortran/
      PR fortran/12841
      * interface.c (compare_parameter, compare_actual_formal): Don't
      check types and array shapes for NULL()
      * trans-expr.c (conv_function_call): No double indirection for
      NULL()
      ( I had accidentally committed the interface.c part before)
      
      testuite/
      PR fortran/12841
      * gfortran.fortran-torture/execute/null_arg.f90: New test.
      
      From-SVN: r83028
      Tobias Schlüter committed
    • args.c: Implement GETARG and IARGC. · 4aef80f8
      	* intrinsics/args.c: Implement GETARG and IARGC.
      	* Makefile.am: Add it.
      	* Makefile.in: Regenerate.
      testsuite/
      	* gfortran.fortran-torture/execute/getarg_1.f90: New test.
      
      From-SVN: r83027
      Bud Davis committed
    • gcse.c (record_set_info): Use predicates like REG_P. · 7b1b4aed
      	* gcse.c (record_set_info): Use predicates like REG_P.
      	(mems_conflict_for_gcse_p): Likewise.
      	(load_killed_in_block_p): Likewise.
      	(hash_expr_1): Likewise.
      	(insert_set_in_table): Likewise.
      	(gcse_constant_p): Likewise.
      	(hash_scan_set): Likewise.
      	(hash_scan_insn): Likewise.
      	(canon_list_insert): Likewise.
      	(record_last_mem_set_info): Likewise.
      	(record_last_set_info): Likewise.
      	(compute_hash_table_work): Likewise.
      	(mark_set): Likewise.
      	(mark_clobber): Likewise.
      	(mark_oprs_set): Likewise.
      	(compute_transp): Likewise.
      	(find_avail_set): Likewise.
      	(cprop_insn): Likewise.
      	(do_local_cprop): Likewise.
      	(cprop): Likewise.
      	(find_implicit_sets): Likewise.
      	(find_bypass_set): Likewise.
      	(bypass_conditional_jumps): Likewise.
      	(insert_insn_end_bb): Likewise.
      	(pre_insert_copy_insn): Likewise.
      	(compute_transpout): Likewise.
      	(next_ls_expr): Likewise.
      	(invalidate_any_buried_refs): Likewise.
      	(compute_ld_motion_mems): Likewise.
      	(reg_set_info): Likewise.
      	(reg_clear_last_set): Likewise.
      	(find_moveable_store): Likewise.
      	(compute_store_table): Likewise.
      	(find_loads): Likewise.
      	(store_killed_in_insn): Likewise.
      	(insert_insn_start_bb): Likewise.
      	(reg_set_between_after_reload_p): Likewise.
      	(reg_used_between_after_reload_p): Likewise.
      	(is_jump_table_basic_block): Likewise.
      	(gcse_after_reload): Likewise.
      	(hash_scan_set_after_reload): Likewise.
      	(compute_hash_table_after_reload): Likewise.
      
      Co-Authored-By: Andreas Jaeger <aj@suse.de>
      
      From-SVN: r83026
      Steven Bosscher committed
    • * javax/swing/RepaintManager.java · ff6ea709
             (paintDirtyRegions): Use entrySet(), not values().
      
      From-SVN: r83025
      Mark Wielaard committed
    • re PR libfortran/12839 (incorrect IO of Inf) · 8204210b
      2004-06-12  Bud Davis  <bdavis9659@comcast.net>
      
              PR gfortran/12839
              * gfortran.fortran-torture/execute/nan_inf_fmt.f90: New test.
              * io/write.c(write_float): format inf and nan IAW F2003.
      
      From-SVN: r83024
      Bud Davis committed
    • rtl.h (MEM_P, [...]): New predicates. · 3d27dbd0
      	* rtl.h (MEM_P, NONJUMP_INSN_P, CALL_INSN_P): New predicates.
      	(INSN_P): Don't look at the rtx code class, just explicitly
      	check for one of the tree RTX_INSN codes.
      
      From-SVN: r83023
      Steven Bosscher committed