- 01 Nov, 1999 1 commit
-
-
decl.c (finish_function): Call free_after_parsing for functions we are not immediately turning into RTL. * decl.c (finish_function): Call free_after_parsing for functions we are not immediately turning into RTL. From-SVN: r30302
Mark Mitchell committed
-
- 31 Oct, 1999 2 commits
-
-
From-SVN: r30293
Brendan Kehoe committed -
From-SVN: r30285
Stephen L Moshier committed
-
- 30 Oct, 1999 1 commit
-
-
* decl.c (pop_cp_function_context): Don't call free on a NULL pointer. * semantics.c: Include ggc.h. (expand_body): Do garbage-collection after processing a template function. Clear DECL_SAVED_TREE after generating RTL for a function. * Makefile.in (semantics.o): Depend on ggc.h. From-SVN: r30279
Mark Mitchell committed
-
- 29 Oct, 1999 2 commits
-
-
* cp-tree.h (make_typename_type): Change prototype. * decl.c (make_typename_type): Only complain if so requested. * parse.y (nested_name_specifier): Adjust calls. (typename_sub0): Likewise. (typename_sub1): Likewise. * parse.c: Regenerated. * pt.c (convert_template_argument): Pass complain to make_typename_type. (tsubst): Likewise. From-SVN: r30254
Mark Mitchell committed -
semantics.c (finish_handler): End the scope of the handler before attaching it to the statement-tree. * semantics.c (finish_handler): End the scope of the handler before attaching it to the statement-tree. From-SVN: r30250
Mark Mitchell committed
-
- 28 Oct, 1999 3 commits
-
-
From-SVN: r30249
Ian Lance Taylor committed -
rtti.c (build_dynamic_cast_1): Give a better error message for an attempt to dynamic_cast a polymorphic type. * rtti.c (build_dynamic_cast_1): Give a better error message for an attempt to dynamic_cast a polymorphic type. From-SVN: r30248
Ian Lance Taylor committed -
* cp-tree.h (make_temp_vec): Remove. (make_scratch_vec): Likewise. * call.c (add_function_candidate): Use make_tree_vec. (add_conv_candidate): Likewise. (build_builtin_candidate): Likewise. (add_template_candidate_real): Likewise. * class.c (resolve_address_of_overloaded_function): Likewise. * decl.c (start_function): Don't fool with the momentary obstack. (finish_function): Likewise. * init.c (expand_direct_vtbls_init): Likewise. (begin_init_stmts): Likewise. (finish_init_stmts): Likewise. * pt.c (add_to_template_args): Use make_tree_vec. (check_explicit_specialization): Likewise. (coerce_template_parms): Likewise. (lookup_template_class): Don't fool with the momentary obstack. (instantiate_class_template): Likewise. (tsubst_template_arg_vector): Use make_tree_vec. (tsubst_aggr_type): Don't fool with the momentary obstack. (tsubst_decl): Likewise. Use make_tree_vec. (try_one_overload): Likewise. (try_class_unification): Don't fool with the momentary obstack. (get_bindings_real): Use make_tree_vec. (set_mangled_name_for_template_decl): Likewise. * rtti.c (synthesize_tinfo_fn): Don't fool with the momentary obstack. * semantics.c (finish_expr_stmt): Likewise. (finish_do_stmt): Likewise. (finish_for_expr): Likewise. (finish_switch_cond): Likewise. (do_pushlevel): Likewise. (do_poplevel): Likewise. * tree.c (make_temp_vec): Remove. From-SVN: r30225
Mark Mitchell committed
-
- 27 Oct, 1999 2 commits
-
-
* dump.c (dequeue_and_dump): Dump HANDLERs and SAVE_EXPRs. Dump CLEANUP_P for a TRY_BLOCK. * ir.texi: Document SAVE_EXPR. From-SVN: r30218
Mark Mitchell committed -
c-typeck.c (build_function_call): Check that the built-in function is of class BUILT_IN_NORMAL before trying to... * c-typeck.c (build_function_call): Check that the built-in function is of class BUILT_IN_NORMAL before trying to recongize it as BUILT_IN_ABS. * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA. * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE. * call.c (build_over_call): Check that the built-in function is of class BUILT_IN_NORMAL before trying to recongize it as BUILT_IN_ABS. * typeck.c (build_function_call_real): Similarly. From-SVN: r30208
Jeffrey A Law committed
-
- 26 Oct, 1999 1 commit
-
-
* tree.h (BLOCK_TYPE_TAGS): Remove. (BLOCK_END_NOTE): Likewise. (BLOCK_LIVE_RANGE_FLAG): Likewise. (BLOCK_LIVE_RANGE_START): Likewise. (BLOCK_LIVE_RANGE_END): Likewise. (tree_block): Remove live_range_flag, live_range_var_flag, and type_tags. Remove end_note, live_range_start, and live_range_end. (remember_end_note): Remove prototype. * tree.c (build_block): Don't set BLOCK_TYPE_TAGS. * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call remember_end_note. * ggc-common.c (ggc_mark_tree_children): Don't mark BLOCK_TYPE_TAGS or BLOCK_END_NOTE. * integrate.c (adjust_copied_decl_tree): Remove. * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS. * stmt.c (last_block_end_note): Remove. (init_stmt): Don't add a GC root for it. (expand_fixup): Don't set it. (remember_end_note): Remove. (expand_end_bindings): Don't set last_block_end_note. * ch-tree.h (remember_end_note): Remove prototype. * decl.c (poplevel): Don't call remember_end_note. * decl.c (poplevel): Don't set BLOCK_TYPE_TAGS. Don't call remember_end_note. * com.c (poplevel): Don't call remember_end_note. * decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call remember_end_note. From-SVN: r30188
Mark Mitchell committed
-
- 25 Oct, 1999 1 commit
-
-
* decl.c (push_overloaded_decl_1): Use pushdecl. * decl.c (auto_function): Replace #ifdef'd __inline with just plain inline. * lex.c (my_get_run_time): Likeise. (yyprint): Likewise. (identifier_type): Likewise. * method.c (start_squangling): Likewise. (end_squangling): Likewise. (icat): Likewise. (old_backref_index): Likewise. (flush_repeats): Likewise. (issue_ktype): Likewise. * parse.y (empty_parms): Likewise. * parse.c: Regenerated. From-SVN: r30154
Mark Mitchell committed
-
- 23 Oct, 1999 1 commit
-
-
From-SVN: r30136
Jason Merrill committed
-
- 22 Oct, 1999 2 commits
-
-
* cp-tree.def (EMPTY_CLASS_EXPR): New tree node. * call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR. * expr.c (cplus_expand_expr): Expand it. * ir.texi: Document EMPTY_CLASS_EXPR. From-SVN: r30128
Mark Mitchell committed -
1999-10-21 Mark Mitchell <mark@codesourcery.com> * dump.c (dequeue_and_dump): Replace several uses of queue_and_dump_index with dump_child. From-SVN: r30123
Mark Mitchell committed
-
- 21 Oct, 1999 3 commits
-
-
* calls.c: Include tm_p.h later, so everything we need is defined. * expr.c: Likewise. * function.c: Likewise. * except.c: Include tm_p.h. * sparc.c: Likewise. (dwarf2out_cfi_label): Don't prototype. (check_return_regs, epilogue_renumber, ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists, ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline, ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask, ultra_schedule_insn): Add static prototype. (data_segment_operand, text_segment_operand): Call itself with the proper number of arguments. (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*. * sparc.h: Move all declarations to sparc-protos.h. (SELECT_RTX_SECTION): Pass a missing MODE argument to symbolic_operand. * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise. * config/svr4.h (text_section, ctors_section, dtors_section): Add Prototypes. (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION, ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII): Constify a char*. * sparc-protos.h: New file for sparc prototypes. cp: * expr.c: Include tm_p.h. From-SVN: r30122
Kaveh R. Ghazi committed -
* cp-tree.h (SCOPE_PARTIAL_P): New macro. (pushlevel_temporary): Remove. (add_scope_stmt): New function. * decl.c (pushlevel_temporary): Remove. (poplevel): Use add_scope_stmt. (start_decl_1): Likewise. * semantics.c (add_scope_stmt): New function. (do_pushlevel): Use it. (do_poplevel): Use it. (expand_stmt): Check SCOPE_PARTIAL_P. From-SVN: r30118
Mark Mitchell committed -
* cp-tree.def (EMPTY_CLASS_EXPR): New tree node. * call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR. * expr.c (cplus_expand_expr): Expand it. * ir.texi: Document EMPTY_CLASS_EXPR. From-SVN: r30116
Mark Mitchell committed
-
- 20 Oct, 1999 1 commit
-
-
* cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespace scope. From-SVN: r30097
Mark Mitchell committed
-
- 19 Oct, 1999 1 commit
-
-
* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove. (mangling_flags): New type. (build_overload_int): Change prototype. (build_overload_value): Likewise. (numeric_output_need_bar): Improve comment. (mangle_expression): New function, broken out from ... (build_overload_int): Here. (build_overload_value): Adjust for use of mangling flags. Don't warn about real-valued template parameters here. Do handle complex expressions involving real-valued template parameters. (build_template_parm_names): Encase non-type template parameters in underscores, if necessary. (process_overload_item): Remove conditional on PARM_CAN_BE_ARRAY_TYPE. From-SVN: r30090
Mark Mitchell committed
-
- 17 Oct, 1999 1 commit
-
-
* dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR. * ir.texi: Clean up documentation of RETURN_INIT. From-SVN: r30056
Mark Mitchell committed
-
- 16 Oct, 1999 1 commit
-
-
* lex.c (lang_init_options): Set flag_bounds_check as "unspecified". (lang_init): Set default for flag_bounds_check if still "unspecified". From-SVN: r30038
Greg McGary committed
-
- 14 Oct, 1999 2 commits
-
-
1999-10-13 Andrew Haley <aph@cygnus.com> * class.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT. From-SVN: r29973
Andrew Haley committed -
* expr.c (store_constructor): Clear union if constructor is empty. cp: * typeck2.c (process_init_constructor): Handle empty constructors. testsuite: * g++.old-deja/g++.other/union2.C: New test. From-SVN: r29956
J"orn Rennecke committed
-
- 13 Oct, 1999 3 commits
-
-
* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL. * pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size array error. From-SVN: r29954
Jason Merrill committed -
* decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants. From-SVN: r29945
Mark Mitchell committed -
* cp-tree.h (build_x_va_arg): Prototype new function. * call.c (build_x_va_arg): Define it. * parse.y (unary_expr): Call build_x_va_arg. * cp-tree.h (convert_type_from_ellipsis): Prototype new function. * call.c (convert_type_from_ellipsis): Define it. * decl.c (init_decl_processing): Set lang_type_promotes_to. * tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates. From-SVN: r29942
Nathan Sidwell committed
-
- 12 Oct, 1999 1 commit
-
-
From-SVN: r29905
Jason Merrill committed
-
- 10 Oct, 1999 2 commits
-
-
From-SVN: r29892
Jason Merrill committed -
include: * ansidecl.h (HAVE_GCC_VERSION): New macro. Use instead of explicitly testing __GNUC__ and __GNUC_MINOR__. (ATTRIBUTE_PRINTF): Use `__format__', not `format'. gcc: * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing __GNUC__ and __GNUC_MINOR__. * gansidecl.h: Likewise. * rtl.c: Likewise. * rtl.h: Likewise. * toplev.h: Likewise. * tree.c: Likewise. * tree.h: Likewise. * varray.c: Likewise. * varray.h: Likewise. cp: * cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing __GNUC__ and __GNUC_MINOR__. f: * proj.h: Use HAVE_GCC_VERSION instead of explicitly testing __GNUC__ and __GNUC_MINOR__. Don't define BUILT_WITH_270. Define macro UNUSED in terms of ATTRIBUTE_UNUSED. From-SVN: r29890
Kaveh R. Ghazi committed
-
- 09 Oct, 1999 1 commit
-
-
* cp-tree.h (make_rtl_for_local_static): New function. * decl.c (make_rtl_for_nonlocal_decl): Move code to create RTL for local statics ... (make_rtl_for_local_static): Here. * semantics.c (expand_stmt): Use make_rtl_for_local_static. From-SVN: r29879
Mark Mitchell committed
-
- 08 Oct, 1999 4 commits
-
-
* Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h. * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of arguments to `current_file_function_operand'. * genrecog.c: Include hard-reg-set.h and resource.h in the generated output file. * real.c: Include tm_p.h. cp: * method.c: Include tm_p.h. From-SVN: r29869
Kaveh R. Ghazi committed -
* cp-tree.h (cp_make_lake_type): Renamed from make_lang_type. * lex.c (cp_make_lake_type): Likewise. * tree.c (init_tree): Init make_lang_type_fn. From-SVN: r29865
Franz Sirl committed -
* pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch paramter. * semantics.c (expand_stmt): Don't pretend to have asmspecs for local statics if we don't really have them. * ir.texi: Improve documentation for STMT_EXPR. Describe CLEANUP_POINT_EXPR. From-SVN: r29863
Mark Mitchell committed -
* class.c (build_vtable_entry_ref): Use finish_asm_stmt. * class.c (finish_struct_1): Use simpler method of removing elements of a singly-linked list which doesn't lose for classes without data members. From-SVN: r29859
Jason Merrill committed
-
- 07 Oct, 1999 2 commits
-
-
* friend.c (make_friend_class): Robustify. * semantics.c (finish_object_call_expr): Reject calls to template types. From-SVN: r29855
Mark Mitchell committed -
From-SVN: r29849
Mark Mitchell committed
-
- 06 Oct, 1999 2 commits
-
-
* cp-tree.h (CLASSTYPE_VFIELD): Remove. * call.c (build_vfield_ref): Use TYPE_VFIELD, not CLASSTYPE_VFIELD. * class.c (get_vfield_offset): Likewise. (finish_base_struct): Likewise. (modify_one_vtable): Likewise. (fixup_vtable_deltas): Likewise. (finish_struct_1): Likewise. * init.c (expand_virtual_init): Likewise. * search.c (lookup_field_1): Likewise. (expand_upcast_fixups): Likewise. * typeck.c (build_component_ref): Likewise. (build_binary_op_nodefault): Likewise. * dump.c (dqueue_and_dump): Dump TYPE_VFIELD. * ir.texi: Document TYPE_VFIELD. From-SVN: r29843
Mark Mitchell committed -
decl.c (grokdeclarator): Only warn about non-zero arrays if !in_system_header (linux socketbits.h can... * decl.c (grokdeclarator): Only warn about non-zero arrays if !in_system_header (linux socketbits.h can give this for __cmsg_data, which is using a GNU extension). From-SVN: r29842
Brendan Kehoe committed
-