aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-27flow.c (update_life_info): Consider blocks null to mean the universal set.Richard Henderson2-27/+73
* flow.c (update_life_info): Consider blocks null to mean the universal set. (calculate_global_regs_live): Likewise. (life_analysis): Do that instead of collecting all_blocks. From-SVN: r33469
2000-04-26flow.c (tidy_fallthru_edge): Don't delete the jump when it's a still-valid ↵Richard Henderson2-1/+8
conditional jump. * flow.c (tidy_fallthru_edge): Don't delete the jump when it's a still-valid conditional jump. From-SVN: r33468
2000-04-26jump.c (invert_jump): Always invert REG_BR_PROB.Richard Henderson6-34/+33
* jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly. * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability. * flow.c (calculate_loop_depth): Remove. * output.h (calculate_loop_depth): Don't declare. * toplev.c (rest_of_compilation): Expand calculate_loop_depth inline; run estimate_probability at the same time. From-SVN: r33464
2000-04-27cpplib.h: "~=" is not a single pp-token.Neil Booth3-15/+19
2000-04-26 Neil Booth <NeilB@earthling.net> * cpplib.h: "~=" is not a single pp-token. * cpplex.c: Correct commentary. From-SVN: r33463
2000-04-26flow.c (mark_set_1): New arguments code and flags; update all callers.Richard Henderson2-134/+97
* flow.c (mark_set_1): New arguments code and flags; update all callers. Track regno_first and regno_last; do HARD_REGNO_NREGS test in one place. Tidy flags tests. Don't bias REG_N_REFS by loop_depth when optimizing for size. Do new_dead update after emitting REG_UNUSED notes. Merge mark_set_reg code. (mark_set_reg): Remove. (propagate_one_insn): Use mark_set_1 for call-clobbered registers; arrange to not emit REG_UNUSED notes. From-SVN: r33462
2000-04-26flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.Richard Henderson3-9/+10
* flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN. * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn. From-SVN: r33461
2000-04-26flow.c (propagate_one_insn): Break out from propagate_block.Richard Henderson3-243/+290
* flow.c (propagate_one_insn): Break out from propagate_block. (init_propagate_block_info): Likewise. (free_propagate_block_info): Likewise. (propagate_block): Use them. Export. * basic-block.h: Declare them all. From-SVN: r33460
2000-04-26basic-block.h (life_analysis): Declare here ...Richard Henderson7-33/+31
* basic-block.h (life_analysis): Declare here ... * output.h: ... not here. * flow.c (life_analysis): Remove nregs parameter; replace remove_dead_code with flags. Remove ssa dead code check. Only init alias analysis if we'll use it. * reg-stack.c (reg_to_stack): Update life_analysis arguments. * ssa.c (convert_to_ssa): Likewise. (convert_from_ssa): Likewise. * toplev.c (rest_of_compilation): Likewise. From-SVN: r33459
2000-04-26flow.c (flow_delete_block): Rename from delete_block.Richard Henderson3-5/+10
* flow.c (flow_delete_block): Rename from delete_block. Export. * basic-block.h (flow_delete_block): Declare. From-SVN: r33458
2000-04-26http://gcc.gnu.org/ml/gcc-patches/2000-04/msg01057.htmlDavid S. Miller2-1/+7
From-SVN: r33457
2000-04-27cpplex.c (spell_other, spell_char): Remove.Neil Booth3-63/+42
* cpplex.c (spell_other, spell_char): Remove. (SPELL_CHAR): New. (token_spelling, trigraph_map): Use unsigned chars. (_cpp_lex_line): Tidy up the switch statement. * cpplib.h: Implement spell_char with spell_string. (C): New. From-SVN: r33454
2000-04-27Fixed ChangeLog merge snafuTom Tromey1-1/+0
From-SVN: r33453
2000-04-27<<<<<<< ChangeLogJakub Jelinek9-102/+206
2000-04-26 Jakub Jelinek <jakub@redhat.com> * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC. (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START - sparc glibc does not provide it. (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*. Make STACKBOTTOM depend on the wordsize. * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*. (struct frame): Declare on sparc*-linux*. (GC_save_callers): Bias the frame pointers if needed (sparc64). * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32. Implement on sparc64. (GC_clear_stack_inner): Implement on sparc64. * gc_priv.h (GC_test_and_set): Implement for sparc. * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use From-SVN: r33452
2000-04-27zextract.c (find_zip_file_start): New function.Tom Tromey2-7/+34
* zextract.c (find_zip_file_start): New function. (read_zip_archive): Use it. From-SVN: r33451
2000-04-27* execute/loop-5.c: New test.Geoff Keating2-0/+40
From-SVN: r33450
2000-04-26pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.Rodney Brown3-2/+7
* pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal. * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal. From-SVN: r33449
2000-04-26dwarf2out.c (dw_cfi_oprnd_struct, [...]): Constify a char*.Kaveh R. Ghazi5-55/+73
* dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi, reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa, dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save, dwarf2out_return_reg, dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename, add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label, gen_compile_unit_die, dwarf2out_init): Constify a char*. * dwarf2out.h (dwarf2out_init): Likewise. * dwarfout.c (filename_entry, primary_filename, last_filename, type_tag, output_compile_unit_die, dwarfout_init): Likewise. * tree.h (dwarf2out_def_cfa, dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save, dwarf2out_return_reg): Likewise. From-SVN: r33448
2000-04-26Makefile.in: Rebuilt.Tom Tromey3-51/+27
* Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions. From-SVN: r33447
2000-04-26cp-tree.h (TREE_READONLY_DECL_P): Use DECL_P.Mark Mitchell10-33/+42
* cp-tree.h (TREE_READONLY_DECL_P): Use DECL_P. * init.c (decl_constant_value): Check TREE_READONLY_DECL_P. * call.c (convert_like_real): Don't test TREE_READONLY_DECL_P before calling decl_constant_value. * class.c (check_bitfield_decl): Likewise. * cvt.c (ocp_convert): Likewise. (convert): Likewise. * decl.c (compute_array_index_type): Likewise. (build_enumerator): Likewise. * decl2.c (check_cp_case_value): Likewise. * pt.c (convert_nontype_argument): Likewise. (tsubst): Likewise. * typeck.c (decay_conversion): Likewise. (build_compound_expr): Likewise. (build_reinterpret_cast): Likewise. (build_c_cast): Likewise. (convert_for_assignment): Likewise. From-SVN: r33446
2000-04-26extend.texi (Function Attributes): Fix description of pure attribute.Andreas Jaeger2-1/+6
2000-04-26 Andreas Jaeger <aj@suse.de> * extend.texi (Function Attributes): Fix description of pure attribute. From-SVN: r33445
2000-04-26* cpplex.c: fix typos in commentNeil Booth1-9/+10
From-SVN: r33444
2000-04-26* cpplex.c: add comment describing lexer algorithm.Neil Booth1-0/+90
From-SVN: r33443
2000-04-26Daily bump.Jeff Law5-5/+5
From-SVN: r33442
2000-04-26integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT before ↵Jason Merrill2-3/+8
calling rest_of_compilation. * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT before calling rest_of_compilation. From-SVN: r33441
2000-04-26linux.h: Remove erroneous commit of #if 0/#endif in last patch.Andreas Jaeger2-2/+5
2000-04-26 Andreas Jaeger <aj@suse.de> * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in last patch. From-SVN: r33440
2000-04-26cpu: Atomicity cleanups.Nathan Myers7-190/+159
2000-04-24 Nathan Myers <ncm@cantrip.org> * config/cpu: Atomicity cleanups. * config/cpu/alpha/bits: New directory. * config/cpu/arm/bits: New directory. * config/cpu/generic/bits: New directory. * config/cpu/i386/bits: New directory. * config/cpu/powerpc/bits: New directory. * config/cpu/sparc/sparc32/bits: New directory. * config/cpu/sparc/sparc32/bits: New directory. * config/cpu/*/bits: Move atomicity.h files to here. From-SVN: r33438
2000-04-25* cse.c (cse_insn): Emit barrier after unconditional jump.Richard Henderson2-0/+7
From-SVN: r33433
2000-04-25calls.c (expand_call): Disable tail call generation once ↵Richard Henderson3-3/+18
rtx_equal_function_value_matters is false. * calls.c (expand_call): Disable tail call generation once rtx_equal_function_value_matters is false. * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges like EDGE_EH edges. From-SVN: r33431
2000-04-25dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.Jason Merrill8-43/+57
* dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR. * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs. * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE is the primary DIE for a member function. (gen_decl_die): Call set_decl_origin_self here. * dwarfout.c (output_decl): And here. * integrate.c (output_inline_function): Not here. Don't clear DECL_INLINE until after calling rest_of_compilation. (set_decl_origin_self): No longer static. * tree.h: Add prototype. * toplev.c (note_deferral_of_defined_inline_function): Only write out abstract instance for actual inlines. * cp/decl.c (finish_function): Don't play games with DECL_INLINE. From-SVN: r33430
2000-04-26mn10300.h (REG_CLASS_FROM_LETTER): Return EXTENDED_REGS only if TARGET_AM33.Alexandre Oliva3-19/+17
* config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return EXTENDED_REGS only if TARGET_AM33. * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing SP_REGS to register allocation and reloading unless absolutely necessary. (movsi3): Remove special-case of adding non-constants to SP. From-SVN: r33429
2000-04-26aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires INCLUDES to ↵Kaveh R. Ghazi6-452/+343
search and does not provide any of its own. * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires INCLUDES to search and does not provide any of its own. Also it now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED parameters. Also it does not call AC_DEFINE. (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls AC_DEFINE and provides for automatic entries for autoheader. (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test. * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS so we can pass -I flags and include gansidecl.h/system.h in this test. * acconfig.h: Delete all NEED_DECLARATION_* entries. From-SVN: r33428
2000-04-25Oops, missed ChangeLog in last checkin...Kaveh Ghazi1-0/+11
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Delete entries. * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE for these macros. Clean up spacing and linewraps. From-SVN: r33427
2000-04-25calls.c (expand_call): Use get_callee_fndecl.Jason Merrill3-29/+33
* calls.c (expand_call): Use get_callee_fndecl. * print-tree.c (print_node): Print the chain of an _EXPR. From-SVN: r33426
2000-04-25correct commentJason Merrill1-4/+3
From-SVN: r33425
2000-04-25Add partial support for IA-64 unwind sections.Andrew MacLeod6-68/+652
* config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc and gp save/restore problems. * config/ia64/crtend.asm: Add IA-64 unwind support. * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size in fr_pad_size calculation. ... Co-Authored-By: Andrew Haley <aph@cygnus.com> Co-Authored-By: Jim Wilson <wilson@cygnus.com> From-SVN: r33424
2000-04-25use install-bin and install-sh in fixinc's makefileBruce Korb3-44/+47
From-SVN: r33423
2000-04-25re GNATS gcj/181 (gcj crashes on inner classes/interfaces definition/usage.)Alexandre Petit-Bianco3-0/+19
Mon Apr 24 14:59:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (end_class_declaration): Reset the interface number counter. (This fixes the Java PR #181: http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00207.html) From-SVN: r33422
2000-04-25Define FUNCTION_ATTRIBUTE_INLINABLE_P, a target macro to allow functions withNick Clifton3-1/+39
target specific attributes to be inlined. From-SVN: r33421
2000-04-25acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.Kaveh Ghazi4-327/+354
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Delete entries. * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE for these macros. Clean up spacing and linewraps. From-SVN: r33420
2000-04-25[multiple changes]Zack Weinberg6-74/+1492
2000-04-25 Zack Weinberg <zack@wolery.cumb.org> * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix commentary. 2000-04-25 Neil Booth <NeilB@earthling.net> Restore previous patch, plus the following fixes: * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in flags, not CPP_OPEN_PAREN. * cpplex.c (expand_token_space, init_token_list, cpp_free_token_list): Put the dummy token at list->tokens[-1]. (_cpp_lex_line, _cpp_lex_file): token list is 0-based. From-SVN: r33419
2000-04-25* execute/va-arg-20.c: New test.Jakub Jelinek2-0/+26
From-SVN: r33418
2000-04-25* config/i386/freebsd.h (INT_ASM_OP): Define.Alexandre Oliva2-1/+10
From-SVN: r33417
2000-04-25ir.texi: Correct typo.Gabriel Dos Reis2-1/+5
2000-04-25 Gabriel Dos Reis <gdr@codesourcery.com> * ir.texi: Correct typo. From-SVN: r33416
2000-04-25MethodFailure4.java: New file.Alexandre Petit-Bianco3-0/+46
2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava.compile/MethodFailure4.java: New file. * libjava.compile/MethodFailure4.out: New file. From-SVN: r33415
2000-04-25* loop.c (strength_reduce): Fix typo in the last checkin.Jan Hubicka2-1/+5
From-SVN: r33413
2000-04-25stor-layout.c (finalize_record_size): Simplify to use existing functions.Richard Kenner3-21/+21
* stor-layout.c (finalize_record_size): Simplify to use existing functions. (compute_record_mode): No longer static. * tree.h (compute_record_mode): New declaration. From-SVN: r33412
2000-04-25* Revert previous patch until build failure cause determined.Neil Booth6-1470/+75
From-SVN: r33411
2000-04-25Fix commentRichard Kenner1-1/+1
From-SVN: r33410
2000-04-25combine.c (combine_instructions): Add missing argument to try_combine.Richard Henderson2-1/+7
* combine.c (combine_instructions): Add missing argument to try_combine. From-SVN: r33408
2000-04-25toplev.c (rest_of_compilation): Delay sibcall optimization until after ↵Richard Henderson2-10/+16
emit_eh_context. * toplev.c (rest_of_compilation): Delay sibcall optimization until after emit_eh_context. From-SVN: r33407