1. 24 Oct, 1998 5 commits
  2. 23 Oct, 1998 22 commits
    • loop.c (loop_has_tablejump): New variable. · 8c368ee2
              * loop.c (loop_has_tablejump): New variable.
              (prescan_loop): Scan for it.
              (insert_bct): Replace explicit scan with use of it.
              * regclass.c (regclass): Restore loop variable j.
              (record_reg_classes): Deterine op_types modifiers and initialize
              classes[i] before matching constraints.  Handle matching
              constraints 5-9.
      
      From-SVN: r23263
      David Edelsohn committed
    • flow.c (life_analysis_1): Enable "rescan" code after reload. · b590bbfd
              * flow.c (life_analysis_1): Enable "rescan" code after reload.
              (propagate_block): Delete dead code after reload.
      
      From-SVN: r23262
      Jeffrey A Law committed
    • sched.c (update_flow_info): Revert Oct 19, 1998 change. · a1ef0af4
              * sched.c (update_flow_info): Revert Oct 19, 1998 change.  Brings
              back Oct 15, 1998 change.
              * haifa-sched.c (update_flow_info): Likewise.
              * flow.c (life_analysis_1): Delete CLOBBER insns after reload.
      Real fix was in flow.c...
      
      From-SVN: r23261
      Jeffrey A Law committed
    • cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals. · d9db46fd
      	* cplus-dem.c (work_stuff): Replace const_type and volatile_type
      	with type_quals.
      	(TYPE_UNQUALIFIED): New macro.
      	(TYPE_QUAL_CONST): Likewise.
      	(TYPE_QUAL_VOLATILE): Likewise.
      	(TYPE_QUAL_RESTRICT): Likewise.
      	(code_for_qualifier): New function.
      	(qualifier_string): Likewise.
      	(demangle_qualifier): Likewise.
      	(internal_cplus_demangle): Use them.
      	(demangle_signature): Likewise.
      	(demangle_template_value_parm): Likewise.
      	(do_type): Likewise.
      	(demangle_fund_type)): Likewise.
      
      From-SVN: r23260
      Mark Mitchell committed
    • exception.cc (__cp_pop_exception): Free the original exception value, not the… · 943767e3
      exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one.
      
      1998-10-23  Andrew MacLeod  <amacleod@cygnus.com>
            * exception.cc (__cp_pop_exception): Free the original exception
            value, not the potentially coerced one.
      
      From-SVN: r23259
      Andrew MacLeod committed
    • cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals. · 91063b51
      	* cplus-dem.c (work_stuff): Replace const_type and volatile_type
      	with type_quals.
      	(TYPE_UNQUALIFIED): New macro.
      	(TYPE_QUAL_CONST): Likewise.
      	(TYPE_QUAL_VOLATILE): Likewise.
      	(TYPE_QUAL_RESTRICT): Likewise.
      	(code_for_qualifier): New function.
      	(qualifier_string): Likewise.
      	(demangle_qualifier): Likewise.
      	(internal_cplus_demangle): Use them.
      	(demangle_signature): Likewise.
      	(demangle_template_value_parm): Likewise.
      	(do_type): Likewise.
      	(demangle_fund_type)): Likewise.
      	* Makefile.in (hash.h): Run gperf when necessary.
      	* cp-tree.h (CP_TYPE_READONLY): Remove.
      	(CP_TYPE_VOLATILE): Likewise.
      	(CP_TYPE_QUALS): New macro.
      	(CP_TYPE_CONST_P): Likewise.
      	(CP_TYPE_VOLATILE_P): Likewise.
      	(CP_TYPE_RESTRICT_P): Likewise.
      	(CP_TYPE_CONST_NON_VOLATILE_P): Likewise.
      	(cp_build_type_variant): Rename to ...
      	(cp_build_qualified_type): New function.
      	(c_apply_type_quals_to_decl): Declare.
      	(SIGNATURE_POINTER_NAME_FORMAT): Modify to allow `restrict'.
      	(SIGNATURE_REFERENCE_NAME_FORMAT): Likewise.
      	(cp_type_qual_from_rid): New function.
      	(compparms): Remove unused parameter.  All callers changed.
      	(cp_type_quals): New function.
      	(at_least_as_qualified_p): Likewise.
      	(more_qualified_p): Likewise.
      	* call.c (standard_conversion): Replace calls to
      	cp_build_type_variant with cp_build_qualified_type.  Use
      	CP_TYPE_QUALS to get qualifiers and at_least_as_qualified_p to
      	compare them.  Use CP_TYPE_* macros to check qualifiers.
      	(reference_binding): Likewise.
      	(implicit_conversion): Likewise.
      	(add_builtin_candidates): Likewise.
      	(build_over_call): Likewise.
      	* class.c (overrides): Compare all qualifiers, not just `const',
      	on method declarations.
      	* cvt.c (convert_to_reference): More CP_TYPE_QUALS conversion, etc.
      	(convert_pointer_to_real): Likewise.
      	(type_promotes_to): Likewise.
      	* decl.c (check_for_uninitialized_const_var): New function.
      	(init_decl_processing): More CP_TYPE_QUALS conversion, etc.
      	(cp_finish_decl): Use check_for_uninitialized_const_var.
      	(grokdeclarator): More CP_TYPE_QUALS conversion, etc.  Update to
      	handle `restrict'.
      	(grok_ctor_properties): Likewise.
      	(grok_op_properties): Likewise.
      	(start_function): Likewise.
      	(rever_static_member_fn): Likewise.
      	* decl2.c (grok_method_quals): Likewise.
      	(grokfield): Likewise.
      	* error.c (dump_readonly_or_volatile): Rename to ...
      	(dump_qualifiers): New function.  Handle `restrict'.
      	(dump_type_real): Use it.
      	(dump_aggr_type): Likewise.
      	(dump_type_prefix): Likewise.
      	(dump_type_suffix): Likewise.
      	(dump_function_decl): Likewise.
      	(cv_as_string): Likewise.
      	* gxx.gperf: Add __restrict and __restrict__.
      	* gxxint.texi: Document `u' as used for `__restrict', and a few
      	other previously undocumented codes.
      	* hash.h: Regenerated.
      	* init.c (expand_aggr_init): More CP_TYPE_QUALS conversion, etc.
      	(build_member_call): Likewise.
      	(build_new_1): Likewise.
      	* lex.c (init_parse): Add entry for RID_RESTRICT.
      	(cons_up_default_function): More CP_TYPE_QUALS conversion, etc.
      	(cp_type_qual_from_rid): Define.
      	* lex.h (enum rid): Add RID_RESTRICT.
      	* method.c (process_modifiers): Deal with `restrict'.
      	* parse.y (primary): More CP_TYPE_QUALS conversion, etc.
      	* parse.c: Regenerated.
      	* pt.c (convert_nontype_argument): More CP_TYPE_QUALS conversion, etc.
      	(tsubst_aggr_type): Likewise.
      	(tsubst): Likewise.
      	(check_cv_quals_for_unify): Likewise.
      	(unify): Likewise.
      	* rtti.c (init_rtti_processing): Likewise.
      	(build_headof): Likewise.
      	(get_tinfo_var): Likewise.
      	(buidl_dynamic_cast_1): Likewise.  Fix `volatile' handling.
      	(expand_class_desc): Likewise.
      	(expand_attr_desc): Likewise.
      	(synthesize_tinfo_fn): Likewise.
      	* search.c (covariant_return_p): Likewise.  Fix `volatile' handling.
      	(get_matching_virtual): Likewise.
      	(expand_upcast_fixups): Likewise.
      	* sig.c (build_signature_pointer_or_reference_name): Take
      	type_quals, not constp and volatilep.
      	(build_signature_pointer_or_reference_type): Likewise.
      	(match_method_types): More CP_TYPE_QUALS conversion, etc.
      	(build_signature_pointer_constructor): Likewise.
      	(build_signature_method_call): Likewise.
      	* tree.c (build_cplus_array_type): Likewise.
      	(cp_build_type_variant): Rename to ...
      	(cp_build_qualified_type): New function.  Deal with `__restrict'.
      	(canonical_type_variant): More CP_TYPE_QUALS conversion, etc.
      	(build_exception_variant): Likewise.
      	(mapcar): Likewise.
      	* typeck.c (qualif_type): Likewise.
      	(common_type): Likewise.
      	(comptypes): Likewise.
      	(comp_cv_target_types): Likewise.
      	(at_least_as_qualified_p): Define.
      	(more_qualified_p): Likewise.
      	(comp_cv_qualification): More CP_TYPE_QUALS conversion, etc.
      	(compparms): Likewise.
      	(inline_conversion): Likewise.
      	(string_conv_p): Likewise.
      	(build_component_ref): Likewise.
      	(build_indirect_ref): Likewise.
      	(build_array_ref): Likewise.
      	(build_unary_op): Likewise.
      	(build_conditional_expr): Likewise.
      	(build_static_cast): Likewise.
      	(build_c_cast): Likewise.
      	(build_modify_expr): Likewise.
      	(convert_For_assignment): Likewise.
      	(comp_ptr_ttypes_real): Likewise.
      	(cp_type_quals): New function.
      
      From-SVN: r23258
      Mark Mitchell committed
    • Fix m32r build failure, (SUBREG (MEM)) problem from Joern's reload patches. · ca3bf2b5
      	* m32r/m32r.c (gen_split_move_double): Call alter_subreg.  Delete
      	subreg support.
      
      From-SVN: r23256
      Jim Wilson committed
    • Warning fixes: · e1ba7da7
              * mips.h (EXTRA_SPECS): Add missing initializers.
      
      From-SVN: r23255
      Kaveh R. Ghazi committed
    • Warning fixes: · df4f7565
              * sparc.h (EXTRA_SPECS): Add missing initializers.
              (sparc_defer_case_vector): Provide a prototype.
              * svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when
              comparing it to the result of a pointer subtraction.
      
      From-SVN: r23254
      Kaveh R. Ghazi committed
    • Warning fixes: · d1e6b55b
              * alpha.c (override_options): Use ISDIGIT(), not isdigit().  Cast
              the argument to (unsigned char).
              * alpha.h (EXTRA_SPECS): Add missing initializers.
              (ASM_GENERATE_INTERNAL_LABEL): Ensure the argument matches the
              format specifier.
      
      From-SVN: r23253
      Kaveh R. Ghazi committed
    • f2cext.c: Include math.h. · 9cfb030f
      1998-10-23  Dave Love  <d.love@dl.ac.uk>
      	* f2cext.c: Include math.h.
      
      From-SVN: r23251
      Dave Love committed
    • Include math.h. · 87e6e875
      From-SVN: r23250
      Dave Love committed
    • * lang-specs.h: `.zip' files are input to jc1. · 45ae5597
      From-SVN: r23247
      Tom Tromey committed
    • New test case. · 1d5f42ab
      From-SVN: r23246
      Martin v. Löwis committed
    • machmode.h (mode_mask_array): No longer const. · abef8789
      * machmode.h (mode_mask_array): No longer const.
      * rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.
      
      From-SVN: r23245
      Richard Earnshaw committed
    • cp-tree.h (CP_TYPE_READONLY): New macro to handle arrays. · 0aaa9089
      	* cp-tree.h (CP_TYPE_READONLY): New macro to handle arrays.
      	(CP_TYPE_VOLATILE): Likewise.
      	* decl.c (grokdeclarator): Use them.
      	* tree.c (canonical_type_variant): Likewise.
      
      From-SVN: r23244
      Jason Merrill committed
    • frame.c: Somewhat explain `FDE'. · ccb5954f
              * frame.c: Somewhat explain `FDE'.
              Suggested by Brendan Kehoe
      
      From-SVN: r23243
      Martin v. Löwis committed
    • up · 8d3f83d2
      From-SVN: r23242
      Jason Merrill committed
    • expr.c (pending_chain): Move up. · fdc46fbe
      	* expr.c (pending_chain): Move up.
      	(save_expr_status): Do save pending_chain.
      	(restore_expr_status): And restore it.
      	* function.h (struct function): Add pending_chain.
      
      From-SVN: r23241
      Jason Merrill committed
    • Daily bump. · 5581627c
      From-SVN: r23240
      Jeff Law committed
  3. 22 Oct, 1998 13 commits