- 03 May, 2005 3 commits
-
-
2005-05-03 David Billinghurst <David.Billinghurst@riotinto.com> * gcc.dg/vect/pr20122.c: Clean up .vect file. * gcc.dg/vect/vect-92.c: Likewise * gcc.dg/vect/vect-93.c: Likewise * gcc.dg/vect/vect-dv-1.c: Likewise * gcc.dg/vect/vect-dv-2.c: Likewise * gcc.dg/vect/vect-ifcvt-10.c: Likewise From-SVN: r99135
David Billinghurst committed -
[[Split portion of a mixed commit.]] From-SVN: r99133.2
GCC Administrator committed -
2005-05-03 David Billinghurst <David.Billinghurst@riotinto.com> * gfortran.dg/vect/vect-1.f90: Clean up .vect file. * gfortran.dg/vect/vect-2.f90: Likewise * gfortran.dg/vect/vect-3.f90: Likewise * gfortran.dg/vect/vect-4.f90: Likewise * gfortran.dg/vect/vect-5.f90: Likewise From-SVN: r99131
David Billinghurst committed
-
- 02 May, 2005 22 commits
-
-
2005-04-29 Geoffrey Keating <geoffk@apple.com> * config/rs6000/rs6000.md (floatsidf2_internal): Merge to create define_insn_and_split. Split only when memory operand is offsettable. Use adjust_address rather than plus_constant. (floatunssidf2_internal): Likewise. (fix_truncdfsi2_internal): Split only when memory operand is offsettable. Use adjust_address rather than plus_constant. (fix_trunctfsi2_internal): Likewise. (floatsidf2_internal): Likewise. Index: testsuite/ChangeLog 2005-05-02 Geoffrey Keating <geoffk@apple.com> * gcc.dg/rs6000-fpint-2.c: New. From-SVN: r99126
Geoffrey Keating committed -
* tree-vrp.c (set_value_range_to_nonnull): Declare inline. (set_value_range_to_null): Likewise. (set_value_range_to_varying): New function. Use it in all call sites that used to call set_value_range (vr, VR_VARYING, ...). (extract_range_from_assert): If the integral type has a super-type, and LIMIT is not within MIN and MAX values of that type, set the resulting range to VR_VARYING. From-SVN: r99125
Diego Novillo committed -
2005-05-02 Andrew Pinski <pinskia@physics.uc.edu> PR treelang/21345 * parse.y (parameters_opt): Add semicolon at the end. From-SVN: r99123
Andrew Pinski committed -
* config/mmix/mmix.opt: New file. * config/mmix/mmix.h: Move options-related comments to mmix.opt. (mmix_cc1_ignored_option): Don't declare. (TARGET_OPTIONS, TARGET_MASK_LIBFUNCS, TARGET_MASK_ABI_GNU) (TARGET_MASK_FCMP_EPSILON, TARGET_MASK_ZERO_EXTEND) (TARGET_MASK_KNUTH_DIVISION, TARGET_MASK_TOPLEVEL_SYMBOLS) (TARGET_MASK_BRANCH_PREDICT, TARGET_MASK_USE_RETURN_INSN) (TARGET_MASK_BASE_ADDRESSES, TARGET_LIBFUNC, TARGET_ABI_GNU, (TARGET_FCMP_EPSILON, TARGET_ZERO_EXTEND, TARGET_KNUTH_DIVISION) (TARGET_TOPLEVEL_SYMBOLS, TARGET_BRANCH_PREDICT) (TARGET_BASE_ADDRESSES, TARGET_USE_RETURN_INSN, TARGET_SWITCHES): Don't define. (TARGET_DEFAULT): Change TARGET_MASK_... to MASK_... * config/mmix/mmix.c (mmix_cc1_ignored_option): Remove. (TARGET_DEFAULT_TARGET_FLAGS): Override default. From-SVN: r99122
Hans-Peter Nilsson committed -
* class.c (current_lang_depth, push_lang_context, pop_lang_context): Use VEC instead of VARRAY. * cp-tree.h (saved_scope): Use VEC for lang_base instead of VARRAY. * name-lookup.c (push_to_top_level): Use VEC instead of VARRAY. From-SVN: r99121
Kazu Hirata committed -
PR c/15698 * c-tree.h (C_DECL_BUILTIN_PROTOTYPE): New. * c-decl.c (current_function_prototype_built_in, current_function_prototype_arg_types): New. (merge_decls): Keep source location of prototype followed by nonprototype declaration. Update C_DECL_BUILTIN_PROTOTYPE. (builtin_function): Set C_DECL_BUILTIN_PROTOTYPE. (start_function): Always set current_function_prototype_locus, current_function_prototype_built_in and current_function_prototype_arg_types. Check for external prototype whether or not visible for external function and set current_function_prototype_arg_types accordingly. (store_parm_decls_oldstyle): Use current_function_prototype_arg_types for checking old-style definition against prototype. Give warnings only if current_function_prototype_built_in). testsuite: * gcc.dg/builtins-30.c: Update expected messages. * gcc.dg/pr15698-1.c, gcc.dg/pr15698-2.c, gcc.dg/pr15698-3.c, gcc.dg/pr15698-4.c, gcc.dg/pr15698-5.c, gcc.dg/pr15698-6.c, gcc.dg/pr15698-7.c, pr15698-8.c: New tests. From-SVN: r99118
Joseph Myers committed -
* class.c (local_classes, init_class_processing): Use VEC instead of VARRAY. * cp-tree.h (local_classes): Likewise. * mangle.c (discriminator_for_local_entity): Likewise. * name-lookup.c (pushtag): Likewise. From-SVN: r99115
Kazu Hirata committed -
* ggc.h (ggc_alloc_zone_pass_stat): New macro. (ggc_alloc_zone_stat): Don't define. * ggc-zone.c (ggc_alloc_typed_stat, ggc_alloc_stat): Use ggc_alloc_zone_pass_stat. * rtl.c (rtx_alloc_stat, shallow_copy_rtx_stat): Likewise. * tree.c (make_node_stat, copy_node_stat, make_tree_binfo_stat) (make_tree_vec_stat, tree_cons_stat, build1_stat): Likewise. From-SVN: r99114
Daniel Jacobowitz committed -
* calls.c (expand_call): Handle current_function_pretend_args_size when checking for sibcalls. From-SVN: r99113
Daniel Jacobowitz committed -
gcc/ PR tree-optimization/21294 * tree-vrp.c (vrp_expr_computes_nonzero): New. (extract_range_from_expr): Call vrp_expr_computes_nonzero. testsuite/ PR tree-optimization/21294 * gcc.dg/tree-ssa/pr21294.c: New. From-SVN: r99111
Kazu Hirata committed -
re PR middle-end/19985 (executables created with -fprofile-arcs -ftest-coverage segfault in gcov_exit ()) PR 19985 * gcov-io.h: Declare gcov external functions hidden. From-SVN: r99109
Janis Johnson committed -
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Factor out common code. From-SVN: r99105
Kazu Hirata committed -
* tree-ssa-uncprop.c (equiv_hash_elt, remove_equivalence, record_equiv, tree_ssa_uncprop, uncprop_into_successor_phis): Use VEC instead of VARRAY. (equiv_free): New. From-SVN: r99104
Kazu Hirata committed -
2005-05-02 Paolo Bonzini <bonzini@gnu.org> * c-common.c (resolve_overloaded_builtin): Forward to target hook for BUILT_IN_MD built-ins. * c-typeck.c (finish_call_expr): Call resolve_overloaded_builtin for all types of built-in. * target-def.h (TARGET_RESOLVE_OVERLOADED_BUILTIN): New. Use it in the definition of the target hooks struct. * target.h (struct gcc_target): Add resolve_overloaded_builtin. * config/rs6000/altivec.h: Rewritten. * config/rs6000/rs6000-c.c (struct altivec_builtin_types, altivec_resolve_overloaded_builtin, altivec_build_resolved_builtin, rs6000_builtin_type, rs6000_builtin_type_compatible, altivec_overloaded_builtins, rs6000_builtin_type, rs6000_builtin_type_compatible): New. * config/rs6000/rs6000.c (rs6000_builtin_types, rs6000_builtin_decls): New. (def_builtin): Turn into a function. Check for duplicates and store the builtin into rs6000_builtin_decls. (bdesc_3arg, bdesc_dst, bdesc_altivec_preds, bdesc_2arg, bdesc_1arg): Add overloaded builtins. (altivec_expand_builtin): Check for unresolved overloaded builtins, do not support ALTIVEC_COMPILETIME_ERROR. (rs6000_init_builtins): Add opaque 128-bit vector, and internal nodes to represent front-end types. (altivec_init_builtins, rs6000_common_init_builtins): Create builtins with opaque arguments and/or return values. * config/rs6000/rs6000.h (enum rs6000_builtins): Remove ALTIVEC_COMPILETIME_ERROR and add Altivec overloaded builtins. (rs6000_builtin_type_index): New. (is_ev64_opaque_type): Rename to... (rs6000_is_opaque_type): ... this. (rs6000_cpu_cpp_builtins): Install the resolve_overloaded_builtin target hook. cp: 2005-05-02 Paolo Bonzini <bonzini@gnu.org> * semantics.c (finish_call_expr): Call resolve_overloaded_builtin for BUILT_IN_MD built-ins. testsuite: 2005-05-02 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/altivec-3.c (vec_store): Do not use the old __builtin_altivec_st_internal_4si built-in. From-SVN: r99103
Paolo Bonzini committed -
PR c++/15875 * g++.dg/template/ptrmem14.C: New test. From-SVN: r99100
Mark Mitchell committed -
* function.c (reorder_blocks, reorder_blocks_1): Use VEC instead of VARRAY. From-SVN: r99099
Kazu Hirata committed -
* config/bfin/bfin.c (emit_link_insn, effective_address_32bit_p, print_address_operand, print_operand, legitimize_pic_address, asm_conditional_branch, bfin_gen_compare, output_push_multiple, output_pop_multiple): Use gcc_assert or gcc_unreachable as appropriate. * config/bfin/bfin.md (movsf splitter, beq, bne): Likewise. Co-Authored-By: Bernd Schmidt <bernd.schmidt@analog.com> From-SVN: r99096
Nathan Sidwell committed -
2005-05-02 Paul Brook <paul@codesourcery.com> * gcc.c-torture/execute/20000523-1.c: Fix bytes/bits thinko. From-SVN: r99095
Paul Brook committed -
From-SVN: r99094
Dorit Naishlos committed -
* tree-scalar-evolution.c (get_exit_conditions_rec, select_loops_exit_conditions, number_of_iterations_for_all_loops, analyze_scalar_evolution_for_all_loop_phi_nodes, scev_analysis): Use VEC instead of VARRAY. From-SVN: r99093
Kazu Hirata committed -
PR c++/19542 * c-common.c (c_common_nodes_and_builtins): Create global null_node. (warn_strict_null_sentinel): Define. (check_function_sentinel): Check for null_node as valid sentinel too. * c-common.h (c_tree_index): Added CTI_NULL. (null_node) Define global_tree[CTI_NULL]. (warn_strict_null_sentinel): Declare. * c-opts.c: (c_common_handle_option): Handle -Wstrict-null-sentinel. * c.opt: (Wstrict-null-sentinel): New C++ option. * doc/invoke.texi (C++ Options): Document -Wstrict-null-sentinel. * cp-tree.h (cp_tree_index): Remove CPTI_NULL, to be defined in C common frontend. (null_node): Remove. * lex.c (cxx_init): Move null_node initialisation to C common frontend. * g++.dg/warn/sentinel.C: New testcase for __null sentinels added. From-SVN: r99091
Michael Matz committed -
[[Split portion of a mixed commit.]] From-SVN: r99089.2
GCC Administrator committed
-
- 01 May, 2005 14 commits
-
-
* dwarf2out.c (decl_scope_table, push_decl_scope, pop_decl_scope, scope_die_for, dwarf2out_init): Use VEC instead of VARRAY. From-SVN: r99086
Kazu Hirata committed -
From-SVN: r99085
Kazu Hirata committed -
* gimplify.c (gimplify_compound_lval): Use VEC instead of VARRAY. From-SVN: r99083
Kazu Hirata committed -
2005-05-01 Mark Mitchell <mark@codesourcery.com> PR C++/14391 * c-cppbuiltin.c (c_cpp_builtins): Do not define __GXX_WEAK__ to 1 if !flag_weak. * doc/cpp.texi (__DEPRECATED): Document. (__EXCEPTIONS): Likewise. (__GXX_WEAK__): Likewise. From-SVN: r99082
Andrew Pinski committed -
* c-cppbuiltin.c (c_cpp_builtins): Do not define __GXX_WEAK__ to 1 if !flag_weak. * doc/cpp.texi (__DEPRECATED): Document. (__EXCEPTIONS): Likewise. (__GXX_WEAK__): Likewise. * g++.dg/cpp/weak.C: New test. From-SVN: r99080
Mark Mitchell committed -
* function.c (INVOKE__main): Do not define. (expand_main_function): Check HAS_INIT_SECTION when determining whether or not to call __main. From-SVN: r99076
Mark Mitchell committed -
2005-05-01 Paolo Carlini <pcarlini@suse.de> * config/os/aix/os_defines.h: Remove obsolete __off_t, __off64_t, __ssize_t defines. * config/os/djgpp/os_defines.h: Likewise. * config/os/hpux/os_defines.h: Likewise. * config/os/irix/irix5.2/os_defines.h: Likewise. * config/os/irix/irix6.5/os_defines.h: Likewise. * config/os/solaris/solaris2.5/os_defines.h: Likewise. * config/os/solaris/solaris2.6/os_defines.h: Likewise. * config/os/solaris/solaris2.7/os_defines.h: Likewise. * docs/html/17_intro/porting.html: Don't discuss the defines. * docs/html/17_intro/porting.texi: Likewise. From-SVN: r99072
Paolo Carlini committed -
From-SVN: r99071
Kazu Hirata committed -
2005-01-05 Paul Brook <paul@codesourcery.com> * config/arm/arm.h (ARM_EMIT_TRAMPOLINE_CACHE_CLEAR): Define. (INITIALIZE_TRAMPOLINE): Use it. * config/arm/linux-gas.h (INITIALIZE_TRAMPOLINE): Remove. * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Remove. * config/arm/netbsd-elf.h (INITIALIZE_TRAMPOLINE): Remove. From-SVN: r99068
Paul Brook committed -
* doc/install.texi (Specific): Omit dots in the @anchors names for i?86-*-sco3.2v5*, i?86-*-solaris2.10, and sparc-sun-solaris2.7. Omit underscores for x86_64-*-* and the "all ELF targets" entry. From-SVN: r99067
Gerald Pfeifer committed -
From-SVN: r99064
Joseph Myers committed -
PR tree-optimization/18316 PR tree-optimization/19126 * tree.c (build_int_cst_type): Avoid shift by size of type. * tree-scalar-evolution.c (simple_iv): Add allow_nonconstant_step argument. * tree-scalar-evolution.h (simple_iv): Declaration changed. * tree-ssa-loop-ivopts.c (struct iv_cand): Add depends_on field. (dump_cand): Dump depends_on information. (determine_biv_step): Add argument to simple_iv call. (contains_abnormal_ssa_name_p): Handle case expr == NULL. (find_bivs, find_givs_in_stmt_scev): Do not require step to be a constant. (add_candidate_1): Record depends_on for candidates. (tree_int_cst_sign_bit, constant_multiple_of): New functions. (get_computation_at, get_computation_cost_at, may_eliminate_iv): Handle ivs with nonconstant step. (iv_ca_set_remove_invariants, iv_ca_set_add_invariants): New functions. (iv_ca_set_no_cp, iv_ca_set_cp): Handle cand->depends_on. (create_new_iv): Unshare the step before passing it to create_iv. (free_loop_data): Free cand->depends_on. (build_addr_strip_iref): New function. (find_interesting_uses_address): Use build_addr_strip_iref. (strip_offset_1): Split the recursive part from strip_offset. Strip constant offset component_refs and array_refs. (strip_offset): Split the recursive part to strip_offset_1. (add_address_candidates): Removed. (add_derived_ivs_candidates): Do not use add_address_candidates. (add_iv_value_candidates): Add candidates with stripped constant offset. Consider all candidates with initial value 0 important. (struct affine_tree_combination): New. (aff_combination_const, aff_combination_elt, aff_combination_scale, aff_combination_add_elt, aff_combination_add, tree_to_aff_combination, add_elt_to_tree, aff_combination_to_tree, fold_affine_sum): New functions. (get_computation_at): Use fold_affine_sum. * tree-ssa-loop-manip.c (create_iv): Handle ivs with nonconstant step. * tree-ssa-loop-niter.c (number_of_iterations_exit): Add argument to simple_iv call. * gcc.dg/tree-ssa/loop-8.c: New test. From-SVN: r99059
Zdenek Dvorak committed -
* config/i386/i386.md (movmemsi): Also active when TARGET_INLINE_ALL_STRINGOPS. * gcc.dg/inline-mcpy.c: New test. From-SVN: r99054
Michael Matz committed -
[[Split portion of a mixed commit.]] From-SVN: r99052.2
GCC Administrator committed
-
- 30 Apr, 2005 1 commit
-
-
2005-04-30 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18958 libgfortran.h: Change typedef of index_type from size_t to ssize_t. 2005-04-30 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18958 * gfortran.dg/eoshift.f90: New test case. From-SVN: r99047
Thomas Koenig committed
-