- 19 Oct, 1998 18 commits
-
-
* method.c (hack_identifier): Call build_component_ref for a reference to a member function. * typeck.c (build_component_ref): Only return a single function if it's static. Otherwise, return a COMPONENT_REF. (build_x_function_call): Handle a COMPONENT_REF. (build_unary_op): Handle all unknown-type things. * decl2.c (arg_assoc): Handle COMPONENT_REF. * class.c (instantiate_type): Complain if the function we get is a nonstatic member function. Remove code for finding "compatible" functions. * pt.c (tsubst_copy): Handle NOP_EXPR. * tree.c (build_dummy_object): New fn. (maybe_dummy_object): New fn. (is_dummy_object): New fn. * cp-tree.h: Declare them. * cvt.c (cp_convert_to_pointer): Use maybe_dummy_object. * error.c (dump_expr, case OFFSET_REF): Use is_dummy_object. * init.c (build_member_call): Use maybe_dummy_object and is_dummy_object. (build_offset_ref): Use maybe_dummy_object. (resolve_offset_ref): Use is_dummy_object. * typeck.c (build_x_function_call): Call build_dummy_object. (unary_complex_lvalue): Call is_dummy_object. * typeck.c (build_component_addr): Make sure field is a field. * call.c (build_new_op): Delete obsolete code. * pt.c (tsubst, TEMPLATE*PARM*): Abort if we don't have any args. From-SVN: r23186
Jason Merrill committed -
From-SVN: r23185
Mike Stump committed -
Undo some mistakes from previous merge. From-SVN: r23184
Per Bothner committed -
Undo some mistakes from previous merge. From-SVN: r23183
Per Bothner committed -
From-SVN: r23182
Jeffrey A Law committed -
From-SVN: r23181
Jeff Law committed -
From-SVN: r23180
Bernd Schmidt committed -
* loop.c (scan_loop): Be more selective about what invariants are moved out of a loop. From-SVN: r23178
Jeffrey A Law committed -
From-SVN: r23176
Jeffrey A Law committed -
* libgcc2.c (eh_context_static): Do not call malloc to allocate the static eh_context structure. From-SVN: r23175
Jeffrey A Law committed -
* reload1.c (reload_reg_free_before_p): Hack. Return 0 if EQUIV is nonzero. This is temporary! From-SVN: r23174
Jeffrey A Law committed -
1998-10-19 Dave Love <d.love@dl.ac.uk> * configure.in: Use AC_CONFIG_AUX_DIR. From-SVN: r23173
Dave Love committed -
* combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg. All callers changed. (try_combine): Don't update max_scratch. * flow.c (max_scratch, num_scratch): Delete variables. (life_analysis_1): Don't initialize max_scratch. (propagate_block): Don't update max_scratch. (mark_set_1): Don't increment num_scratch. * regs.h (max_scratch): Delete declaration. From-SVN: r23172
Bernd Schmidt committed -
� * sched.c (update_flow_info): Handle death notes made invalid by instruction splitting. Partially reverts Oct 15, 1998 patch. * haifa-sched.c (update_flow_info): Likewise. From-SVN: r23171
Jeff Law committed -
� * sched.c (update_flow_info): Handle death notes made invalid by instruction splitting. Partially reverts Oct 15, 1998 patch. * haifa-sched.c (update_flow_info): Likewise. From-SVN: r23170
Jeff Law committed -
P * sched.c (update_flow_info): Handle death notes made invalid by instruction splitting. Partially reverts Oct 15, 1998 patch. * haifa-sched.c (update_flow_info): Likewise. From-SVN: r23169
Jeff Law committed -
* Makefile.in (lex.o): Depend on dwarfout.h. * lang-specs.h: Add missing braces in initializer. * lex.c: Include dwarfout.h, if DWARF_DEBUGGING_INFO is defined. From-SVN: r23168
Kaveh R. Ghazi committed -
From-SVN: r23167
Jeff Law committed
-
- 18 Oct, 1998 8 commits
-
-
config.if (cxx_interface, [...]): Do not try to set these if the appropriate directories and files to not exist. P * config.if (cxx_interface, libstdcxx_interface): Do not try to set these if the appropriate directories and files to not exist. From-SVN: r23166
Jeff Law committed -
config.if (cxx_interface, [...]): Do not try to set these if the appropriate directories and files to not exist. � * config.if (cxx_interface, libstdcxx_interface): Do not try to set these if the appropriate directories and files to not exist. From-SVN: r23165
Jeff Law committed -
function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL if it has a nonzero DECL_INITIAL. * function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL if it has a nonzero DECL_INITIAL. From-SVN: r23164
Jeffrey A Law committed -
* decl2.c (validate_nonmember_using_decl): Fix using-directives of std if std is ignored. From-SVN: r23162
Martin v. Löwis committed -
From-SVN: r23161
Jason Merrill committed -
* decl.c (grokdeclarator): Embedded attrs bind to the right, not the left. From-SVN: r23160
Jason Merrill committed -
* parse.y (fn.def2): Fix 'attrs' format. * Makefile.in (CONFLICTS): Update. * parse.y (expr_or_declarator_intern): New rule. (expr_or_declarator, direct_notype_declarator, primary, functional_cast): Use it. (notype_declarator_intern): New rule. (notype_declarator, complex_notype_declarator): Use it. From-SVN: r23159
Jason Merrill committed -
From-SVN: r23158
Jeff Law committed
-
- 17 Oct, 1998 13 commits
-
-
* decl.c (grokfndecl): Set DECL_CONTEXT to namespace if appropriate. (grokvardecl): Likewise. From-SVN: r23157
Jason Merrill committed -
* class.c (make_method_vec): Cast 1st argument of `bzero' to (PTR). (add_method): Likewise for arguments 1 & 2 of `bcopy'. * decl.c (signal_catch): Mark with ATTRIBUTE_NORETURN. * pt.c (process_partial_specialization): Cast 1st argument of `bzero' to (PTR). * tree.c (build_base_fields): Cast `base_align' to (int) when comparing against one. From-SVN: r23156
Kaveh R. Ghazi committed -
* Makefile.in (flow.o): Depend on recog.h. * cpplib.h (directive_table): Add missing initializiers. (finclude): Change type of variable `bsize' to size_t. * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED. * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE. * fix-header.c (lookup_std_proto): Cast the result of `strlen' to `int' when comparing against one. (cpp_file_line_for_message): Mark parameter `pfile' with ATTRIBUTE_UNUSED. (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED. * flow.c: Include recog.h. (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR). * function.c (thread_prologue_and_epilogue_insns): Mark parameter `f' with ATTRIBUTE_UNUSED. (reposition_prologue_and_epilogue_notes): Likewise. * genopinit.c (gen_insn): Cast argument of ctype functions to `unsigned char'. * haifa-sched.c: Include recog.h. (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when comparing against one. * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now. * mips-tfile.c (parse_end): Cast the argument of ctype function to `unsigned char'. (parse_ent): Likewise. (parse_input): Likewise. * optabs.c (init_libfuncs): Likewise. * protoize.c (find_rightmost_formals_list): Likewise. * recog.h (const_double_operand): Fix typo in prototype. * tlink.c (scan_linker_output): Cast the argument of ctype function to `unsigned char'. * toplev.c (check_lang_option): Cast the result of `strlen' to `int' when comparing against one. From-SVN: r23155
Kaveh R. Ghazi committed -
From-SVN: r23154
Graham Stott committed -
� * Makefile.in: Link with libiberty.a instead of memmove.o. From-SVN: r23153
Per Bothner committed -
From-SVN: r23152
Per Bothner committed -
Ignore text after end of first word of a language specific option. From-SVN: r23151
Nick Clifton committed -
From-SVN: r23150
Jeff Law committed -
* reload1.c (reg_used_by_pseudo): New static variable. (choose_reload_regs): Initialize it. Use it instead of testing spill_reg_order to determine whether a pseudo is live in a hard register across the current insn. Fix a typo in a reference to reload_reg_rtx. From-SVN: r23149
Bernd Schmidt committed -
flow.c (propagate_block): Replace code that computes and uses regs_sometimes_live with simpler code that... * flow.c (propagate_block): Replace code that computes and uses regs_sometimes_live with simpler code that just walks the set of currently live registers. From-SVN: r23148
Bernd Schmidt committed -
* Makefile.in (insn-extract.o): Fix dependencies. * genextract.c (main): Generate includes for insn-config.h and recog.h. Delete generation of declarations which are now in recog.h. * genrecog.c (main): Delete generation of definitions which are now in recog.c. * local-alloc.c (block_alloc): Use extract_insn and the variables it sets up instead of looking up values by insn_code. * recog.c (recog_operand, recog_operand_loc, recog_dup_loc, recog_dup_num): Define here instead of generating the definition in genrecog.c. (recog_n_operands, recog_n_dups, recog_n_alternatives, recog_operand_mode, recog_constraints, recog_operand_address_p): New variables. (extract_insn): New function. * recog.h (extract_insn): Declare function. (which_alternative, recog_n_operands, recog_n_dups, recog_n_alternatives, recog_operand_mode, recog_constraints, recog_operand_address_p): Declare variables. * regclass.c (n_occurrences): New static function. * reload.c (n_occurrences): Delete function. (find_reloads): Use extract_insn. * reload.h (n_occurrences): Delete declaration. From-SVN: r23147
Bernd Schmidt committed -
From-SVN: r23146
Jeff Law committed -
� * reload1.c (reload_as_needed): Fix test for when to call update_eliminable_offsets. From-SVN: r23145
Jeffrey A Law committed
-
- 16 Oct, 1998 1 commit
-
-
From-SVN: r23144
Ovidiu Predescu committed
-