aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-08-29Add and use mh-aix43 to set AR_FOR_TARGET.David Edelsohn3-0/+11
From-SVN: r22077
1998-08-29Bring version # and generated files updates over from the branch.Jeff Law4-69/+185
From-SVN: r22076
1998-08-29Benjamin Kosnik1-3/+3
fix From-SVN: r22075
1998-08-29Benjamin Kosnik1-0/+177
more tests From-SVN: r22073
1998-08-29pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.Benjamin Kosnik1-0/+5
� 1998-08-28 Benjamin Kosnik <bkoz@loony.cygnus.com> * pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM. From-SVN: r22072
1998-08-29pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.Benjamin Kosnik1-9/+18
� 1998-08-28 Benjamin Kosnik <bkoz@loony.cygnus.com> * pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM. From-SVN: r22071
1998-08-28Daily bump.Jeff Law1-1/+1
From-SVN: r22069
1998-08-28sparc.c (arith_operand, [...]): Mark mode as unused.David S. Miller3-42/+73
* config/sparc/sparc.c (arith_operand, const64_operand, const64_high_operand, arith_double_4096_operand): Mark mode as unused. (create_simple_focus_bits): Remove unused arg highest_bit_set, all callers changed. (sparc_emit_set_const64): Remove unused variable i. (sparc_splitdi_legitimate): Likewise for addr_part. (ultra_code_from_mask): Likewise for mask. (ultra_cmove_results_ready_p): Fixup entry modulo calc. (ultra_flush_pipeline): Likewise. (ultra_fpmode_conflict_exists): Likewise, remove unused variable this_type, and allow loads and stores of differing FP modes as they do not create a conflict. (ultra_find_type): Initialize fpmode to SFmode, fix parenthesization thinkos in large conditional. (ultrasparc_sched_init): Mark dump and sched_verbose as unused. Init free_slot_mask after ultra_cur_hist is reset, not before. (ultrasparc_rescan_pipeline_state): Remove unused variable ucode. (ultrasparc_sched_reorder): Don't bzero current pipeline state, use ultra_flush_pipeline instead, then re-init group pointer. Fix statement with no effect. If no progress made in, and no instructions scheduled at all, advance to new pipeline cycle else we get into an endless loop. (ultrasparc_adjust_cost): Remove previous arg. * config/sparc/sparc.h (ADJUST_COST): Update to reflect that. From-SVN: r22068
1998-08-28New testMark Mitchell1-0/+27
From-SVN: r22067
1998-08-28TweakMark Mitchell1-2/+2
From-SVN: r22066
1998-08-28New testMark Mitchell1-0/+16
From-SVN: r22065
1998-08-28* lex.c (do_identifier): Fix thinko in previous change.Mark Mitchell2-7/+15
From-SVN: r22064
1998-08-28cp-tree.h (build_enumerator): Take the enumeration type as a paramter.Mark Mitchell1-814/+823
* cp-tree.h (build_enumerator): Take the enumeration type as a paramter. * decl.c (finish_enum): Don't set the TREE_TYPE for the enumeration constant values if we're processing_template_decls. Don't set the type for the CONST_DECLs either; that's done in build_enumerator. ( (build_enumerator): Take the enumeration type as a paramter. * lex.c (do_identifier): Don't resolve enumeration constants while processing template declarations, even if they happen to be TEMPLATE_PARM_INDEXs. * parse.y (current_enum_type): New variable. (primary): Don't allow statement-expression in local classes just as we don't in global classes. (structsp): Use current_enum_type. (enum_list): Likewise. * pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by finish_enum; they no longer occur. From-SVN: r22063
1998-08-28New testMark Mitchell1-0/+37
From-SVN: r22062
1998-08-28Add support for discarding unused virtual functions.Jason Merrill6-1/+150
* search.c (dfs_search, binfo_for_vtable, dfs_bfv_helper): New fns. * decl2.c (output_vtable_inherit): Call binfo_for_vtable. * lang-options.h: Add -fvtable-gc. * cp-tree.h: Add flag_vtable_gc. * decl2.c (output_vtable_inherit): New fn. (finish_vtable_vardecl): Call it. * class.c (build_vtable_entry_ref): New fn. (build_vtbl_ref): Call it. From-SVN: r22061
1998-08-28cp-tree.h (build_enumerator): Take the enumeration type as a paramter.Mark Mitchell7-61/+96
* cp-tree.h (build_enumerator): Take the enumeration type as a paramter. * decl.c (finish_enum): Don't set the TREE_TYPE for the enumeration constant values if we're processing_template_decls. Don't set the type for the CONST_DECLs either; that's done in build_enumerator. ( (build_enumerator): Take the enumeration type as a paramter. * lex.c (do_identifier): Don't resolve enumeration constants while processing template declarations, even if they happen to be TEMPLATE_PARM_INDEXs. * parse.y (current_enum_type): New variable. (primary): Don't allow statement-expression in local classes just as we don't in global classes. (structsp): Use current_enum_type. (enum_list): Likewise. * pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by finish_enum; they no longer occur. From-SVN: r22060
1998-08-28fix XCRASH setupBrendan Kehoe1-1/+4
From-SVN: r22059
1998-08-28dd `_eb91_' in front of the typenames, to avoid linux hiccupsBrendan Kehoe1-11/+11
From-SVN: r22058
1998-08-28sparc.md (DImode, [...]): Delete self_reference code.Jim Wilson2-16/+13
* sparc.md (DImode, DFmode, TFmode splits): Delete self_reference code. Use reg_overlap_mentioned_p to detect when source and destination overlap. (negtf2_notv9+1): Use DFmode instead of SFmode in last two operands. From-SVN: r22057
1998-08-28cp-tree.h (finish_base_specifier): New function.Mark Mitchell6-503/+457
* cp-tree.h (finish_base_specifier): New function. * parse.y (base_class): Use it. * semantics.c (finish_base_specifier): Define it. * parse.y (structsp): Warn on use of typename outside of template declarations. From-SVN: r22055
1998-08-28loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into ↵Brendan Kehoe2-1/+6
invariant_p. * loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into invariant_p. From-SVN: r22054
1998-08-28mark as xfail for now, since we have the test but don't have a fix yetBrendan Kehoe1-1/+1
From-SVN: r22053
1998-08-28regmove.c (regclass_compatible_p): New function.J"orn Rennecke2-13/+37
* regmove.c (regclass_compatible_p): New function. (regmove_optimize): Use it. Use NREGS parameter insted of calling max_reg_num. (fixup_match_1): Don't use code = MINUS when later tieing with a hard register is likely. From-SVN: r22052
1998-08-28loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when COMPARISON_VAL ↵J"orn Rennecke2-3/+14
was normalized. * loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when COMPARISON_VAL was normalized. From-SVN: r22051
1998-08-28Update reference to standard.Martin v. Löwis1-1/+2
From-SVN: r22050
1998-08-27Daily bump.Jeff Law1-1/+1
From-SVN: r22048
1998-08-27loop.c (check_dbra_loop): The loop ending comparison value must be an ↵Jeffrey A Law2-0/+12
invariant or we can not reverse the... * loop.c (check_dbra_loop): The loop ending comparison value must be an invariant or we can not reverse the loop. From-SVN: r22045
1998-08-27loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER ↵Jeffrey A Law2-2/+3
to avoid calling... * loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration of the loop. (load_mems_and_recount_loop_regs_set): Likewise. Forgot second AVOID_CCMODE_COPIES loop. From-SVN: r22044
1998-08-27loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER ↵Jeffrey A Law2-1/+5
to avoid calilng... * loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER to avoid calilng max_reg_num each iteration of the loop. From-SVN: r22043
1998-08-27980827-1.c: New test.Jeffrey A Law2-0/+28
* gcc.dg/980827-1.c: New test. New test from Geoff Keating From-SVN: r22042
1998-08-27Fix typo.Per Bothner1-1/+1
From-SVN: r22040
1998-08-27Migrate from devo/gcc/ch.Per Bothner1-0/+39
From-SVN: r22039
1998-08-27Per Bothner40-0/+28969
Migrate from devo/gcc/ch. From-SVN: r22038
1998-08-27Migrate from devo/gcc/ch.Per Bothner8-0/+1038
From-SVN: r22037
1998-08-27Per Bothner18-0/+1799
Migrate from devo/gcc/ch. From-SVN: r22036
1998-08-27Per Bothner26-0/+18292
Migrate from devo/gcc/ch. From-SVN: r22035
1998-08-27Per Bothner25-0/+13517
Migrate from devo/gcc/ch. From-SVN: r22034
1998-08-27dPer Bothner1-0/+735
Migrate from devo/gcc/ch. From-SVN: r22033
1998-08-27Per Bothner1-0/+40
Migrate from devo/gcc/ch. From-SVN: r22032
1998-08-27Per Bothner2-0/+1322
Migrate from devo/gcc/ch. From-SVN: r22031
1998-08-27(Per Bothner1-0/+1241
Migrate from devo/gcc/ch. From-SVN: r22030
1998-08-27add missing typedefsBrendan Kehoe1-0/+2
From-SVN: r22029
1998-08-27* i386.c (print_operand): Remove obsolete 'c' docs.Jeffrey A Law2-1/+4
From-SVN: r22028
1998-08-27lex.c (handle_cp_pragma): Remove #pragma vtable.Jason Merrill10-131/+49
* lex.c (handle_cp_pragma): Remove #pragma vtable. * lang-options.h: Remove +e options. * decl2.c (lang_decode_option): Likewise. (import_export_vtable): Don't check write_virtuals. (finish_vtable_vardecl, finish_file): Likewise. * search.c (dfs_debug_mark): Likewise. * semantics.c (begin_class_definition): Likewise. * class.c (build_vtable, finish_vtbls, finish_struct_1): Likewise. * call.c (build_over_call): Check flag_elide_constructors. * decl2.c: flag_elide_constructors defaults to 1. * typeck.c (convert_arguments): Remove return_loc parm. (build_function_call_real): Adjust. From-SVN: r22027
1998-08-27fix testBrendan Kehoe1-2/+2
From-SVN: r22026
1998-08-27search.c: Tear out all mi_matrix and memoize code.Jason Merrill8-735/+35
* search.c: Tear out all mi_matrix and memoize code. (lookup_field, lookup_fnfields): Use scratch_tree_cons. * lang-options.h: Remove documentation for -fhandle-exceptions, -fmemoize-lookups and -fsave-memoized. * cp-tree.h: Lose mi_matrix and memoize support. * decl2.c: Ignore -fmemoize-lookups and -fsave-memoized. * class.c: Lose struct class_level. (pushclass, popclass): Lose memoize support. * init.c (build_offset_ref): Likewise. From-SVN: r22025
1998-08-27Never change BINFO_INHERITANCE_CHAIN.Jason Merrill8-101/+110
* init.c (emit_base_init): Change modification of BINFO_INHERITANCE_CHAIN to an assert. * search.c (get_base_distance_recursive): Likewise. (get_base_distance): Likewise. (lookup_member): Likewise. (convert_pointer_to_single_level): Likewise. (lookup_field): Likewise. Lose setting TREE_VIA_* on TREE_LISTs. (lookup_fnfields): Likewise. * tree.c (propagate_binfo_offsets): Don't call unshare_base_binfos. (unshare_base_binfos): Don't call propagate_binfo_offsets. (layout_basetypes): Call propagate_binfo_offsets instead of unshare_base_binfos. * decl.c (xref_basetypes): Call unshare_base_binfos. * pt.c (instantiate_class_template): Likewise. * tree.c (reverse_path): Remove 'copy' parm; always make a temporary copy. * class.c (build_vbase_path): Just call it. * search.c (compute_access): Likewise. Don't re-reverse. From-SVN: r22024
1998-08-27gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.Tom Tromey3-2/+49
* gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION. * frame.c (init_object_mutex): New function. (init_object_mutex_once): Likewise. (find_fde): Call it. (__register_frame_info): Likewise. (__register_frame_info_table): Likewise. (__deregister_frame_info): Likewise. From-SVN: r22023
1998-08-27* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.Jeffrey A Law2-5/+9
From-SVN: r22022
1998-08-27class.c (build_vbase_path): Use reverse_path.Mark Mitchell14-104/+137
* class.c (build_vbase_path): Use reverse_path. (finish_base_struct): Move warnings for inaccessible bases to layout_basetypes. (modify_one_vtable): Remove check of TREE_USED (binfo). (fixup_vtable_deltas1): Likewise. * cp-tree.h (BINFO_INHERITANCE_CHAIN): Document here. (xref_tag): Remove binfos parameter. (make_binfo): Remove chain parameter. (reverse_path): Add copy parameter. * decl.c (init_decl_processing): Change calls to xref_tag. (xref_tag): Remove binfos parameter. (xref_basetypes): Change calls to make_binfo. * decl2.c (grok_x_components): Change calls to xref_tag. (handle_class_head): Likewise. * friend.c (do_friend): Likewise. * lex.c (make_lang_type): Change calls to make_binfo. * parse.y (structsp): Change calls to xref_tag. (named_complex_class_head_sans_basetype): Likewise. (named_class_head): Likewise. * rtti.c (init_rtti_processing): Likewise. * search.c (compute_access): Change calls to reverse_path. (dfs_get_vbase_types): Change calls to make_binfo. (get_vbase_types): Remove dead code. * tree.c (unshare_base_binfos): Change calls to make_binfo. (layout_basetypes): Warn here about inaccessible bases. (make_binfo): Remove chain parameter. (reverse_path): Add copy parameter. From-SVN: r22021