- 14 Jun, 2004 7 commits
-
-
2004-06-14 Andrew Pinski <pinskia@physics.uc.edu> * linking.m (_objcInit): New empty function for Darwin only. From-SVN: r83082
Andrew Pinski committed -
From-SVN: r83081
Paolo Bonzini committed -
2004-06-13 Steven Bosscher <stevenb@suse.de> * gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set): Revert previous change, don't use CALL_P. From-SVN: r83080
Steven Bosscher committed -
* tree.h: Move std_gimplify_va_arg_expr protoype here. * tree-gimple.h: From here. From-SVN: r83079
Jason Merrill committed -
2004-06-13 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/15979 Fix PR tree-optimization/15981 * tree-ssa-pre.c (insert_aux): Fix faulty logic so that we don't try to insert values undefined along some path. From-SVN: r83076
Daniel Berlin committed -
[[Split portion of a mixed commit.]] From-SVN: r83074.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r83073.2
GCC Administrator committed
-
- 13 Jun, 2004 17 commits
-
-
From-SVN: r83071
Paul Brook committed -
* Makefile.am (gfor_helper_src): Add runtime/normalize.f90. * configure.ac: Add checks for nextafter and nextafterf. * Makefile.in, config.h.in, configure: Regenerate. * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare. * intrinsics/rand.c (rand): Use normalize_r4_i4. * intrinsics/random.c (random_r4): Use normalize_r4_i4. (random_r8): Use normalize_r8_i8. * runtime/normalize.c: New file. testsuite/ * gfortran.fortran-torture/execute/random_2.f90: New test. From-SVN: r83070
Paul Brook committed -
2004-06-13 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things are available everywhere too. From-SVN: r83069
Daniel Berlin committed -
fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE. 2004-06-13 Andrew Pinski <pinskia@physics.uc.edu> * fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE. Only look at TYPE_MIN_VALUE and TYPE_MAX_VALUE if EXPR is an INTEGERAL_TYPE or a scalar float type. From-SVN: r83068
Andrew Pinski committed -
2004-06-11 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior. From-SVN: r83066
Andrew Pinski committed -
From-SVN: r83064
Diego Novillo committed -
* random.c: Fix several spelling and formatting mistakes in comments. (random_r8): Fix loop to make random numbers range in [0,1(. Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> From-SVN: r83063
Steven G. Kargl committed -
2004-06-13 Steven G. Kargl <kargls@comcast.net> * random.c (random_r4): Burn a random number. (random_r8): fix infinite loop. From-SVN: r83062
Tobias Schlüter committed -
* c-typeck.c (comptypes, tagged_types_tu_compatible_p, function_types_compatible_p, type_lists_compatible_p): Remove flags parameter. * c-tree.h (comptypes): Likewise. (COMPARE_STRICT): Remove. * c-decl.c, c-lang.c, c-parse.in, c-typeck.c, objc/objc-act.c: All callers changed. From-SVN: r83061
Joseph Myers committed -
2004-06-13 Eric Christopher <echristo@redhat.com> * c-decl.c (diagnose_mismatched_decls): Improve error message. Remove unused code. * c-typeck.c (comptypes): Add location in standard we're checking. 2004-06-13 Eric Christopher <echristo@redhat.com> * gcc.dg/noncompile/redecl-1.c: Fix error message. From-SVN: r83060
Eric Christopher committed -
2004-06-13 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (time_get<>::do_get_time, time_get<>::do_get_date): Use only once _M_extract_via_format, instead of going through "%X"/"%x" and calling it two times (+ using widen). From-SVN: r83059
Paolo Carlini committed -
* config/sh/libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4. From-SVN: r83057
Kaz Kojima committed -
* expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally index by machine mode. (init_expmed): Initialize shift_cost, shiftadd_cost and shiftsub_cost tables inside the loop over machine modes. (synth_mult, expand_mult_highpart_optab, expand_mult_highpart, expand_divmod): Index shift*_cost by the appropriate machine mode. From-SVN: r83053
Roger Sayle committed -
2004-06-12 Eric Christopher <echristo@redhat.com> * config/s390/s390.h: Rename TARGET_TPF to TARGET_TPF_PROFILING. * config/s390/s390.md: Ditto. * config/s390/s390.c: Ditto. (s390_frame_info): Conditionalize frame and setup info on TARGET_TPF_PROFILING. (s390_arg_frame_offset): Ditto. From-SVN: r83051
Eric Christopher committed -
[[Split portion of a mixed commit.]] From-SVN: r83049.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r83048.2
GCC Administrator committed -
From-SVN: r83046
Jon Ziegler committed
-
- 12 Jun, 2004 16 commits
-
-
From-SVN: r83042
Paul Brook committed -
* 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. * 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 -
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, 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 -
From-SVN: r83033
Paul Brook committed -
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 -
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 -
From-SVN: r83030
Tobias Schlüter committed -
From-SVN: r83029
Tobias Schlüter committed -
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 -
* 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. (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 -
(paintDirtyRegions): Use entrySet(), not values(). From-SVN: r83025
Mark Wielaard committed -
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, 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
-