- 10 Mar, 1999 13 commits
-
-
* gcse.c: Update various comments. (current_function_calls_longjmp): Delete declaration. From-SVN: r25674
Jeffrey A Law committed -
* gcse.c (run_jump_opt_after_gcse): New variable. (gcse_main): Returns an integer. (hash_scan_set): Record initializations from CONST_DOUBLEs too. (try_replace_reg): Update some comments. (cprop_insn): Allow propagation into some JUMP_INSNs too. * rtl.h (gcse_main): Update prototype. * toplev.c (rest_of_compilation): If gcse_main returns nonzero, then run a jump optimization pass. * jump.c (delete_barrier_successors): Delete nop jumps too. From-SVN: r25673
Jeffrey A Law committed -
* semantics.c (begin_class_definition): Call build_self_reference. (finish_member_declaration): Set DECL_CONTEXT for TYPE_DECLs. From-SVN: r25672
Mark Mitchell committed -
From-SVN: r25671
Mark Mitchell committed -
* sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic. Changed caller. * sh.md (subsf3, subsf_i): Use fp_arith_reg_operand. From-SVN: r25670
J"orn Rennecke committed -
* reload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it. From-SVN: r25669
J"orn Rennecke committed -
* search.c (dfs_canonical_queue): New function. (dfs_assert_unmarked_p): Likewise. (assert_canonical_unmarked): Likewise. (access_in_type): Use it. (accessible_p): Likewise. Walk the whole tree when umarking. From-SVN: r25668
Mark Mitchell committed -
* sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access. From-SVN: r25667
Mark Mitchell committed -
From-SVN: r25666
Bruce Korb committed -
From-SVN: r25665
Bruce Korb committed -
From-SVN: r25664
Bruce Korb committed -
From-SVN: r25663
Jason Merrill committed -
From-SVN: r25662
Jeff Law committed
-
- 09 Mar, 1999 13 commits
-
-
* cp-tree.h (flag_access_control): Declare. (TREE_VIA_PPUBLIC): Document. (DECL_NONSTATIC_MEMBER_P): New macro. (enforce_access): Return an indication of whether or not access was permitted. (build_self_reference): Change prototype. (compute_access): Replace with ... (accessible_p): New function. (dfs_walk): Change prototype. (dfs_unmark): Likewise. (markedp): Likewise. * call.c (enforce_access): Use accessible_p. * class.c (build_self_reference): Insert the declaration into the list of members for this type, and make it public. * decl.c (xref_basetypes): Avoid ill-timed recursion. * init.c (build_offset_ref): Use lookup_member, not three separate name-lookups. Call enforce_access rather than checking for illegal accesses here. (resolve_offset_ref): Likewise. * lex.c (do_identifier): Likewise. * method.c (hack_identifier): Likewise. * parse.y (self_reference): Remove. (opt_component_decl_list): Don't use it. * parse.c: Regenerated. * pt.c (print_candidates): Generalize to handle lists of overloaded functions. (instantiate_class_template): Don't rely on TREE_VIA_PRIVATE; it's not set. (get_template_base): Use new calling convention for dfs_walk. * search.c: Include varray.h. Add prototypes. (dfs_walk): Accept a data pointer to pass to the work functions. All callers changed. All work functions changed. (breadth_first_search): Rename to bfs_walk, and make consistent with dfs_walk. (dfs_walk_real): New function. (canonical_binfo): New function. (context_for_name_lookup): Likewise. (shared_marked_p): Likewise. (shared_unmarked_p): Likewise. (lokup_field_queue_p): Likewise. (lookup_field_r): Generalize to handle both functions and fields. (lookup_field): Just call lookup_member. (lookup_fnfields): Likewise. (lookup_member): Move body of lookup_field here and generalize. (dfs_accessible_queue_p): Likewise. (dfs_accessible_p): Likewise. (dfs_access_in_type): Likewise. (access_in_type): Likewise. (compute_access): Remove, and replace with ... (accessible_p): New function. (vbase_types): Remove. (vbase_decl_ptr_intermediate): Likewise. (vbase_decl_ptr): Likewise. (vbase_init_result): Likewise. (closed_envelopes): Likewise. (bvtable): Likewise. From-SVN: r25661
Mark Mitchell committed -
call.c (add_function_candidate): Check for proper number of args before checking the validity of those args. * call.c (add_function_candidate): Check for proper number of args before checking the validity of those args. From-SVN: r25660
Jason Merrill committed -
From-SVN: r25659
Jason Merrill committed -
* calls.c (load_register_parameters): New function. (expand_call): Use it. From-SVN: r25658
Jeffrey A Law committed -
* reload1.c (reload_combine_note_store): Fix calculation of number of affected registers. From-SVN: r25657
J"orn Rennecke committed -
* flow.c (tidy_fallthru_edge): Be more careful finding the last BARRIER of a list. Delete the cc0 setter as well as a cond jump. From-SVN: r25656
Richard Henderson committed -
From-SVN: r25655
Jeffrey A Law committed -
From-SVN: r25654
Hans-Peter Nilsson committed -
* calls.c (compute_argument_addresses): New function. (rtx_for_function_call): New function. (expand_call): Use them. From-SVN: r25653
Jeffrey A Law committed -
* reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN. From-SVN: r25652
Richard Henderson committed -
* Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H). * toplev.c: Include basic-block.h. From-SVN: r25651
Kaveh R. Ghazi committed -
* i386.md (zero_extendhisi2): Split into an expander and anonymous pattern. Add new anonymous pattern for use when optimizing for size or for the PPro. (zero_extendqihi2, zero_extendqisi2): Likewise. From-SVN: r25650
Jeffrey A Law committed -
From-SVN: r25649
Jeff Law committed
-
- 08 Mar, 1999 14 commits
-
-
haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too. * haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too. From-SVN: r25648
Richard Henderson committed -
* i386.md (ashlsi3): Revise comments. Provide new anonymous pattern for Pentium and PPro/PII. Reverse constraints in generic ashlsi3 anonymous pattern. From-SVN: r25647
Jeffrey A Law committed -
* calls.c (initialize_argument_info): Accept a pointer to CUMULATIVE_ARGS. (expand_call): Pass the address of CUMULATIVE_ARGS. From-SVN: r25646
Jeffrey A Law committed -
* config/openbsd.h (HANDLE_SYSV_PRAGMA): Define. * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0. * mn10300.h (CASE_DROPS_THROUGH): Delete. * mn10200.h (CASE_DROPS_THROUGH): Delete. * h8300.h (CASE_DROPS_THROUGH): Delete. From-SVN: r25645
Jeff Law committed -
* local-alloc.c (combine_regs): Don't combine if we have a hard reg for which CLASS_LIKELY_SPILLED_P is true. From-SVN: r25644
Jim Wilson committed -
* unroll.c (loop_iterations): Only call loop_find_equiv_value if we have a REG or SUBREG. From-SVN: r25643
Jim Wilson committed -
� * flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure to also delete the cc0 setter when deleting a conditional branch to the next block. From-SVN: r25642
Jeffrey A Law committed -
� * lex.c (java_parse_end_comment): Take extra parameter (next char). * class.c (build_utf8_ref): Fix possible name class/ambiguity. * class.c (layout_class_method): A static method in a base class is never overridden, so treat it like it doesn't exist. However, do complain about private non-static method overriding public static method. * parse.y: Don't set unused INITIALIZED_P flag. * java-tree.h (INITIALIZED_P): Removed no-longer needed flag. * parse.y (find_expr_with_wfl): Optimize tail-calls. (build_array_from_name): Re-order &index[string] to &string[index]. * parse.y (java_complete_tree): Don't call patch_assignment if rhs is error_mark (it might catch more errors, but it is more likely to lose). From-SVN: r25641
Per Bothner committed -
From-SVN: r25640
Per Bothner committed -
From-SVN: r25639
J"orn Rennecke committed -
From-SVN: r25638
Bruce Korb committed -
From-SVN: r25637
Craig Burley committed -
From-SVN: r25636
Craig Burley committed -
From-SVN: r25635
Jeff Law committed
-