- 15 Dec, 1999 23 commits
-
-
From-SVN: r30960
Jakub Jelinek committed -
* function.c (PREFERRED_STACK_BOUDNARY): Provide default value. (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY, update stack_alignment_needed. (prepare_function_start): Initialize stack_alignment_needed * function.h (struct function): Add field stack_alignment_needed. From-SVN: r30958
Jan Hubicka committed -
* caller-save.c (insert_one_insn): Returns struct insn_chain *. Handle live_throughout / dead_or_set instead of live_before / live_after. (save_call_clobbered_regs): Get register livenessinformation from chain->live_throughout. (add_stored_regs): New function. (insert_restore, insert_save): Add restored / saved registers to dead_or_set. * global.c (reg_dies): New parameter chain. (reg_becomes_live): Third parameter is regs_set now. Changed all callers. (reg_dies): New parameter chain. Changed all callers. (build_insn_chain): Set live_throughout instead of live_before / live_after. * reload.h (struct insn_chain): Replace members live_before / live_after with live_throughout / dead_or_set. * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set instead of live_before / live_after. (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise. (order_regs_for_reload, find_reg, finish_spills): Likewise. (choose_reload_regs_init): Likewise. * stupid.c (current_chain, find_clobbered_regs): Delete. (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set instead of chain->live_before / chain->live_after. (mark_hard_ref): New function. (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout. From-SVN: r30957
J"orn Rennecke committed -
1999-12-15 David S. Miller <davem@redhat.com> * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT. From-SVN: r30956
David S. Miller committed -
flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure. * flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure. (find_basic_block): Remove calculate_loop_depth call. * toplev.c (rest_of_compilation): Call find_basic_block. * output.h (calculate_loop_depth): Declare. From-SVN: r30955
Jan Hubicka committed -
* flow.c (dump_flow_info): Dump loop_depth. (flow_loop_nodes_find): Increase loop_depth for basic block in the body. (flow_loop_find): Initialize the loop_depth for each basic block. From-SVN: r30954
Jan Hubicka committed -
From-SVN: r30953
Nathan Sidwell committed -
* typeck.c (build_c_cast): Expand warning message. Move pointer alignment warning to after the cast. Don't warn about pointer alignment when given a pointer to incomplete. fix cut-n-paste error on 1999-12-09 Andreas Jaeger and 1999-12-09 Mark Mitchell (was 11999 & 999) From-SVN: r30952
Nathan Sidwell committed -
* cp-tree.h (make_aggr_type): Declare. * lex.c (cp_make_lang_type): Don't SET_IS_AGGR_TYPE. (make_aggr_type): New. * decl.c (build_typename_type, init_decl_processing): Use it. (build_ptrmemfunc_type, xref_tag): Likewise. * except.c (call_eh_info): Likewise. * init.c (init_init_processing): Likewise. * pt.c (process_template_parm, lookup_template_class): Likewise. * rtti.c (expand_class_desc): Likewise. * semantics.c (begin_class_definition, finish_typeof): Likewise. * tree.c (copy_template_template_parm): Likewise. From-SVN: r30951
Richard Henderson committed -
* tree.c (decl_function_context): Handle virtual functions. * tlink.c (scan_linker_output): Don't look in demangled name when looking for linker output keywords. * dwarfout.c (output_type): We can defer namespace-scope classes. From-SVN: r30950
Jason Merrill committed -
* cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using sizeof (struct tree_common). From-SVN: r30949
Jason Merrill committed -
* Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS). (MYCFLAGS): Include $(CFLAGS). From-SVN: r30948
Jason Merrill committed -
* filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove advertising clause from BSD license, pursuant with ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change From-SVN: r30947
Jason Merrill committed -
* dwarf2out.c (add_abstract_origin_attribute): Do call abort if the abstract origin wasn't emitted. From-SVN: r30946
Jason Merrill committed -
optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the outermost block to point to the inlined... * optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the outermost block to point to the inlined function decl. From-SVN: r30945
Jason Merrill committed -
From-SVN: r30944
Jeff Law committed -
regclass.c (record_reg_classes): Update comment for merging register class preferences in reg->reg copies. * regclass.c (record_reg_classes): Update comment for merging register class preferences in reg->reg copies. Tighten conditions for merging register class preferences in reg->reg copies. From-SVN: r30943
Jeffrey A Law committed -
* strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning. * stream.h (WS): Likewise. From-SVN: r30941
Martin v. Löwis committed -
From-SVN: r30940
Martin v. Löwis committed -
* std/bastring.h (basic_string::basic_string): Rename parameters to avoid shadow warnings. * std/bastring.cc (alloc): Likewise. From-SVN: r30938
Martin v. Löwis committed -
From-SVN: r30936
David Edelsohn committed -
* error.c (dump_decl): operator==, not operator ==. (op_to_string): Likewise. * decl.c (compute_array_index_type): Handle null name. * decl2.c (ambiguous_decl): Fix to match comment. (lookup_using_namespace): Adjust. * decl2.c (import_export_class): Don't ignore dllimport. From-SVN: r30935
Jason Merrill committed -
* class.c (check_field_decls): Split out from ... (finish_struct_1): ... here. Use it. Tidy. From-SVN: r30934
Mark Mitchell committed
-
- 14 Dec, 1999 17 commits
-
-
* config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete. (INIT_SECTION_ASM_OP): Delete. (FINI_SECTION_ASM_OP): Delete. (STARTFILE_SPEC): Define to hold just crtbegin.o. From-SVN: r30933
Geoff Keating committed -
From-SVN: r30932
David S. Miller committed -
* dwarf2out.c (class_scope_p): New fn. (gen_subprogram_die): Use it. (gen_variable_die): Use it. Tweak logic. (gen_struct_or_union_type_die): Check context_die to determine if we're function-local. (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE. From-SVN: r30931
Jason Merrill committed -
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com> * class.c (make_class_data): flag_keep_inline_functions to keep private methods in the method array. (This is a fix to the Java PR #110: http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html) From-SVN: r30930
Per Bothner committed -
From-SVN: r30929
Bernd Schmidt committed -
From-SVN: r30928
Nick Clifton committed -
* loop.c (strength_reduce): Fix sign of giv lifetime calculation for givs made from biv increments. From-SVN: r30927
J"orn Rennecke committed -
* cp-tree.h (remap_save_expr): Add walk_subtrees parameter. * optimize.c (copy_body_r): Pass it. * tree.c (remap_save_expr): Clear walk_subtrees for an already-handled SAVE_EXPR. (cp_unsave_r): Pass walk_subtrees to remap_save_expr. From-SVN: r30926
Mark Mitchell committed -
* dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS. * ir.texi (DECL_NAMESPACE_ALIAS): Document it. * error.c (dump_expr): Handle EXPR_WITH_FILE_LOCATION. From-SVN: r30925
Mark Mitchell committed -
* config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1. (ASM_IDENTIFY_GCC): Remove. From-SVN: r30924
Jakub Jelinek committed -
* configure.in (alpha-osf, alpha-linux): Handle ev6[78]. * alpha.c (override_options): Recognize -mcpu=ev67. * alpha.h (CPP_CPU_EV67_SPEC): New. (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it. (EXTRA_SPECS): Update. From-SVN: r30923
Richard Henderson committed -
* config.guess (alpha-osf, alpha-linux): Detect ev67. * config.sub: Accept alphaev[78], alphaev8. From-SVN: r30922
Richard Henderson committed -
* cppp.c (main): Set trigraphs and __STRICT_ANSI__ as appropriate for -lang-c89 and -std=*. * cppinit.c (cpp_handle_option): Likewise. (new_pending_define): New, split out from cpp_handle_option. * gcc.c (default_compilers): Don't define __STRICT_ANSI__ or enable trigraphs for -ansi/-std=*. * ginclude/stdarg.h (__va_copy): New. (va_copy): Don't define for C89. From-SVN: r30921
Richard Henderson committed -
* config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns for long long multiply-accumulate. From-SVN: r30919
Clinton Popetz committed -
* regclass.c (scan_one_insn): Set loop_cost to 1 when optimizing for size. From-SVN: r30918
Jan Hubicka committed -
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64. * config/sparc/sparc.h: Likewise. * config/sparc/xm-sysv4-64.h: Likewise. * config/float-sparc.h: Likewise. * glimits.h: Likewise. * longlong.h: Likewise. From-SVN: r30917
Jakub Jelinek committed -
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32. (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64, not %g2. (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2 as sparc64 block profiling register. * config/sparc/sparc.c (sparc_override_options): Allow block profiling with -m32. (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block profiling register. * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64. * config/sparc/sol2.h (MACHINE_STATE_*): Likewise. From-SVN: r30916
Jakub Jelinek committed
-