- Mar 10, 1999
-
-
Bruce Korb authored
From-SVN: r25666
-
Bruce Korb authored
From-SVN: r25665
-
Bruce Korb authored
From-SVN: r25664
-
Jason Merrill authored
From-SVN: r25663
-
Jeff Law authored
From-SVN: r25662
-
- Mar 09, 1999
-
-
Mark Mitchell authored
* 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
-
Jason Merrill authored
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 authored
From-SVN: r25659
-
Jeffrey A Law authored
* calls.c (load_register_parameters): New function. (expand_call): Use it. From-SVN: r25658
-
J"orn Rennecke authored
* reload1.c (reload_combine_note_store): Fix calculation of number of affected registers. From-SVN: r25657
-
Richard Henderson authored
* 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
-
Jeffrey A Law authored
From-SVN: r25655
-
Hans-Peter Nilsson authored
From-SVN: r25654
-
Jeffrey A Law authored
* calls.c (compute_argument_addresses): New function. (rtx_for_function_call): New function. (expand_call): Use them. From-SVN: r25653
-
Richard Henderson authored
* reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN. From-SVN: r25652
-
Kaveh R. Ghazi authored
* Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H). * toplev.c: Include basic-block.h. From-SVN: r25651
-
Jeffrey A Law authored
* 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
-
Jeff Law authored
From-SVN: r25649
-
- Mar 08, 1999
-
-
Richard Henderson authored
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
-
Jeffrey A Law authored
* 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 authored
* calls.c (initialize_argument_info): Accept a pointer to CUMULATIVE_ARGS. (expand_call): Pass the address of CUMULATIVE_ARGS. From-SVN: r25646
-
Jeff Law authored
* 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
-
Jim Wilson authored
* 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 authored
* unroll.c (loop_iterations): Only call loop_find_equiv_value if we have a REG or SUBREG. From-SVN: r25643
-
Jeffrey A Law authored
� * 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
-
Per Bothner authored
� * 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 authored
From-SVN: r25640
-
J"orn Rennecke authored
From-SVN: r25639
-
Bruce Korb authored
From-SVN: r25638
-
Craig Burley authored
From-SVN: r25637
-
Craig Burley authored
From-SVN: r25636
-
Jeff Law authored
From-SVN: r25635
-
Craig Burley authored
From-SVN: r25631
-
- Mar 07, 1999
-
-
Craig Burley authored
From-SVN: r25630
-
Richard Henderson authored
* haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far. (print_exp): Special case addition of a constant. (print_value) [CONST_INT]: Use HOST_WIDE_INT_PRINT_HEX. From-SVN: r25629
-
Richard Henderson authored
* haifa-sched.c (reg_last_clobbers): New. (reg_pending_clobbers, bb_reg_last_clobbers): New. (compute_block_backward_dependences): Allocate memory for them. (schedule_region): Likewise. (sched_analyze_1): Clobbers don't interfere with one another. They do interfere with sets ... (sched_analyze_2): ... and uses. (sched_analyze): Likewise. (sched_analyze_insn): Update reg_last_clobbers appropriately. From-SVN: r25628
-
Kaveh R. Ghazi authored
* gmon-sol2.c: Include config.h and system.h. Don't redundantly include system header files. (sccsid): Remove. (moncontrol, monstartup, _mcleanup, internal_mcount): Prototype. (_mcleanup): Add the `const' keyword to a char*. (internal_mcount): Declare `etext' as a char[] not a function. Cast `etext' to char* when calling `monstartup'. * sparc.c (frame_base_name, save_regs, restore_regs, build_big_number, sparc_cmodel_string, sparc_align_loops_string, sparc_align_jumps_string, sparc_align_funcs_string, code_model, cpu_default, cpu_table, output_function_prologue, output_function_epilogue, output_return, sparc_flat_output_function_prologue, ultra_code_names, sparc_flat_output_function_epilogue): Constify a char*. (hypersparc_adjust_cost): Add a default case in a switch. * sparc.h (sparc_cmodel_string, OVERRIDE_OPTIONS, sparc_cpu_select, sparc_align_loops_string, sparc_align_jumps_string, sparc_align_funcs_string, output_return): Constify a char*. * sparc.md (movdi): Change the comparison of HOST_BITS_PER_WIDE_INT so that we check "== 32", instead of "!= 64". Cast a value to HOST_WIDE_INT when comparing against one. Hide the declaration for variable `chain'. From-SVN: r25627
-
Kaveh R. Ghazi authored
* system.h (const, inline): Move the stage2 handling of these keywords-as-macros from here... * gansidecl.h (const, inline): ...to here. (This became necessary after using `const' in config directory headers, which get included before system.h does. If we're going to reset these keywords, we must do so before absolutely any other header file.) From-SVN: r25626
-
Martin v. Löwis authored
From-SVN: r25625
-
Richard Henderson authored
From-SVN: r25624
-