- 17 Dec, 1999 4 commits
-
-
* regmove.c (optimize_reg_copy_1): Ignore LOOP notes. (optimize_reg_copy_2): Likewise. (optimize_reg_copy_3): Likewise. (fixup_match_2): Likewise. (regmove_optimize): Likewise. (fixup_match_1): Liekwise. From-SVN: r30987
Jan Hubicka committed -
* regmove.c (copy_src_to_dest): Remove loop_depth parameter. (optimize_reg_copy_1): Remove REG_N_REFS updating code. (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise. (regmove_optimize, fixup_match_1): Likewise. From-SVN: r30986
Jan Hubicka committed -
* i386.md (HI to SImode promoting splitters): Rewrite. (pushsf mem peep2): New. (testhi to andhi peep2): Remove. * i386.h (x86_promote_QImode): New. (TARGET_PROMOTE_QImode): New. (PREDICATE_CODES): Add promotable_binary_operator. * i386.c (x86_promote_QImode0: New. (promotable_binary_operator): New. * i386-protos.h (promotable_binary_operator): New. From-SVN: r30985
Jan Hubicka committed -
* i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify condition. (one_cmpl?i*): Pass "NOT" to unary_operator_ok. From-SVN: r30984
Jan Hubicka committed
-
- 16 Dec, 1999 19 commits
-
-
1999-12-16 Mark Mitchell <mark@codesourcery.com> * class.c (check_field_decls): Don't return a value. (avoid_overlap): Moved here from tree.c. (build_base_fields): Likewise. (check_bases): New function, split out from finish_base_struct. (check_bases_and_members): New function, split out from finish_struct_1. (struct base_info): Remove cant_have_default_ctor, cant_have_const_ctor, cant_have_asn_ref. (finish_base_struct): Split semantic analysis into check_bases. (finish_struct_methods): Fix bogus assertion. (check_field_decls): Call finish_struct_anon here. (build_vbase_pointer_fields): Use CLASSTYPE_N_BASECLASSES. (finish_struct_1): Use check_bases_and_members. Reorganize. * cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation. (build_base_fields): Don't declare. * tree.c (avoid_overlap): Remove. (build_base_fields): Likewise. From-SVN: r30983
Mark Mitchell committed -
* Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H. * function.c (insert_block_after_note): Remove. (retrofit_block): Likewise. (identify_blocks): Fix indentation. (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END. * function.h (insert_block_after_note): Remove prototype. (retrofit_block): Likewise. * integrate.c (expand_inline_function): Don't call find_loop_tree_blocks. Use expand_start_bindings_and_block, not just expand_start_bindings. Use the block_map to remap old NOTE_BLOCKs to new ones. (integrate_decl_tree): Keep track of remapped blocks. * integrate.h (struct inline_remap): Add block_map. * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set NOTE_BLOCK on the notes. (expand_start_bindings): Rename to ... (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK. (expand_end_bindings): Set NOTE_BLOCK. * toplev.c (rest_of_compilation): In function-at-a-time-mode, reconstruct the BLOCK tree. * tree.h (expand_start_bindings): Macroize. Call ... (expand_start_bindings_and_block): New function. * optimize.c (struct inline_data): Remove scope_stmt. (remap_block): Don't use insert_block_after_note. Don't update scope_stmt. (expand_call_inline): Don't update scope_stmt. (optimize_function): Don't initialize scope_stmt. * semantics.c (expand_stmt): Set NOTE_BLOCK for newly emitted NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END notes. From-SVN: r30982
Mark Mitchell committed -
* config/sparc/sparc.c (print_operand): Cast fprintf arguments to match the format. From-SVN: r30981
Jakub Jelinek committed -
* config/sparc/sparc.c (epilogue_renumber): Add default case to switch stmt. From-SVN: r30980
David S. Miller committed -
* expr.c (emit_move_insn_1): Only emit clobbers if one of the outputs is a SUBREG. * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th change. From-SVN: r30979
David S. Miller committed -
* toplev.c (rest_of_compilation): Run branch shortening after reg-stack. From-SVN: r30978
Jan Hubicka committed -
From-SVN: r30977
Bernd Schmidt committed -
* regclass.c (loop_depth): Remove (scan_one_insn): Do not handle LOOP_NOTE insns. (regclass): Go through basic blocks and set loop_cost From-SVN: r30976
Jan Hubicka committed -
From-SVN: r30975
Bernd Schmidt committed -
From-SVN: r30974
Zack Weinberg committed -
From-SVN: r30973
Richard Henderson committed -
* i386.md (movqi): Use "nonimmediate_operand" for output operand. (movstrictqi, movdi, movsf, movdf, movxf): Likewise. (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise. From-SVN: r30972
Jan Hubicka committed -
From-SVN: r30971
Jeffrey A Law committed -
* combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0) to (OP A B). From-SVN: r30970
Richard Henderson committed -
From-SVN: r30969
Jeffrey A Law committed -
From-SVN: r30968
Jeff Law committed -
From-SVN: r30967
Michael Meissner committed -
* class.c (handle_using_decl): Get TYPE_FIELDS and TYPE_METHODS out of the class, rather than taking them as parameters. (build_vbase_pointer_fields): Move here from tree.c. (build_vtbl_or_vbase_field): New function. (check_methods): Likewise. (remove_zero_width_bitfields): Likewise. (add_virtual_function): Use tree_cons instead of temp_tree_cons. (delete_duplicate_fields_1): Tidy. Don't delete duplicate USING_DECLs here. (finish_struct_methods): Handle the case where there are no methods here. (get_basefndecls): Use tree_cons instead of temp_tree_cons. (check_field_decls): Call delete_duplicate_fields here. (finish_struct_1): Tidy. Use check_methods and remove_zero_width_bitfields. * cp-tree.h (build_vbase_pointer_fields): Remove. * decl.c (grokdeclarator): Use tree_cons instead of temp_tree_cons. * decl2.c (qualified_lookup_using_namespace): Use tree_cons instead of temp_tree_cons. * lex.c (cons_up_default_function): Remove dead code. * method.c (fixup_pending_inline): New function, split out from ... (do_inline_function_hair): ... here. * tree.c (build_vbase_pointer_fields): Remove. From-SVN: r30966
Mark Mitchell committed -
* function.c (retrofit_block): Abort if we don't find a suitable insn. (insert_block_after_note): Abort if we don't have a previous block. Remove FN parameter. * function.h: Adjust. * tree.c (walk_tree): Walk operand subtrees in forward order. * optimize.c (expand_call_inline): Likewise. (optimize_function): Initialize id->scope_stmt to something useful. (remap_block): Assume id->scope_stmt has a useful value. From-SVN: r30965
Jason Merrill committed
-
- 15 Dec, 1999 17 commits
-
-
* java/lang/natSystem.cc (init_properties): Don't set user.name or user.home if NO_GETUID defined. Only set user.dir if getcwd exists. * include/config.h.in: Rebuilt. * acconfig.h (NO_GETUID): New define. * configure.in: Rebuilt. * configure.in: Define NO_GETUID in cross case. Check for getcwd in native case. From-SVN: r30964
Tom Tromey committed -
* builtins.c (expand_builtin_mathfn): Make sure not to expand the argument more than once. From-SVN: r30963
Mark Mitchell committed -
From-SVN: r30962
Jason Merrill committed -
From-SVN: r30961
Jason Merrill committed -
From-SVN: r30960
Jakub Jelinek committed -
* function.c (PREFERRED_STACK_BOUDNARY): Provide default value. (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY, update stack_alignment_needed. (prepare_function_start): Initialize stack_alignment_needed * function.h (struct function): Add field stack_alignment_needed. From-SVN: r30958
Jan Hubicka committed -
* caller-save.c (insert_one_insn): Returns struct insn_chain *. Handle live_throughout / dead_or_set instead of live_before / live_after. (save_call_clobbered_regs): Get register livenessinformation from chain->live_throughout. (add_stored_regs): New function. (insert_restore, insert_save): Add restored / saved registers to dead_or_set. * global.c (reg_dies): New parameter chain. (reg_becomes_live): Third parameter is regs_set now. Changed all callers. (reg_dies): New parameter chain. Changed all callers. (build_insn_chain): Set live_throughout instead of live_before / live_after. * reload.h (struct insn_chain): Replace members live_before / live_after with live_throughout / dead_or_set. * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set instead of live_before / live_after. (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise. (order_regs_for_reload, find_reg, finish_spills): Likewise. (choose_reload_regs_init): Likewise. * stupid.c (current_chain, find_clobbered_regs): Delete. (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set instead of chain->live_before / chain->live_after. (mark_hard_ref): New function. (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout. From-SVN: r30957
J"orn Rennecke committed -
1999-12-15 David S. Miller <davem@redhat.com> * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT. From-SVN: r30956
David S. Miller committed -
flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure. * flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure. (find_basic_block): Remove calculate_loop_depth call. * toplev.c (rest_of_compilation): Call find_basic_block. * output.h (calculate_loop_depth): Declare. From-SVN: r30955
Jan Hubicka committed -
* flow.c (dump_flow_info): Dump loop_depth. (flow_loop_nodes_find): Increase loop_depth for basic block in the body. (flow_loop_find): Initialize the loop_depth for each basic block. From-SVN: r30954
Jan Hubicka committed -
From-SVN: r30953
Nathan Sidwell committed -
* typeck.c (build_c_cast): Expand warning message. Move pointer alignment warning to after the cast. Don't warn about pointer alignment when given a pointer to incomplete. fix cut-n-paste error on 1999-12-09 Andreas Jaeger and 1999-12-09 Mark Mitchell (was 11999 & 999) From-SVN: r30952
Nathan Sidwell committed -
* cp-tree.h (make_aggr_type): Declare. * lex.c (cp_make_lang_type): Don't SET_IS_AGGR_TYPE. (make_aggr_type): New. * decl.c (build_typename_type, init_decl_processing): Use it. (build_ptrmemfunc_type, xref_tag): Likewise. * except.c (call_eh_info): Likewise. * init.c (init_init_processing): Likewise. * pt.c (process_template_parm, lookup_template_class): Likewise. * rtti.c (expand_class_desc): Likewise. * semantics.c (begin_class_definition, finish_typeof): Likewise. * tree.c (copy_template_template_parm): Likewise. From-SVN: r30951
Richard Henderson committed -
* tree.c (decl_function_context): Handle virtual functions. * tlink.c (scan_linker_output): Don't look in demangled name when looking for linker output keywords. * dwarfout.c (output_type): We can defer namespace-scope classes. From-SVN: r30950
Jason Merrill committed -
* cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using sizeof (struct tree_common). From-SVN: r30949
Jason Merrill committed -
* Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS). (MYCFLAGS): Include $(CFLAGS). From-SVN: r30948
Jason Merrill committed -
* filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove advertising clause from BSD license, pursuant with ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change From-SVN: r30947
Jason Merrill committed
-