Commit Graph

37274 Commits

Author SHA1 Message Date
Will Cohen
e9e4208a18 alpha.h (CONDITIONAL_REGISTER_USAGE): Added local declaration of variable i.
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-21 12:17:28 +00:00
Richard Henderson
29d2c7a5fd crtstuff.c: Fix thinko last change.
* 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 03:12:07 -07:00
Richard Henderson
3aed19811b * gdbinit.in: Move break on exit after break on fancy_abort.
From-SVN: r45074
2001-08-21 01:54:33 -07:00
Richard Henderson
487b97e056 ia64.c (ia64_return_in_memory): True for variable sized types.
* config/ia64/ia64.c (ia64_return_in_memory): True for variable
        sized types.

From-SVN: r45073
2001-08-21 01:50:36 -07:00
GCC Administrator
08b3bb93ec Daily bump.
From-SVN: r45071
2001-08-21 07:16:14 +00:00
Neil Booth
d7bc7a9850 cpphash.h (_cpp_push_next_buffer): New.
* 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-21 06:20:18 +00:00
Andreas Jaeger
bb1a503c19 profile.c (compute_branch_probabilities): Remove extra new-line in error message.
* profile.c (compute_branch_probabilities): Remove extra new-line
	in error message.
	* flow.c (verify_flow_info): Likewise.

From-SVN: r45069
2001-08-21 07:06:55 +02:00
Diego Novillo
006844a392 basic-block.h (basic_block): Add new field 'flags'.
* 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 23:22:26 -04:00
Diego Novillo
0760faf99d * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
From-SVN: r45067
2001-08-20 22:34:14 -04:00
Kaveh R. Ghazi
96bd19a717 * sparc.c (sparc_variable_issue): Fix typo in last change.
From-SVN: r45066
2001-08-21 00:17:47 +00:00
Andrew Cagney
0310e5ac70 floatformat.h (floatformat_arm_ext): Document as deprecated.
* 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-21 00:09:09 +00:00
Zack Weinberg
9b95b06353 20000801-4.x: Delete, test no longer expected to fail.
* gcc.c-torture/execute/20000801-4.x: Delete, test no longer
	expected to fail.

From-SVN: r45064
2001-08-20 22:25:30 +00:00
Richard Henderson
a7b0c48483 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
From-SVN: r45063
2001-08-20 13:53:21 -07:00
Daniel Berlin
8c23e0a440 fibheap.h: New file.
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 20:06:07 +00:00
Tom Tromey
4c8d8761b0 * java/awt/GridBagConstraints.java: Removed comment.
From-SVN: r45061
2001-08-20 19:53:14 +00:00
Tom Tromey
a4f291fc90 jni.cc (nathash, [...]): New globals.
* 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 19:52:02 +00:00
John David Anglin
010dc908b2 * pa.h (RETURN_IN_MEMORY): Improve comment.
From-SVN: r45059
2001-08-20 18:12:39 +00:00
Janis Johnson
5e42753176 Test of gcov branch coverage reporting.
From-SVN: r45058
2001-08-20 17:40:26 +00:00
Janis Johnson
b235406124 Test of gcov line coverage information.
From-SVN: r45057
2001-08-20 17:39:20 +00:00
Janis Johnson
8c9bdd540e Change to invoke gcov and clean up.
Remove dg-prms-id, which carried over to other tests.

From-SVN: r45056
2001-08-20 17:37:23 +00:00
Janis Johnson
de3e861eb0 Add support for branch information.
From-SVN: r45055
2001-08-20 17:36:05 +00:00
Janis Johnson
d573392193 gcov.exp: Add support for branch information.
* 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-20 17:34:48 +00:00
Janis Johnson
3de87bf2b0 invoke.texi (Profiling options): Clarify the interactions between -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-20 17:08:14 +00:00
Tom Tromey
0ff95153a1 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Always ask gcc for threads package.

From-SVN: r45052
2001-08-20 16:40:46 +00:00
Jeffrey Oldham
c8a6b91604 crtstuff.c (__do_global_ctors): Fix typo in preprocessing command.
2001-08-20  Jeffrey Oldham  <oldham@codesourcery.com>

	* crtstuff.c (__do_global_ctors): Fix typo in preprocessing
	command.

From-SVN: r45051
2001-08-20 15:24:24 +00:00
Matt Kraai
27a1448728 gcc.c (make_relative_prefix): Allocate a sufficiently large buffer.
* gcc.c (make_relative_prefix): Allocate a sufficiently large
	buffer.

From-SVN: r45049
2001-08-20 13:39:36 +00:00
Richard Sandiford
2a895e441a Fixed ChangeLog entry: mips.c (reload_outcc) -> (reload_incc)
From-SVN: r45048
2001-08-20 09:08:57 +00:00
Richard Henderson
ca8264b4b3 * final.c (end_final): Fix typo last change.
From-SVN: r45047
2001-08-20 00:27:32 -07:00
GCC Administrator
b7ae9d530c Daily bump.
From-SVN: r45046
2001-08-20 07:16:49 +00:00
GCC Administrator
7e787befc6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r45044.2
2001-08-20 07:16:44 +00:00
Neil Booth
51c042567c cppinit.c (init_standard_includes): The returned buffer is already malloc-ed.
* 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-20 06:14:53 +00:00
Jan Hubicka
247a370b4f final.c (compute_alignments): New function.
* 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-19 23:46:10 +00:00
Geoffrey Keating
13fac94a68 invoke.texi (MIPS Options): Document -mfused-madd.
* 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 21:40:37 +00:00
John David Anglin
915a17f667 * g++.dg/special/ecos.exp (initp1.C): Run initp1.C test.
From-SVN: r45037
2001-08-19 21:00:30 +00:00
Richard Henderson
2919600a2b dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref is aligned to pointer size.
* dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
        is aligned to pointer size.

From-SVN: r45034
2001-08-19 13:08:36 -07:00
Jakub Jelinek
baeb47327e typeck2.c (add_exception_specifier): Only require complete type if not in 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-19 20:35:06 +02:00
Richard Henderson
fd1a3f7330 ia64.c (ia64_cycle_display): Only emit cycle display markers during final schedule.
* config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
        display markers during final schedule.

From-SVN: r45031
2001-08-19 08:42:38 -07:00
Richard Henderson
c49f511c7e * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
From-SVN: r45030
2001-08-19 02:04:31 -07:00
Richard Henderson
c45632b732 ia64.h (STRIP_NAME_ENCODING): Handle @ and * in the same string.
* 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-19 02:03:02 -07:00
Richard Henderson
9067592172 i386.md (tablejump): Make an expander; handle pic relative addressing here.
* 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 01:45:28 -07:00
Richard Henderson
ec523c2f34 * regclass.c (fix_register): Fix typo.
From-SVN: r45027
2001-08-19 01:39:19 -07:00
GCC Administrator
a943f0a2d8 Daily bump.
From-SVN: r45025
2001-08-19 07:52:23 +00:00
Richard Henderson
443621af25 unwind-ia64.c (UNW_REG_B0): New.
* 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-18 21:55:15 -07:00
Richard Henderson
3dff7ed031 crtbegin.asm (dtor_ptr): Make gp-relative.
* 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-18 21:46:25 -07:00
Richard Henderson
213f974a3a crtstuff.c: Move list heads before code that uses them.
* 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
2001-08-18 20:53:34 -07:00
Richard Henderson
6ca3c22fd1 flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
* flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
        * regclass.c (init_reg_sets_1): Fix typo.
        * config/ia64/ia64.c (ar_pfs_reg_operand): New.
        (ia64_expand_call): Pass ar.pfs to sibcall expanders.
        (ia64_compute_frame_size): Make ar.unat live when in use.
        (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
        for ar.pfs; remove ar.unat handling.
        * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
        call-saved.
        (PREDICATE_CODES): Add ar_pfs_reg_operand.
        * config/ia64/ia64-protos.h: Update decls.
        * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
        (sibcall_pic): Likewise.

From-SVN: r45021
2001-08-18 20:04:19 -07:00
Richard Henderson
8e8de25448 ia64.md (cycle_display): Combine the expander and insn patterns.
* config/ia64/ia64.md (cycle_display): Combine the expander
        and insn patterns.

From-SVN: r45020
2001-08-18 19:54:15 -07:00
Richard Henderson
b395ddbee5 ia64.c (ia64_sched_reorder2): Also skip past pred_rel_mutex when searching for insn_group_barrier.
* config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
        pred_rel_mutex when searching for insn_group_barrier.

From-SVN: r45019
2001-08-18 19:51:35 -07:00
Richard Henderson
f83594c41c ia64.c (ia64_internal_sched_reorder): Emit stop bit before asm as needed.
* config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
        bit before asm as needed.

From-SVN: r45018
2001-08-18 19:46:30 -07:00
Richard Henderson
eced69b5dd timevar.def (TV_MACH_DEP): New.
* timevar.def (TV_MACH_DEP): New.
        * toplev.c (rest_of_compilation): Use it.
        * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.

From-SVN: r45017
2001-08-18 19:43:30 -07:00