- 03 Mar, 2005 5 commits
-
-
From-SVN: r95825
Hans-Peter Nilsson committed -
* config/cris/cris.c (cris_md_asm_clobbers): New function. (TARGET_MD_ASM_CLOBBERS): Define to cris_md_asm_clobbers. (cris_conditional_register_usage): Enable CRIS_MOF_REGNUM if TARGET_HAS_MUL_INSNS. (cris_print_operand) <case 'd'>: New case. <case REG>: Allow CRIS_MOF_REGNUM and CRIS_SRP_REGNUM. * config/cris/cris.h (CRIS_PC_REGNUM, CRIS_SRP_REGNUM): Don't define. (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS) (REG_ALLOC_ORDER): Update for MOF. (enum reg_class): New members MOF_REGS, GENERAL_REGS and SPECIAL_REGS. (GENERAL_REGS): No longer a define of ALL_REGS. (REGNO_REG_CLASS, REG_CLASS_CONTENTS, REG_CLASS_NAMES) (PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER): Adjust accordingly. (CRIS_SPECIAL_REGS_CONTENTS): New macro. (REG_CLASS_FROM_LETTER): Allocate 'h' and 'x'. (SECONDARY_RELOAD_CLASS): Define. (STACK_POINTER_REGNUM): Define as CRIS_SP_REGNUM. (FRAME_POINTER_REGNUM): Define as CRIS_FP_REGNUM. (ARG_POINTER_REGNUM): Define as CRIS_AP_REGNUM. (STATIC_CHAIN_REGNUM): Define as CRIS_STATIC_CHAIN_REGNUM. (REGISTER_MOVE_COST): Define. (PIC_OFFSET_TABLE_REGNUM): Define in terms of CRIS_GOT_REGNUM. * config/cris/cris.md (CRIS_GOT_REGNUM, CRIS_STATIC_CHAIN_REGNUM) (CRIS_FP_REGNUM, CRIS_SP_REGNUM, CRIS_SRP_REGNUM, CRIS_AP_REGNUM) (CRIS_MOF_REGNUM): New define_constants. ("*movsi_internal", "movhi", "movqi", "movsf"): Add alternatives for special registers. ("reload_inhi", "reload_outhi", "reload_inqi", ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3") ("mulsidi3", "umulsidi3", "smulsi3_highpart", "umulsi3_highpart"): Adjust for MOF being properly described as a register. (indir_to_reg_split): Name this split. Conditionalize on the destination register being a general register. (movei): Conditionalize on on operands 0 and 1 having the same register class. From-SVN: r95823
Hans-Peter Nilsson committed -
PR target/20277 * config/rs6000/rs6000.c (rs6000_override_options): Don't allow -mcpu to override any other explicitly given flags. From-SVN: r95820
Alan Modra committed -
* jcf-io.c (caching_stat): Use __extension__ to avoid pedantic warning. * Make-lang.in: Don't elide warnings in jcf-io.c. From-SVN: r95819
Kaveh R. Ghazi committed -
From-SVN: r95817
GCC Administrator committed
-
- 02 Mar, 2005 23 commits
-
-
* recog.c (verify_changes, confirm_change_group): New functions, broken out of apply_change_group. (apply_change_group): Use them. * recog.h (verify_change, confirm_change_group): Declare. * rtl.h (redirect_jump_2): Declare. * jump.c (redirect_exp, invert_exp): Delete. (invert_exp_1): Take second parameter. Return value. Changed caller. (redirect_jump_2): New function, broken out of redirect_jump. (redirect_jump): Use redirect_jump_1 and redirect_jump_2. (invert_jump): Use invert_jump_1 and redirect_jump_2. * ifcvt.c (dead_or_predicable): Use redirect_jump_2. From-SVN: r95813
J"orn Rennecke committed -
* varasm.c (named_section): Use xstrdup rather than doing it by hand. From-SVN: r95812
Geoffrey Keating committed -
From-SVN: r95805
Geoffrey Keating committed -
From-SVN: r95803
Devang Patel committed -
gcc/cp/ChangeLog: * name-lookup.c (push_overloaded_decl): Don't error if the new decl matches the old one. * decl.c (redeclaration_error_message): Likewise. gcc/testsuite/ChangeLog: * g++.dg/overload/using2.C: New. From-SVN: r95798
Alexandre Oliva committed -
PR tree-optimization/18815 * tree-if-conv.c (combine_blocks): Adjust loop header edges for loops with zero exit edges. From-SVN: r95796
Devang Patel committed -
2005-03-02 David Ayers <d.ayers@inode.at> PR libobjc/19024 * Makefile.in (OBJS): Add hash_compat.lo. (OBJS_GC): Add hash_compat_gc.lo. (hash_compat_gc.lo): New target and rule. * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove) (hash_next, hash_value_for_key, hash_is_key_in_hash) (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix with objc_. Add deprecated non prefixed inlined versions. (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated declarations. * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next) (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and update callers. * hash_compat.c: New file. * archive.c: Update callers. * init.c: Likewise. * selector.c: Likewise. * libobjc.def: Add objc_ versions of hash functions. From-SVN: r95793
David Ayers committed -
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call free_dominance_info only when needed. From-SVN: r95791
Kazu Hirata committed -
* cfg.c (connect_src, connect_dest, disconnect_src, disconnct_dest): New. (unchecked_make_edge, remove_edge, redirect_edge_succ, redirect_edge_pred): Use the new functions. From-SVN: r95790
Kazu Hirata committed -
PR target/20276 * config/rs6000/predicates.md (reg_or_cint64_operand): Fix typo. (reg_or_sub_cint64_operand): Same. From-SVN: r95789
David Edelsohn committed -
tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of CFG_ALTERED in the main DOM iteration loop. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of CFG_ALTERED in the main DOM iteration loop. From-SVN: r95788
Jeff Law committed -
PR c++/19916 * varasm.c (initializer_constant_valid_p): Allow conversions between OFFSET_TYPEs. Tidy. PR c++/19916 * g++.dg/init/ptrmem2.C: New test. From-SVN: r95787
Mark Mitchell committed -
* config/cris/cris.md ("return"): Remove epilogue delay list sanity check. From-SVN: r95786
Hans-Peter Nilsson committed -
* config/arm/linux-elf.h (ARM_FUNCTION_PROFILER): Do not use (PLT) for Thumb. * config/arm/netbsd-elf.h (ARM_FUNCTION_PROFILER): Likewise. From-SVN: r95785
Daniel Jacobowitz committed -
* fold-const.c (fold_unary): New. (fold): Call fold_unary on unary expressions. From-SVN: r95783
Kazu Hirata committed -
PR middle-end/18029 and PR middle-end/18030 * expr.c (optimize_bitfield_assignment_op): Add a special case to handle BIT_IOR_EXPR and BIT_XOR_EXPR. From-SVN: r95782
Kazu Hirata committed -
* cfgloop.h, cfgloopanal.c, cfgloopmanip.c, conflict.c, loop-init.c, loop-unroll.c, print-tree.c, reg-notes.def, config/m68k/m68k.c, config/mips/mips.h, config/rs6000/rs6000-protos.h, doc/contrib.texi, doc/include/gcc-common.texi: Update copyright. From-SVN: r95781
Kazu Hirata committed -
2005-03-02 Douglas Gregor <doug.gregor@gmail.com> * include/tr1/functional (_Has_result_type): Cleanup. (_Result_of_impl): Handle member data pointers correctly. (reference_wrapper): Support invocation. Move repetition code into new file include/tr1/repeat.h. * include/tr1/functional_iterate.h (reference_wrapper): Support invocation. Cleanup long lines. * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare invocation operators. * include/tr1/repeat.h: Code repetition header. * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: New test of reference_wrapper invocation. * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc: New test of reference_wrapper typedefs and base classes. * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup (e-mail address). 2005-03-02 Douglas Gregor <doug.gregor@gmail.com> * include/tr1/function (result_of): New class template. * include/tr1/functional/iterator.h: Implementation of TR1 result_of. * testsuite/tr1/3_function_objects/result_of.cc: New test From-SVN: r95778
Douglas Gregor committed -
2005-03-02 Richard Guenther <rguenth@gcc.gnu.org> * cgraph.h (struct cgraph_edge): Add prev_caller and prev_callee fields. (cgraph_node_remove_callees): Export. * cgraph.c (cgraph_create_edge): Initialize prev_caller and prev_callee. (cgraph_edge_remove_callee): New function. (cgraph_edge_remove_caller): Likewise. (cgraph_remove_edge): Use. (cgraph_redirect_edge_callee): Likewise. (cgraph_node_remove_callees): New function. (cgraph_node_remove_callers): Likewise. (cgraph_remove_node): Use. * tree-optimize.c (tree_rest_of_compilation): Use cgraph_node_remove_callees instead of manual loop. * cgraphunit.c (cgraph_finalize_function): Likewise. (cgraph_expand_function): Likewise. (cgraph_remove_unreachable_nodes): Likewise. From-SVN: r95777
Richard Guenther committed -
From-SVN: r95774
Vladimir Merzliakov committed -
PR c/8927 * c-tree.h (undeclared_variable, build_external_ref): Add extra argument. * c-decl.c (undeclared_variable): Take location as argument. * c-typeck.c (build_external_ref): Likewise. * c-parser.c (c_parser_postfix_expression): Pass location of identifier to build_external_ref. testsuite: * gcc.dg/pr8927-1.c: New test. From-SVN: r95773
Joseph Myers committed -
* decl.c (finish_function): Use SET_EXPR_LOCATION instead of unavailable annotate_with_file_line, if USE_MAPPED_LOCATION. From-SVN: r95772
Per Bothner committed -
From-SVN: r95770
GCC Administrator committed
-
- 01 Mar, 2005 12 commits
-
-
2005-03-01 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, include/Makefile.in: Regenerate. From-SVN: r95762
Kelley Cook committed -
PR libgcj/20160 * ltmain.sh: Avoid creating archives with components that have duplicate basenames. From-SVN: r95756
Alexandre Oliva committed -
rs6000.md (cceq splitter): Use operand mode, not CCEQ mode for branch_positive_comparison_operator test. * config/rs6000/rs6000.md (cceq splitter): Use operand mode, not CCEQ mode for branch_positive_comparison_operator test. * config/rs6000/predicates (branch_comparison_operator): Revert to define_predicate. (scc_comparison_operator): Same. (branch_positive_comparison_operator): Same. From-SVN: r95755
David Edelsohn committed -
(cris_delay_slots_for_epilogue): Remove. (save_last): Move into cris_target_asm_function_epilogue. (cris_target_asm_function_epilogue): Remove tests for file being NULL. * config/cris/cris-protos.h (cris_eligible_for_epilogue_delay) (cris_delay_slots_for_epilogue): Remove prototypes. * config/cris/cris.h (DELAY_SLOTS_FOR_EPILOGUE) (ELIGIBLE_FOR_EPILOGUE_DELAY): Do not define. From-SVN: r95754
Hans-Peter Nilsson committed -
* config/rs6000/predicates.md (branch_comparison_operator): Change to define_special_predicate. (scc_comparison_operator): Same. (branch_positive_comparison_operator): Same. From-SVN: r95752
David Edelsohn committed -
From-SVN: r95751
Daniel Berlin committed -
2005-03-01 Daniel Berlin <dberlin@dberlin.org> * Makefile.in (tree-ssa-sink.o): New. (OBJS-common): Add tree-ssa-sink.o. * common.opt: Add -ftree-sink * opts.c (decode_options): flag_tree_sink is set at O1 or higher. * timevar.def (TV_TREE_SINK): new timevar. * tree-flow.h (is_hidden_global_store): Prototype. * tree-optimize.c (init_tree_optimization_passes): Add pass_sink_code. * tree-pass.h (pass_sink_code): New. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking for non-obvious global store store to is_hidden_global_store, and call that new function. * tree-ssa-sink.c: New file. * doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink. * doc/passes.texi: Document forward store motion. * testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test * testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test * testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test * testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test From-SVN: r95750
Daniel Berlin committed -
PR java/8608 * check-init.c (wfl): Remove static. (final_assign_error, check_init): Replace calls to parse_error_context by plain error. (check_init): Save, set, and restore input_location for each exp. From-SVN: r95749
Per Bothner committed -
jcf-reader.c (get_attribute): Handle SourceDebugExtension (JSR 45) if HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE... * jcf-reader.c (get_attribute): Handle SourceDebugExtension (JSR 45) if HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE is defined. From-SVN: r95748
Per Bothner committed -
* java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro. Also improve commenst for IDENTIFIER_CLASS_VALUE. From-SVN: r95747
Per Bothner committed -
diagnostic.c (diagnostic_build_prefix): If USE_MAPPED_LOCATION and we have a non-zero column-number, add it to the message. * diagnostic.c (diagnostic_build_prefix): If USE_MAPPED_LOCATION and we have a non-zero column-number, add it to the message. Also factor out the diagnostic_kind_text. From-SVN: r95746
Per Bothner committed -
From-SVN: r95742
Hans-Peter Nilsson committed
-