- 10 Oct, 1999 13 commits
-
-
From-SVN: r29892
Jason Merrill committed -
* genrecog.c (add_to_sequence): Thinko last change: delete shadowing allow_const_int variable. From-SVN: r29891
Richard Henderson 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 -
From-SVN: r29889
Bernd Schmidt committed -
From-SVN: r29888
Bernd Schmidt committed -
From-SVN: r29887
Bernd Schmidt committed -
From-SVN: r29886
Richard Henderson committed -
* genrecog.c (add_to_sequence): Move allow_const_int test outside known predicate block; default allow_const_int true. From-SVN: r29885
Richard Henderson committed -
From-SVN: r29884
Richard Henderson committed -
From-SVN: r29883
Marc Espie committed -
* gcse.c (gcse_main): Avoid global optimizations if we have a large number of basic blocks and the ratio of edges to blocks is high. (delete_null_pointer_checks): Likewise. From-SVN: r29882
Jeffrey A Law committed -
* c-common.c (check_format_info): Warn if format string isn't a string literal. From-SVN: r29881
Ken Raeburn committed -
* configure.in (arm*-*-*): Don't let autoconf remove brackets * configure: regenerate From-SVN: r29880
Jonathan Larmour committed
-
- 09 Oct, 1999 5 commits
-
-
* 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 -
* alpha.md (extendsidi2): Turn into a splitter. Allow f/f. If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern. (peepholes): Re-enable. From-SVN: r29878
Richard Henderson committed -
* Makefile.in (flow.o): Depend on TREE_H. * basic-block.h (REG_SET_EQUAL_P): New. (XOR_REG_SET): New. (n_edges): Declare. (free_regset_vector): Remove declaration. (flow_delete_insn_chain): Declare. (enum update_life_extent): New. (update_life_info, count_or_remove_death_notes): Declare. * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head. Verify register live at bb->global_live_at_start before adding USE. * flow.c (HAVE_epilogue, HAVE_prologue): Provide default. (CLEAN_ALLOCA): New. (n_edges): New. (PROP_*): New flags. (find_basic_blocks_1): Use alloc_EXPR_LIST. (clear_edges): Zero n_edges. (make_edge): Increment n_edges. (split_edge): Don't allocate bb->local_set. Increment n_edges. (flow_delete_insn_chain): Export. (delete_block): Decrement n_edges. (merge_blocks_nomove): Likewise. (life_analysis): Give life_analysis_1 PROP flags. (verify_wide_reg_1, verify_wide_reg): New. (verify_local_live_at_start): New. (update_life_info): Rewrite to call into propogate_block. (mark_reg): New. (mark_regs_live_at_end): After reload, if epilogue as rtl, always mark stack pointer. Conditionally mark PIC register. After reload, mark call-saved registers, return regsiters. (life_analysis_1): Accept PROP flags not remove_dead_code. Call mark_regs_live_at_end before zeroing regs_ever_live. Use calculate_global_regs_live. Copy global_live_at_end before calling final propagate_block. Zero reg_next_use on exit. (calculate_global_regs_live): New. (allocate_bb_life_data): Don't allocate bb->local_set. (init_regset_vector, free_regset_vector): Remove. (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE. Test flags before every operation. Warn if prologue/epilogue insn would have been deleted. (mark_set_regs, mark_set_1): Accept and use FLAGS. Use alloc_EXPR_LIST. (mark_used_regs): Accept and use FLAGS, not FINAL. Remove special handling for RETURN. (try_pre_increment): Use alloc_EXPR_LIST. (dump_flow_info): Dump n_edges. (unlink_insn_chain, split_hard_reg_notes): Remove. (maybe_add_dead_note, maybe_add_dead_note_use): Remove. (find_insn_with_note, new_insn_dead_notes): Remove. (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove. (maybe_remove_dead_notes, prepend_reg_notes): Remove. (replace_insns): Remove. (count_or_remove_death_notes): New. (verify_flow_info): Abort on error after all checks. (remove_edge): Decrement n_edges. (remove_fake_edges): Tweek format. * haifa-sched.c (schedule_insns): Use split_all_insns. * output.h (update_life_info): Remove declaration. * recog.c (split_all_insns): From the corpse of split_block_insns, do the whole function block by block. Use update_life_info. (recog_last_allowed_insn): New. (recog_next_insn): Mind it. (peephole2_optimize): Set it. Walk backwards through blocks. Use update_life_info. * rtl.h (update_flow_info, replace_insns): Remove declarations. (split_all_insns): Declare. * toplev.c (rest_of_compilation): Thread prologue before flow2. Use split_all_insns. * i386.md (or -1 peep2s): Disable. From-SVN: r29877
Richard Henderson committed -
From-SVN: r29876
Richard Henderson committed -
From-SVN: r29875
Richard Henderson committed
-
- 08 Oct, 1999 16 commits
-
-
* config/mips/mips.md (movstrsi+[123]) : Combine these into a single pattern. Scrap the 'd' versions as unnecessary. * config/mips/mips.md (tablejump_internal3,tablejump_mips161, tablejump_mips162,tablejump_internal4): The operands to a label_ref must be VOIDmode. From-SVN: r29874
Richard Henderson committed -
From-SVN: r29873
Kaveh R. Ghazi committed -
* lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the cache every function if ggc_p. From-SVN: r29872
Richard Henderson committed -
From-SVN: r29871
Bernd Schmidt committed -
From-SVN: r29870
Bernd Schmidt committed -
* 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 -
From-SVN: r29868
Bernd Schmidt committed -
From-SVN: r29867
Jeff Law committed -
* rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber before the fctiwz insn. From-SVN: r29866
Richard Henderson 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 -
* tree.c (make_lang_type_fn): New funtion pointer. (make_lang_type): Call it. * tree.h (make_lang_type): Declare. (make_lang_type_fn): Likewise. * rs6000.c (rs6000_build_va_list): Use make_lang_type. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r29864
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 -
From-SVN: r29862
Mark Mitchell committed -
its proper place in gcc/ChangeLog. From-SVN: r29861
Diego Novillo committed -
* expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner. * c-decl.c (finish_struct): Use simpler method of removing elements of a singly-linked list. From-SVN: r29860
Jason Merrill 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 6 commits
-
-
From-SVN: r29858
Michael Meissner committed -
* genrecog.c (add_to_sequence): Disable mode check for wildcard matches. From-SVN: r29857
Richard Henderson committed -
From-SVN: r29856
Bernd Schmidt committed -
* friend.c (make_friend_class): Robustify. * semantics.c (finish_object_call_expr): Reject calls to template types. From-SVN: r29855
Mark Mitchell committed -
During class file generation, generate_classfile occasionally writes out a bunch of data and then skips backwards to fill in blanks. When configured with --enable-checking, this patching up will often trip the checking code. This change introduces UNSAFE_PUTx macros which never use CHECK_PUT. These should only be used in cases we know CHECK_PUT will fail. From-SVN: r29854
Anthony Green committed -
* configure.in: Detect mmap. Add --with-gc=foo to select garbage collector; default to page if mmap available. * Makefile.in (GGC): Substitute. From-SVN: r29853
Richard Henderson committed
-