- 26 Nov, 2004 32 commits
-
-
* target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'. * target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0. (TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC. * dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move to a fixed reg if the source is the Return Address register. Implement new Rule 15. * doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC. * config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to sparc_dwarf_handle_frame_unspec. (gen_save_register_window): New function. (emit_stack_pointer_increment): Rename into gen_stack_pointer_inc. (emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec. (expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement. Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns. (sparc_asm_function_prologue): Do not emit call frame debugging info. (emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement. (sparc_expand_epilogue): Likewise. (sparc_dwarf_handle_frame_unspec): New function. * config/sparc/sparc.md (save_register_window): Remove. (save_register_windowdi): Rewrite modelled on the callframe debug info. (save_register_windowsi): Likewise. From-SVN: r91346
Eric Botcazou committed -
* config/frv/frv-protos.h: Guard ifcvt functions declarations with BB_HEAD, not BLOCK_HEAD. From-SVN: r91345
Alexandre Oliva committed -
frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point. * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point. From-SVN: r91344
Alexandre Oliva committed -
2004-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR java/18305 * decl.c (end_java_method): Call attach_init_test_initialization_flags on all the init_decls. * parse.y (attach_init_test_initialization_flags): Move to ... * expr.c (attach_init_test_initialization_flags): here and support BIND_EXPR also. * java-tree.h (attach_init_test_initialization_flags): Prototype. * jcf-parse.c (parse_class_file): Don't disable class init optimization. From-SVN: r91343
Andrew Pinski committed -
Friend class name lookup 4/n * class.c (pushclass): Don't call cxx_remember_type_decls. * cp-tree.h (clear_anon_tags): Remove declaration. * decl.c (grokdeclarator): Don't call lookup_tag_reverse. * name-lookup.c (binding_entry_free, binding_table_free): Comment out functions. (binding_table_find_anon_type, binding_table_reverse_maybe_remap, binding_table_remove_anonymous_types, cxx_remember_type_decls, bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag, lookup_tag_reverse): Remove (begin_scope, leave_scope, kept_level_p, print_binding_level): Don't use type_decls field in cp_binding_level. (maybe_process_template_type_declaration, pushtag): Set CLASSTYPE_NESTED_UTDS directly. * name-lookup.h (binding_table_remove_anonymous_types, cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove declaration. (cp_binding_level): Remove type_decls field. From-SVN: r91342
Kriang Lerdsuwanakij committed -
From-SVN: r91341
Kazu Hirata committed -
From-SVN: r91340
Kazu Hirata committed -
From-SVN: r91339
Kazu Hirata committed -
2004-11-26 James A. Morrison <phython@gcc.gnu.org> PR target/18510 * doc/extend.texi (SPARC VIS Built-in Functions): New section. From-SVN: r91338
James A. Morrison committed -
From-SVN: r91337
Richard Sandiford committed -
From-SVN: r91336
Richard Sandiford committed -
* bitmap.c (bitmap_find_bit): Speed up by traversing from head->first if that seems profitable. From-SVN: r91335
Kazu Hirata committed -
cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if all edges go to the same destination. * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if all edges go to the same destination. From-SVN: r91334
Kazu Hirata committed -
* timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars. * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT. (pass_loop_done): Use TV_TREE_LOOP_FINI. From-SVN: r91333
Jeff Law committed -
* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to dg-do directive. From-SVN: r91332
Ben Elliston committed -
From-SVN: r91331
Ben Elliston committed -
2004-11-26 Bryce McKinlay <mckinlay@redhat.com> Fix "PACKAGE_NAME redefined" errors. * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h and include/gc_config.h. * configure: Regenerated. * include/gc_config.h.in: No longer auto-generated. Define only the macros needed by libjava. * include/config.h.in: Generated by autoheader. * include/gc.h: Include config.h, not gc_config.h. From-SVN: r91330
Bryce McKinlay committed -
From-SVN: r91326
Alan Modra committed -
PR rtl-optimization/16356 * config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with separate output register and one less jump. Enable for powerpc64. (floatdisf2): Adjust for above. From-SVN: r91324
Alan Modra committed -
* config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0. (GCC_DRIVER_HOST_INITIALIZATION): Define. From-SVN: r91323
Bob Wilson committed -
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * testsuite/gcc.dg/pr17957.c: New test. 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * tree-complex.c (vector_inner_type): New variable moved from build_word_mode_vector_type. (vector_last_type): Likewise. (vector_last_nunits): Likewise. (build_word_mode_vector_type): Use the new variables. * Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H). (GTFILES): Add tree-complex.c. (gt-tree-complex.h): New rule, add it to the rest of the gt-* rules. From-SVN: r91322
Andrew Pinski committed -
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __XTENSA_WINDOWED_ABI__. From-SVN: r91321
Bob Wilson committed -
* gnu/gcj/util/natDebug.cc (getField): Don't qualify name. * java/lang/Class.h (_Jv_Linker): Declare. (Class): Fix names of friends. (_Jv_getInterfaceMethod): Declare. From-SVN: r91320
Tom Tromey committed -
* dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument. Save args_size adjustments for calls even with cfa as stack pointer. Search calls for stack adjustments after the insn is issued. (dwarf2out_frame_debug): Add after_p argument; pass it on. * dwarf2out.h (dwarf2out_frame_debug): Update to match. * final.c (final_start_function, final_scan_insn): Likewise. From-SVN: r91319
Richard Henderson committed -
PR c++/6764 * reload1.c (set_initial_eh_label_offset): New. (set_initial_label_offsets): Use it. From-SVN: r91318
Richard Henderson committed -
sh.c (sh_output_mi_thunk): Initialize bitmap obstacks before calling life_analysis and release them after. * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks before calling life_analysis and release them after. From-SVN: r91317
Kaz Kojima committed -
* tree-ssa-forwprop.c (substitute_single_use_vars): Remove duplicate code. From-SVN: r91316
Kazu Hirata committed -
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. (hppa*64*-*-*): Delete incorrect comment. * configure: Rebuilt. From-SVN: r91315
John David Anglin committed -
* testsuite/lib/libjava.exp (libjava_arguments): Add new global variable libjava_ld_library_path. (gcj_invoke, libjava_invoke): Use it to set ld_library_path. From-SVN: r91314
John David Anglin committed -
[[Split portion of a mixed commit.]] From-SVN: r91312.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r91311.2
GCC Administrator committed -
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> * bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE. From-SVN: r91309
Andrew Pinski committed
-
- 25 Nov, 2004 8 commits
-
-
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> parts of PR rtl-opt/18463, rtl-opt/17647 * cse.c (canon_for_address): New function. (find_best_addr): Call canon_for_address before getting the address's cost when checking if we should take that address. From-SVN: r91308
Andrew Pinski committed -
* tree-phinodes.c (add_phi_arg): Take "tree" instead of "tree *" as the first argument. * tree-flow.h: Update the prototype of add_phi_arg. * lambda-code.c, tree-cfg.c, tree-into-ssa.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c, tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c, tree-vectorizer.c: Update all call sites of add_phi_arg. From-SVN: r91307
Kazu Hirata committed -
* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove. * bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove. (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE. From-SVN: r91306
Nathan Sidwell committed -
2004-11-25 Andrew Macleod <amacleod@redhat.com> PR tree-optimization/18587 * tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag call clobbered caches as invalid. * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New. Flag indicating whether the call clobbered operand cache is valid. (ssa_ro_call_cache_valid): New. Flag indicating whether the pure/const call operand cache is valid. (clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New. cached list of operands for cached call virtual operands. (clobbered_aliased_loads, clobbered_aliased_stores, ro_call_aliased_load): New. flags caching whether alias bits are to be set in call stmt's. */ (fini_ssa_operands): Remove call operand caches if present. (get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands): Pass stmt annotation to add_stmt_operand. (get_call_expr_operands): Add call clobbered variables first. (add_stmt_operand): Take stmt annotation rather than stmt as a param. (add_call_clobber_ops, add_call_read_ops): Use the call operand cache if it is valid, otherise fill the cache. * tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern. * tree-flow.h (struct var_ann_d): Add in_vuse_list and in_v_may_def_list bits. * tree-ssa-operands.c (cleanup_v_may_defs): New. Clear the in_list bits for the v_may_def elements and empty the operand build array. (finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant VUSES by checking the in_v_may_def_list bit. (append_v_may_def, append_vuse): Use the in_list bit rather than scanning the array for duplicates. From-SVN: r91305
Andrew MacLeod committed -
2004-11-25 Bryce McKinlay <mckinlay@redhat.com> * java/util/ResourceBundle.java (BundleKey): Don't implement Cloneable. (BundleKey.clone): Removed. (getBundle): Copy BundleKey using constructor, not clone(). From-SVN: r91304
Bryce McKinlay committed -
* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF displacements are not short. From-SVN: r91303
Ulrich Weigand committed -
* config/s390/s390.c (legitimize_pic_address): Use s390_load_address to load addresses. From-SVN: r91302
Ulrich Weigand committed -
PR c++/18001 * c-common.h (lvalue_use): Move here from c-ctypeck.c. (lvalue_or_else): Declare. * c-common.c (lvalue_or_else): Move here from c-typeck.c. * c-typeck.c (lvalue_use): Remove. (lvalue_or_else): Remove. PR c++/18556 * toplev.c (check_global_declarations): Set DECL_IGNORED_P on unemitted variables with static storage duration. PR c++/18445 * class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with unknown_type as non matching. Tidy up. * pt.c (build_non_dependent_expr): Do not build a NON_DEPENDENT_EXPR for a VAR_DECL. PR c++/18001 * cp-tree.h (lvalue_or_else): Remove declaration. * tree.c (lvalue_or_else): Remove. * typeck.c (build_unary_op): Adjust call to lvalue_or_else. (build_modify_expr): Likewise. PR c++/18625 * decl.c (duplicate_decls): Return error_mark_node on error, as specified. PR c++/18466 * decl.c (grokvardecl): Keep track of whether or not a there was explicit qualification. * name-lookup.c (set_decl_namespace): Complain about explicit qualification of a name within its own namespace. PR c++/18545 * typeck.c (check_return_expr): Robustify. PR c++/18445 * g++.dg/template/crash28.C: Likewise. PR c++/18001 * g++.dg/expr/unary2.C: Adjust lvalue messages. * g++.dg/ext/lvaddr.C: Likewise. * g++.dg/opt/pr7503-3.C: Likewise. PR c++/18466 * g++.dg/parse/qualified3.C: New test. * g++.old-deja/g++.other/friend7.C: Remove bogus qualification. PR c++/18545 * g++.dg/expr/return1.C: New test. From-SVN: r91301
Mark Mitchell committed
-