aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-21configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever ↵Christopher Faylor3-66/+77
hosting on cygwin. * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting on cygwin. * configure: Regenerate. From-SVN: r45081
2001-08-21gcov.exp: Add support for branch information.Janis Johnson1-0/+8
* gcc.misc-tests/gcov.exp: Add support for branch information. * gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up. * gcc.misc-tests/gcov-4.c: New test. * gcc.misc-tests/gcov-4b.c: New test. * gcc.misc-tests/gcov-5b.c: New test. From-SVN: r45080
2001-08-21Remove information about new tests, to move to testsuite/ChangeLog.Janis Johnson1-6/+0
From-SVN: r45079
2001-08-21stmt.c: Don't include insn-codes.h.Zack Weinberg6-207/+223
* stmt.c: Don't include insn-codes.h. (expand_end_case): Machine specific logic moved to expr.c. No need to worry about __builtin_classify_type. (check_for_full_enumeration_handling, emit_case_nodes): Kill #if 0 blocks. * builtins.o (expand_builtin_classify_type): Split up so code can be shared with fold_builtin_classify_type. (type_to_class, fold_builtin_classify_type): New functions. (fold_builtins): Handle __builtin_classify_type. * expr.c (do_tablejump): Now static. (case_values_threshold, try_casesi, try_tablejump): New; code mostly from stmt.c (expand_end_case). (expr.h): Update prototypes. * Makefile.in (stmt.o): Update dependencies. From-SVN: r45078
2001-08-21IdentityHashMap.java (get): Fix off-by-one error.Jeff Sturm2-2/+7
* java/util/IdentityHashMap.java (get): Fix off-by-one error. (put): Likewise. From-SVN: r45077
2001-08-21alpha.h (CONDITIONAL_REGISTER_USAGE): Added local declaration of variable i.Will Cohen3-4/+16
2001-08-21 Will Cohen <wcohen@redhat.com> * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local declaration of variable i. * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local declaration of variable i. From-SVN: r45076
2001-08-21crtstuff.c: Fix thinko last change.Richard Henderson3-91/+92
* crtstuff.c: Fix thinko last change. Move list tails to start of CRT_END section. Tidy ifdefs. (__EH_FRAME_BEGIN__): Always static for ELF. (__do_global_ctors_1): Rename from __frame_dummy. * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1 name change; don't hide __EH_FRAME_BEGIN__. From-SVN: r45075
2001-08-21* gdbinit.in: Move break on exit after break on fancy_abort.Richard Henderson2-1/+3
From-SVN: r45074
2001-08-21ia64.c (ia64_return_in_memory): True for variable sized types.Richard Henderson2-4/+13
* config/ia64/ia64.c (ia64_return_in_memory): True for variable sized types. From-SVN: r45073
2001-08-21Daily bump.GCC Administrator6-6/+6
From-SVN: r45071
2001-08-21cpphash.h (_cpp_push_next_buffer): New.Neil Booth6-89/+136
* cpphash.h (_cpp_push_next_buffer): New. * cppinit.c (do_includes): Remove. (push_include, free_chain, _cpp_push_next_buffer): New. (cpp_start_read): Use them to rework command line option handling. (cpp_handle_option): Combine handling of -include and -imacros. * cpplex.c (_cpp_lex_token): Push a new -include buffer if appropriate. Always insert missing \n at EOF. * cpplib.c (start_directive): Get the directive position right. * cppmain.c (cb_file_change): Always print the first line, unless preprocessed. From-SVN: r45070
2001-08-21profile.c (compute_branch_probabilities): Remove extra new-line in error ↵Andreas Jaeger3-4/+10
message. * profile.c (compute_branch_probabilities): Remove extra new-line in error message. * flow.c (verify_flow_info): Likewise. From-SVN: r45069
2001-08-20basic-block.h (basic_block): Add new field 'flags'.Diego Novillo3-16/+42
* basic-block.h (basic_block): Add new field 'flags'. (BB_REACHABLE): Define. (expunge_block): Declare. * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'. (EXIT_BLOCK_PTR): Ditto. (expunge_block): Remove static declaration. (cleanup_cfg): Clear bb->aux on every basic block. (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when computing reachability. (delete_unreachable_blocks): Delete block b if b->flags has BB_REACHABLE unset. From-SVN: r45068
2001-08-20* doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.Diego Novillo2-2/+6
From-SVN: r45067
2001-08-21* sparc.c (sparc_variable_issue): Fix typo in last change.Kaveh R. Ghazi2-1/+5
From-SVN: r45066
2001-08-21floatformat.h (floatformat_arm_ext): Document as deprecated.Andrew Cagney4-8/+71
* floatformat.h (floatformat_arm_ext): Document as deprecated. (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare. From-SVN: r45065
2001-08-2020000801-4.x: Delete, test no longer expected to fail.Zack Weinberg2-2/+5
* gcc.c-torture/execute/20000801-4.x: Delete, test no longer expected to fail. From-SVN: r45064
2001-08-20* varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.Richard Henderson2-0/+7
From-SVN: r45063
2001-08-20fibheap.h: New file.Daniel Berlin5-2/+647
include/ 2001-08-20 Daniel Berlin <dan@cgsoftware.com> * fibheap.h: New file. Fibonacci heap. libiberty/ 2001-08-20 Daniel Berlin <dan@cgsoftware.com> * fibheap.c: New file. Fibonacci heap. * Makefile.in (CFILES): Add fibheap.c. (REQUIRED_OFILES): Add fibheap.o. (fibheap.o): Add dependencies for fibheap.o. From-SVN: r45062
2001-08-20* java/awt/GridBagConstraints.java: Removed comment.Tom Tromey2-2/+3
From-SVN: r45061
2001-08-20jni.cc (nathash, [...]): New globals.Tom Tromey2-21/+166
* jni.cc (nathash, nathash_count, nathash_size): New globals. (DELETED_ENTRY): New define. (hash): New function. (nathash_find_slot): Likewise. (natrehash): Likewise. (nathash_add): Likewise. (_Jv_JNI_RegisterNatives): No longer interpreter-specific. Use nathash_add. (nathash_find): New function. (_Jv_LookupJNIMethod): Use it. Synchronize body. (call): Synchronize around assignment. From-SVN: r45060
2001-08-20* pa.h (RETURN_IN_MEMORY): Improve comment.John David Anglin2-2/+7
From-SVN: r45059
2001-08-20Test of gcov branch coverage reporting.Janis Johnson2-0/+295
From-SVN: r45058
2001-08-20Test of gcov line coverage information.Janis Johnson1-0/+271
From-SVN: r45057
2001-08-20Change to invoke gcov and clean up.Janis Johnson1-1/+2
Remove dg-prms-id, which carried over to other tests. From-SVN: r45056
2001-08-20Add support for branch information.Janis Johnson1-23/+179
From-SVN: r45055
2001-08-20gcov.exp: Add support for branch information.Janis Johnson1-0/+6
* gcc.misc-tests/gcov.exp: Add support for branch information. * gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up. * gcc.misc-tests/gcov-4.c: New test. * gcc.misc-tests/gcov-4b.c: New test. * gcc.misc-tests/gcov-5b.c: New test. From-SVN: r45054
2001-08-20invoke.texi (Profiling options): Clarify the interactions between ↵Janis Johnson2-29/+64
-fprofile-arcs and -ftest-coverage, -fprofile-arcs. * doc/invoke.texi (Profiling options): Clarify the interactions between -fprofile-arcs and -ftest-coverage, -fprofile-arcs. From-SVN: r45053
2001-08-20configure: Rebuilt.Tom Tromey3-91/+82
* configure: Rebuilt. * configure.in: Always ask gcc for threads package. From-SVN: r45052
2001-08-20crtstuff.c (__do_global_ctors): Fix typo in preprocessing command.Jeffrey Oldham2-1/+6
2001-08-20 Jeffrey Oldham <oldham@codesourcery.com> * crtstuff.c (__do_global_ctors): Fix typo in preprocessing command. From-SVN: r45051
2001-08-20gcc.c (make_relative_prefix): Allocate a sufficiently large buffer.Matt Kraai2-2/+11
* gcc.c (make_relative_prefix): Allocate a sufficiently large buffer. From-SVN: r45049
2001-08-20Fixed ChangeLog entry: mips.c (reload_outcc) -> (reload_incc)Richard Sandiford1-1/+1
From-SVN: r45048
2001-08-20* final.c (end_final): Fix typo last change.Richard Henderson2-1/+4
From-SVN: r45047
2001-08-20Daily bump.GCC Administrator5-5/+5
From-SVN: r45046
2001-08-20Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r45044.2
2001-08-20cppinit.c (init_standard_includes): The returned buffer is already malloc-ed.Neil Booth7-95/+123
* cppinit.c (init_standard_includes): The returned buffer is already malloc-ed. * gcc.c (add_prefix): Similarly. * prefix.c (translate_name): Update to support clear buffer ownership rules. (update_path): Similarly. Be sure to free any newly allocated key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument. (tr): New function. * prefix.h (update_path): Update prototype and document. * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean up and update to new buffer ownership rules. * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update. From-SVN: r45043
2001-08-19final.c (compute_alignments): New function.Jan Hubicka6-96/+214
* final.c (compute_alignments): New function. (init_insn_lengths): Do not care label_align. (LABEL_ALIGN_AFTER_BARRIER): Default to 1. (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0. (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New. (shorted_branches): Realloc label_align array; do not call init_insn_lengths; Do not care about loop alignments. * output.h (compute_alignments): Declare. * toplev.c (rest_of_compilation): Call compute_alignments. * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document. * predict.c (block_info_def): Add npredecesors, remove nvisited; change visited to tovisit. (propagate_freq): Use faster traversing algorithm. (estimate_loops_at_level, estimate_bb_frequencies): Change visited to tovisit; reverse meaning. * predict.c (struct block_info_def): Remove nvisited. (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. (estimate_bb_frequencies): Call mark_dfs_back_edges. From-SVN: r45042
2001-08-19invoke.texi (MIPS Options): Document -mfused-madd.Geoffrey Keating4-9/+39
* doc/invoke.texi (MIPS Options): Document -mfused-madd. * config/mips/mips.h (MASK_NO_FUSED_MADD): New. (TARGET_FUSED_MADD): New. (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd. * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to the multiply-add instructions. From-SVN: r45041
2001-08-19* g++.dg/special/ecos.exp (initp1.C): Run initp1.C test.John David Anglin2-1/+5
From-SVN: r45037
2001-08-19dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref is aligned to ↵Richard Henderson2-1/+6
pointer size. * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref is aligned to pointer size. From-SVN: r45034
2001-08-19typeck2.c (add_exception_specifier): Only require complete type if not in ↵Jakub Jelinek4-1/+50
processing template declaration. * typeck2.c (add_exception_specifier): Only require complete type if not in processing template declaration. * g++.dg/eh/template1.C: New test. From-SVN: r45032
2001-08-19ia64.c (ia64_cycle_display): Only emit cycle display markers during final ↵Richard Henderson2-1/+9
schedule. * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle display markers during final schedule. From-SVN: r45031
2001-08-19* function.c (gen_mem_addressof): Don't call get_alias_set if no decl.Richard Henderson2-1/+5
From-SVN: r45030
2001-08-19ia64.h (STRIP_NAME_ENCODING): Handle @ and * in the same string.Richard Henderson3-44/+28
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and * in the same string. (ASM_NAME_TO_STRING): Remove. * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and * in the same string. Remove support for expressions. From-SVN: r45029
2001-08-19i386.md (tablejump): Make an expander; handle pic relative addressing here.Richard Henderson2-71/+21
* config/i386/i386.md (tablejump): Make an expander; handle pic relative addressing here. (tablejump_1): Rename from tablejump_pic. (casesi): Remove. From-SVN: r45028
2001-08-19* regclass.c (fix_register): Fix typo.Richard Henderson2-1/+5
From-SVN: r45027
2001-08-19Daily bump.GCC Administrator6-6/+6
From-SVN: r45025
2001-08-18unwind-ia64.c (UNW_REG_B0): New.Richard Henderson2-5/+30
* config/ia64/unwind-ia64.c (UNW_REG_B0): New. (struct _Unwind_Context): Expand br_loc to hold it. (uw_frame_state_for): Handle leaf functions better. (uw_update_reg_address): Update for br_loc change. From-SVN: r45024
2001-08-18crtbegin.asm (dtor_ptr): Make gp-relative.Richard Henderson3-11/+100
* config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative. (__do_global_dtors_aux): Update to match. (__JCR_LIST__, __do_jv_register_classes): New. (.init): Call it. * config/ia64/crtend.asm (__JCR_END__): New. (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__ instead of an indirect LTOFF22 reloc. From-SVN: r45023
2001-08-18crtstuff.c: Move list heads before code that uses them.Richard Henderson2-94/+92
* crtstuff.c: Move list heads before code that uses them. (__JCR_LIST__): Remove initial null. (frame_dummy, __frame_dummy): Do java registration here ... (__do_global_ctors_aux): ... not here. From-SVN: r45022