- 03 Jun, 2005 7 commits
-
-
PR java/21722: * class.c (build_static_field_ref): Don't fold constant fields if current class is from a .class file and we're using indirect dispatch. From-SVN: r100533
Tom Tromey committed -
PR tree-optimization/21849 * tree-ssa-copy.c (dump_copy_of): Call sbitmap_zero. From-SVN: r100531
Kazu Hirata committed -
From-SVN: r100530
Richard Henderson committed -
* Makefile.in (tree-vect-generic.o): New. (OBJS-common, GTFILES, s-gtype): Add it. * tree-complex.c (build_replicated_const, vector_inner_type, vector_last_type, vector_last_nunits, build_word_mode_vector_type, elem_op_func, tree_vec_extract, do_unop, do_binop, do_plus_minus, do_negate, expand_vector_piecewise, expand_vector_parallel, expand_vector_addition, expand_vector_operation, type_for_widest_vector_mode, expand_vector_operations_1, gate_expand_vector_operations, expand_vector_operations, pass_lower_vector_ssa): Move to tree-vect-generic.c. (tree_lower_complex): Rename from tree_lower_operations. (pass_lower_complex): Rename from pass_pre_expand. * tree-vect-generic.c: New file. * tree-pass.h (pass_lower_complex): Rename from pass_pre_expand. (pass_lower_vector): New. * tree-optimize.c (init_tree_optimization_passes): Update to match. From-SVN: r100529
Richard Henderson committed -
* modulo-sched.c (doloop_register_get): Protect against doloop_end not defined. From-SVN: r100528
Richard Henderson committed -
* config.sub: Add cases for the Renesas m32c. (This patch has been accepted into the master sources.) From-SVN: r100527
Jim Blandy committed -
[[Split portion of a mixed commit.]] From-SVN: r100525.2
GCC Administrator committed
-
- 02 Jun, 2005 33 commits
-
-
* config/sh/sh.c (general_movsrc_operand, general_movdst_operand, arith_reg_operand, arith_reg_dest, logical_reg_operand, int_gpr_dest, fp_arith_reg_operand, fp_arith_reg_dest, arith_operand, arith_reg_or_0_operand, xor_operand, cmp_operand, logical_operand, and_operand, fpscr_operand, fpul_operand, symbol_ref_operand, commutative_float_operator, noncommutative_float_operator, unary_float_operator, binary_float_operator, binary_logical_operator, equality_comparison_operator, greater_comparison_operator, less_comparison_operator, shift_operator, logical_operator, target_reg_operand, target_operand, mextr_bit_offset, extend_reg_operand, trunc_hi_operand, extend_reg_or_0_operand, minuend_operand, general_extend_operand, ua_address_operand, cache_address_operand, inqhi_operand, sh_rep_vec, sh_1el_vec, sh_const_vec, ua_offset, sh_register_operand, cmpsi_operand, shift_count_reg_operand, shift_count_operand, unaligned_load_operand): Move to ... * config/sh/predicates.md: ... here. * config/sh/sh.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove. From-SVN: r100523
Kazu Hirata committed -
2005-06-03 Andrew Pinski <pinskia@physics.uc.edu> * trans.c (gnat_gimplify_expr): Call recompute_tree_invarant_for_addr_expr when we change the operand of the ADDR_EXPR. From-SVN: r100522
Andrew Pinski committed -
2005-06-03 Andrew Pinski <pinskia@physics.uc.edu> * tree.c (build_common_builtin_nodes): Fix the return type on __builtin_memcmp. From-SVN: r100520
Andrew Pinski committed -
2005-06-03 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Remove. (find_interesting_uses_address): Use build_fold_addr_expr instead. (strip_offset_1): Likewise. (tree_to_aff_combination): Likewise. From-SVN: r100519
Richard Guenther committed -
* convert.c (convert_to_pointer): Avoid recursion if no conversion is needed. From-SVN: r100518
DJ Delorie committed -
2005-06-02 Richard Guenther <rguenth@gcc.gnu.org> * tree-chrec.c (chrec_fold_plus_1): Ensure we build binary operations with the correct types. * tree-ssa-loo-ivopts.c (idx_find_step): Use sizetype for all computation. From-SVN: r100517
Richard Guenther committed -
* tree-vrp.c, config/arm/arm.md, config/arm/arm1020e.md, config/rs6000/rs6000.md: Fix comment typos. Follow splling conventions. * doc/install.texi: Fix a typo. From-SVN: r100516
Kazu Hirata committed -
2005-05-31 Geoffrey Keating <geoffk@geoffk.org> * config/rs6000/rs6000.md (sync_boolcshort_internal): New. * config/rs6000/rs6000.c (rs6000_emit_sync): Shift count must be complemented for big-endian. Mask for AND must be rotated, not shifted. Handle short operands with NOT on the memory operation. Index: testsuite/ChangeLog 2005-05-31 Geoffrey Keating <geoffk@geoffk.org> * lib/target-supports.exp (check_effective_target_sync_char_short): New. * gcc.dg/sync-2.c: New. From-SVN: r100515
Geoffrey Keating committed -
* cgraphunit.c (cgraph_function_and_variable_visibility): Extern inline functions are not local. From-SVN: r100514
Jan Hubicka committed -
* gimplify.c (gimplify_ctx): Change the type of case_labels to VEC from VARRAY. (gimplify_switch_expr, gimplify_case_label_expr): Adjust uses of case_labels. From-SVN: r100513
Kazu Hirata committed -
2005-06-02 Richard Guenther <rguenth@gcc.gnu.org> * c-typeck.c (build_indirect_ref): Build INDIRECT_REF with correct type. * gcc.dg/wtypequal.c: New testcase. From-SVN: r100512
Richard Guenther committed -
From-SVN: r100511
Nathan Sidwell committed -
* config/s390/s390.c (s390_add_execute): Do not handle out-of-pool execute templates. (s390_dump_pool): Likewise. (s390_mainpool_start, s390_mainpool_finish): Likewise. (s390_chunkify_start): Likewise. (s390_dump_execute): Remove. (s390_reorg): Handle out-of-pool execute templates. From-SVN: r100510
Ulrich Weigand committed -
* configure.in: Set noconfigdirs for ms1. * configure: Regenerate. Co-Authored-By: Michael Snyder <msnyder@redhat.com> Co-Authored-By: Stan Cox <scox@redhat.com> From-SVN: r100509
Aldy Hernandez committed -
2005-06-02 Adrian Straetling <straetling@de.ibm.com> * optabs.c: (expand_bool_compare_and_swap): Emit barrier after unconditional jump. From-SVN: r100508
Adrian Straetling committed -
* cgraph.c (cgraph_node): Maintain master clones. (cgraph_remove_node): Likewise. (availability_names): New static variable. (dump_cgraph_node): Dump availability. (dump_cgraph_varpool_node): Likewise. (cgraph_is_master_clone, cgraph_master_clone, cgraph_function_body_availability, cgraph_variable_initializer_availability): New functions. * cgraph.h (availability): New enum. (struct cgraph_node): Add master_clone. (cgraph_is_master_clone, cgraph_master_clone, cgraph_function_body_availability, cgraph_variable_initializer_availability): Declare. * cgraphunit.c (cgraph_expand_function): Setcgraph_function_flags_ready. (cgraph_remove_unreachable_nodes): Remove unreachable nodes. * ipa-inline.c (cgraph_decide_inlining): Do not call cgraph_remove_unreachable_nodes. From-SVN: r100507
Jan Hubicka committed -
* cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in previous patch. From-SVN: r100506
Jan Hubicka committed -
re PR tree-optimization/21582 ((optimisation) VRP pass could/should use non-null function attribute) PR 21582 * tree-vrp.c (nonnull_arg_p): New. (get_value_range): Call it. testsuite/ChangeLog PR 21582 * gcc.dg/tree-ssa/pr21582.c: New test. From-SVN: r100505
Diego Novillo committed -
2005-06-03 Andreas Tobler <a.tobler@schweiz.ch> * jawt.c: Remove malloc.h, covered by stdlib.h. * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence the build process. From-SVN: r100504
Andreas Tobler committed -
2005-06-02 Eric Christopher <echristo@redhat.com> * config/mips/mips.h (processor_type): Remove PROCESSOR_DEFAULT, add PROCESSOR_MAX. (mips_rtx_cost_data): New datatype. (MEMORY_MOVE_COST): Use data from structure. (BRANCH_COST): Ditto. (LOGICAL_OP_NON_SHORT_CIRCUIT): Define to zero. * config/mips/mips.md (cpu): Rework for processor_type changes. * config/mips/mips.c (mips_cost): New variable. (DEFAULT_COSTS): Define. (mips_rtx_cost_data): New. (mips_rtx_costs): Use. Minor formatting changes. Use COSTS_N_INSNS for NEG cost. Add support for FLOAT, UNSIGNED_FLOAT, FIX, FLOAT_EXTEND, FLOAT_TRUNCATE, and SQRT. (override_options): Set cost data. (mips_register_move_cost): Formatting changes. (bdesc_arrays): Use PROCESSOR_MAX. (mips_init_builtins): Ditto. From-SVN: r100503
Eric Christopher committed -
cp: PR c++/21280 * Make-lang.in (method.o): Add diagnostic.h * decl.c (start_preparsed_function): Use decl's location for file info. * decl2.c (cp_finish_file): Set input_location before synthesizing a function. (mark_used): When deferring a synthesized function, save current location. Do not set function's location when actually synthesizing it. * method.c: #include diagnostic.h. (synthesize_method): Set the functions source location. Show needed location if errors are emitted. testsuite: PR c++/21280 * g++.dg/opt/interface2.h: New. * g++.dg/opt/interface2.C: New. * g++.dg/init/ctor4.C: Adjust error lines. * g++.old-deja/g++.bob/inherit2.C: Likewise. * g++.old-deja/g++.bugs/900205_04.C: Likewise. * g++.old-deja/g++.jason/opeq3.C: Likewise. * g++.old-deja/g++.pt/assign1.C: Likewise. * g++.old-deja/g++.pt/crash20.C: Likewise. From-SVN: r100500
Nathan Sidwell committed -
PR c++/21280 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. From-SVN: r100499
Nathan Sidwell committed -
From-SVN: r100496
Keith Seitz committed -
PR 21765 * doc/invoke.texi: Document -ftree-vrp. From-SVN: r100495
Diego Novillo committed -
PR tree-optimization/21734 * tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop): Use the phi_result when current_def is not available. (slpeel_update_phi_nodes_for_guard1): Don't fail if current_def is not available. From-SVN: r100494
Dorit Nuzman committed -
* config/rs6000/rs6000.c (rs6000_insn_valid_within_doloop): New. (TARGET_INSN_VALID_WITHIN_DOLOOP): Define. From-SVN: r100493
David Edelsohn committed -
From-SVN: r100492
Diego Novillo committed -
* cgraph.c (dump_cgraph_node): Print new flags. (dump_cgraph_varpool_node): Likewise. (decide_variable_is_needed): Initialize externally_visible flag. * cgraph.h (cgraph_local_info): Add externally_visible flag. (cgraph_varpool_node): Likewise. (cgraph_function_flags_ready): Declare. * cgraph.c (cgraph_mark_local_functions): Rename to ... (cgraph_function_and_variable_visibility) ... this one; handle externally_visible flags. (decide_is_function_needed): Set externally_visible flag. (cgraph_finalize_function): Deal properly with early cleanups. (cgraph_optimize): Update call of cgraph_function_and_variable_visibility. From-SVN: r100491
Jan Hubicka committed -
> 2005-06-02 Steven Bosscher <stevenb@suse.de> > Mostafa Hagog <mustafa@il.ibm.com> > > * cfgloop.h (doloop_condition_get): Make external. > * loop-doloop.c (doloop_condition_get): Generalize to make it > usable in modulo-sched.c. > * modulo-sched.c (doloop_register_get): Use > doloop_condition_get instead of duplicating it. Co-Authored-By: Mostafa Hagog <mustafa@il.ibm.com> From-SVN: r100490
Steven Bosscher committed -
* decl.c (start_decl): Simplify specialization handling. Remove unneeded CLASSTYPE_TEMPLATE_INSTANTIATION check. * mangle.c (discriminator_for_local_entity): Use VEC_index. From-SVN: r100488
Nathan Sidwell committed -
cp: PR c++/20350 * decl.c (duplicate_decls): Copy all of DECL_USE_TEMPLATE. testsuite: PR c++/20350 * g++.dg/template/spec24.C: New. From-SVN: r100486
Nathan Sidwell committed -
* local-alloc.c (update_equiv_regs): When substituting sole definition into sole use of a reg, delete it from liveness information. From-SVN: r100483
Bernd Schmidt committed -
cp: PR c++/21151 * name-lookup.c (pushtag): Push local class even in a template. testsuite: PR c++/21151 * g++.dg/pch/local-1.C: New. * g++.dg/pch/local-1.Hs: New. From-SVN: r100482
Nathan Sidwell committed
-