Commit Graph

62345 Commits

Author SHA1 Message Date
Kazu Hirata 5ac6107c32 hooks.c (hook_int_void_1, [...]): Remove.
* hooks.c (hook_int_void_1, hook_void_int): Remove.
	* hooks.h: Remove the corresponding prototypes.

From-SVN: r88657
2004-10-07 04:00:55 +00:00
Paul Brook 2b58638b46 re PR fortran/17678 (USE statement incorrectly initializes allocatable array)
PR fortran/17678
	* trans-array.c (gfc_trans_deferred_array): Leave use associated
	variables alone.
testsuite/
	* gfortran.dg/use_allocated_1.f90: New test.

From-SVN: r88655
2004-10-07 00:43:21 +00:00
GCC Administrator d1d525310b Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r88653.2
2004-10-07 00:17:18 +00:00
GCC Administrator 4095901c48 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r88652.2
2004-10-07 00:17:13 +00:00
Andrew Pinski a3ed9870e8 re PR middle-end/17849 (intrinsic_pack.f90)
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17849
        * gfortran.fortran-torture/compile/nested.f90: New test


2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17849
        * tree-nested.c (walk_stmt_info): Add changed field.
        (convert_nonlocal_reference): Set changed to when we
        change a decl to unnested decl.
        <case ADDR_EXPR>: Instead of checking if the immediate part
        of the ADDR_EXPR changed, check the field changed.
        Use recompute_tree_invarant_for_addr_expr instead of unsetting
        TREE_INVARIANT.
        (convert_local_reference):  Set changed to when we
        change a decl to unnested decl.
        <case ADDR_EXPR>: Instead of checking if the immediate part
        of the ADDR_EXPR changed, check the field changed.
        Also call recompute_tree_invarant_for_addr_expr on the ADDR_EXPR.

From-SVN: r88650
2004-10-06 16:45:48 -07:00
Tobias Schlüter c45abcaf8f * simplify.c (gfc_simplify_abs): Use mpfr_hypot for CABS.
From-SVN: r88647
2004-10-07 01:16:43 +02:00
Kazu Hirata 9e749a8b42 defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
	* dwarf2out.c (dwarf2out_init): Remove references to
	DWARF2_GENERATE_TEXT_SECTION_LABEL.
	* system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL.
	* doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.

From-SVN: r88631
2004-10-06 22:20:31 +00:00
Joseph Myers 03dafa6108 c-typeck.c (convert_arguments): Take expression for called function rather than its name.
* c-typeck.c (convert_arguments): Take expression for called
	function rather than its name.  Handle ObjC selectors directly
	rather than relying on warn_for_assignment to do so.  Call warning
	directly rather than warn_for_assignment.  Use %qE in diagnostics.
	Say "argument" rather than "arg" in diagnostics.
	(build_function_call): Update call to convert_arguments.

testsuite:
	* gcc.dg/Wconversion-2.c, gcc.dg/func-args-1.c: New tests.

From-SVN: r88630
2004-10-06 23:16:29 +01:00
Andrew Pinski 75917fc032 re PR debug/17787 (Ada does not bootstrap on darwin because of -feliminate-unused-debug-symbols)
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR debug/17787
        * dbxout.c (dbxout_symbol): Really handle RECORD, UNION, and
        ENUMs specially instead of just saying we do.

From-SVN: r88629
2004-10-06 15:13:14 -07:00
Benjamin Kosnik e3f78d9b11 acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
	(GLIBCXX_CONFIGURE_TESTSUITE): Use it.
	* configure: Regenerated.
	* testsuite/Makefile.am (CLEANFILES): Add TEST for
	check-performance executables.
	(stamp_thread): New.
	(all-local): Use it.
	* testsuite/Makefile.in: Regenerate.
	* scripts/create_testsuite_files: Filter thread tests.

	* testsuite/thread/pthread1.cc: Remove macro conditionals: this
	file will only be run by thread enabled configurations.
	* testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
	* testsuite/thread/pthread6.cc: Same.
	* testsuite/thread/pthread5.cc: Same.
	* testsuite/thread/pthread4.cc: Same.
	* testsuite/thread/pthread3.cc: Same.
	* testsuite/thread/pthread2.cc: Same.

	* testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
	* testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.

From-SVN: r88628
2004-10-06 22:12:34 +00:00
Andrew Pinski 564060c32a [multiple changes]
2004-10-05  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17368
        * semantics.c (finish_asm_stmt): Asm expressions need cleanup
        also.

2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17368
        * g++.dg/ext/asm6.C: New test.

From-SVN: r88627
2004-10-06 15:09:25 -07:00
Eric Christopher df7d2d8064 dwarf2.h: Sync with include/elf/dwarf2.h
2004-10-06  Eric Christopher  <echristo@redhat.com>

	* dwarf2.h: Sync with include/elf/dwarf2.h

From-SVN: r88626
2004-10-06 20:27:15 +00:00
Daniel Berlin 55e9452ed5 tree-pretty-print.c (dump_generic_node): Fix printing of BINFO and TREE_VEC nodes.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
	and TREE_VEC nodes.

From-SVN: r88624
2004-10-06 20:14:28 +00:00
Daniel Berlin 44301a5952 It would have been nice to commit the changelog as well.
sigh

From-SVN: r88623
2004-10-06 19:51:22 +00:00
Daniel Berlin feb075f482 lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert
	to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value.

2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* lambda-code.c (compute_nest_using_fourier_motzkin): New
	function.
	(lambda_compute_auxillary_space): Split from here.

2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-loop-ivopts.c (expr_invariant_in_loop): Make non-static.
	* tree-flow.h: Add prototype.
	* lambda-code.c (invariant_in_loop_and_outer_loops): Use
	expr_invariant_in_loop.

From-SVN: r88622
2004-10-06 19:40:54 +00:00
Kenneth Zadeck 8813c94428 added changelog entry for prior commit.
From-SVN: r88620
2004-10-06 19:31:31 +00:00
Kazu Hirata 4c1d660f6a tree-cfg.c (thread_jumps): Remove a duplicate check for EXIT_BLOCK_PTR.
* tree-cfg.c (thread_jumps): Remove a duplicate check for
	EXIT_BLOCK_PTR.

From-SVN: r88619
2004-10-06 19:05:12 +00:00
Paul Brook 7726f633fa re PR libfortran/17709 (NULL I/O list and Format error.)
PR libfortran/17709
	* io/transfer.c (data_transfer_init): Reset sf_seen_eor.
testsuite/
	* gfortran.dg/empty_format_1.f90: New test.

From-SVN: r88615
2004-10-06 18:27:58 +00:00
Ulrich Weigand 575f7c2bd2 s390-protos.h (s_imm_operand): Remove.
* config/s390/s390-protos.h (s_imm_operand): Remove.
	(s390_pool_operand): Add prototype.
	* config/s390/s390.c (general_s_operand): Remove.
	(s_imm_operand): Remove.
	(s_operand): Merge contents of general_s_operand.
	(s390_pool_operand): New function.
	* config/s390/s390.h (PREDICATE_CODES): Remove s_imm_operand.
	* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct"): New insns.
	("*cmpdi_ccu"): Merge Q->Q alternative.
	("*cmpsi_ccu", "*cmphi_ccu"): Likewise.
	("*cmpqi_ccu"): Merge Q->Q, n->Q, n->S alternatives.
	("*cli"): Remove.
	("*cmpdi_ccu_mem", "*cmpsi_ccu_mem"): Likewise.
	("*cmphi_ccu_mem", "*cmpqi_ccu_mem"): Likewise.
	("*movstricthi"): Use memory_operand instead of s_imm_operand.

From-SVN: r88614
2004-10-06 18:22:00 +00:00
Kenneth Zadeck 71dfe05195 Added missing memory attribute to asm instruction.
From-SVN: r88612
2004-10-06 16:54:58 +00:00
Benjamin Kosnik 8470634361 re PR libstdc++/17780 (std::allocator vs. static init)
2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
	    Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/17780
	* src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
	to old locking order.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>

From-SVN: r88611
2004-10-06 16:31:19 +00:00
Tobias Schlüter 3b0cff13e4 re PR fortran/17283 (UNPACK issues)
PR fortran/17283
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Enable new
tests.

From-SVN: r88610
2004-10-06 18:24:30 +02:00
Tobias Schlüter 5d24a9774e re PR fortran/17568 (ISHFT intrinsic: bogus overflow error)
fortran/
PR fortran/17568
* simplify.c (twos_complement): New function.
(gfc_simplify_ishft, gfc_simplify_ishftc): Revise.

testsuite/
PR fortran/17568
* gfortran.dg/ishft.f90: New test.

From-SVN: r88609
2004-10-06 18:21:42 +02:00
Steve Ellcey d13256a357 ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to call ia64_function_arg_boundary.
* config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to
	call ia64_function_arg_boundary.
	* config/ia64/ia64-protos.h (ia64_function_arg_boundary): New.
	* config/ia64/ia64.c (ia64_function_arg_boundary): New.
	(ia64_function_arg_advance): Do not put 128 bit floats into
	FP registers.

From-SVN: r88608
2004-10-06 16:07:03 +00:00
Paul Brook fbdad37d85 trans-stmt.c (gfc_trans_simple_do): New function.
* trans-stmt.c (gfc_trans_simple_do): New function.
	(gfc_trans_do): Use it.  Evaluate iteration bounds before entering
	loop.  Update comments.
testsuite/
	* gfortran.dg/do_1.f90: New test.

From-SVN: r88607
2004-10-06 15:29:25 +00:00
Ulrich Weigand 5a6aa19c25 parse.y (issue_warning_error_from_context): Use va_list * instead of va_list parameter.
* parse.y (issue_warning_error_from_context): Use va_list *
	instead of va_list parameter.
	(parse_error_context): Update call.
	(parse_warning_context): Likewise.

From-SVN: r88605
2004-10-06 14:02:19 +00:00
Kaveh R. Ghazi 609ae0e2ce builtins.c (expand_builtin_strcpy): Delete duplicate code.
* builtins.c (expand_builtin_strcpy): Delete duplicate code.
	Accept an expression instead of an arglist.
	(expand_builtin_stpcpy): Accept an expression instead of an
	arglist.

testsuite:
	* gcc.c-torture/execute/builtins/lib/strcpy.c: Don't abort when
	optimizing for size.

From-SVN: r88604
2004-10-06 13:23:30 +00:00
Josef Zlomek 96836f6194 * MAINTAINERS: Update my e-mail address.
From-SVN: r88598
2004-10-06 11:59:51 +00:00
Eric Botcazou 51e9a60c15 re PR target/16007 (Use of static template members results in broken executables)
PR target/16007
	* doc/install.texi (*-*-solaris2*): Mention potential problem
	with Sun assembler + GNU linker and C++ programs.
	Document status of binutils 2.15 release.

From-SVN: r88595
2004-10-06 11:01:43 +00:00
Paolo Bonzini 7e0b5752fe [multiple changes]
2004-10-06  Paolo Bonzini  <bonzini@gnu.org>

	Fix wrong conflict resolution in:

	2004-08-16  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.in: Regenerate.
	* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
	in the recursive `make', instead of hardwiring `all'.
	(Autogenerated TARGET-* variables): New.

From-SVN: r88594
2004-10-06 10:09:29 +00:00
Paolo Carlini dbb8bfe8c5 [multiple changes]
2004-10-06  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_sstream.h (_M_sync): When the caller is
	setbuf, don't trust _M_string.capacity() to be the size of
	the buffer area, use _M_string.size() in this case.
	* testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.

	* include/bits/sstream.tcc (overflow): Avoid calling string::assign
	unnecessarily when the current _M_string is empty.

2004-10-06  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
	Avoid iterator postincrement.
	(__rotate): Likewise.

	* include/bits/stl_algo.h: Minor formatting tweaks.

2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>

	* include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
	Avoid iterator postincrement; fix swapping middle element with
	itself on odd-length inputs.

From-SVN: r88593
2004-10-06 09:06:59 +00:00
Jan Hubicka 490e962939 * cse.c (cse_main): Kill push/pop context.
From-SVN: r88592
2004-10-06 07:30:12 +00:00
Zack Weinberg d5706a1eea pretty-print.c: Include tree.h.
* pretty-print.c: Include tree.h.
	(pp_base_prepare_to_format): New function, logic from
	text_specifies_location.
	(pp_base_format_text): Use gcc_assert.
	* pretty-print.h (pp_prepare_to_format): New macro.
	(pp_base_prepare_to_format): Prototype.
	* diagnostic.c (text_specifies_location): Delete.
	(bug_report_request): Delete.
	(diagnostic_set_info): Don't call text_specifies_location.
	(diagnostic_action_after_output): Put text from
	bug_report_request inline here.  Use gcc_unreachable.
	(diagnostic_report_current_function): Fix comment.
	(diagnostic_report_diagnostic): Clarify logic for error recursion.
	Call pp_prepare_to_format before diagnostic_starter.
	(trim_filename): Use IS_DIR_SEPARATOR.
	(fatal_error, internal_error): Use gcc_unreachable.
	(error_recursion): Call diagnostic_action_after_output to
	issue the bug_report_request message and exit.
	* Makefile.in (diagnostic.o, pretty-print.o): Update dependencies.

	* c-parse.in: Add list of diagnostic messages to insulate
	translation template from version of yacc/bison used to
	compile the grammar.
java:
	* parse.y, parse-scan.y: Add list of diagnostic messages to
	insulate translation template from version of yacc/bison used
	to compile the grammar.
treelang:
	* parse.y: Add list of diagnostic messages to insulate
	translation template from version of yacc/bison used to
	compile the grammar.
po:
	* gcc.pot: Regenerate.

From-SVN: r88590
2004-10-06 04:47:42 +00:00
Benjamin Kosnik 12cde21b12 re PR libstdc++/17780 (std::allocator vs. static init)
2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/17780
	* include/ext/mt_allocator.h (__pool_base::_Tune): Add default
	options as compile-time constant enums.
	(__pool_base::_Tune::is_default): New.
	(__pool_base::_Block_address): New.
	(__pool_base): Rearrange data members.
	(__pool::_M_reserve_memory): To _M_reserve_block.
	(__pool::_M_reclaim_memory): To _M_reclaim_block.
	(__pool::_Bin_record): Add _Block_address data member.
	(__pool<false>): Add _M_thread_freelist_initial.
	(__pool::~__pool): Declare.
	(__common_pool_policy): Move static data member to...
	(__common_pool_policy::_S_get_pool): ...here, make static local.
	(__per_type_pool_policy): Move static data member to...
	(__per_type_pool_policy::_S_get_pool): ...here, make static local.
	(__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
	Remove static member definitions. Use define for __default_policy.
	* src/mt_allocator.cc: Same.
	* config/linker-map.gnu: Don't export _S_get_pool. Renames.
	* testsuite/ext/new_allocator: New.
	* testsuite/ext/new_allocator/instantiate.cc: New.
	* testsuite/ext/new_allocator/check_new.cc: New.
	* testsuite/ext/new_allocator/deallocate_global.cc: New.
	* testsuite/ext/new_allocator/deallocate_local.cc: New.
	* testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
	template arguments.
	* testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_global.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_local.cc: New.

From-SVN: r88589
2004-10-06 04:22:42 +00:00
Alan Modra 743eeb5a81 re PR other/16406 (USE_LD_AS_NEEDED undocumented)
PR 16406
	* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.

From-SVN: r88586
2004-10-06 10:24:01 +09:30
GCC Administrator 7e5f29431c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r88584.2
2004-10-06 00:16:16 +00:00
GCC Administrator db7487ad63 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r88583.2
2004-10-06 00:16:11 +00:00
Kazu Hirata 7922a3bb6b basic-block.h: Remove the prototype for flow_preorder_transversal_compute.
* basic-block.h: Remove the prototype for
	flow_preorder_transversal_compute.
	* cfganal.c (dfst_node): Remove.
	(flow_preorder_transversal_compute): Likewise.
	* rtl.h: Remove the prototype for get_jump_table_offset.
	* rtlanal.c (get_jump_table_offset): Remove.

From-SVN: r88580
2004-10-05 22:55:59 +00:00
Richard Henderson 9ec9d82b6d re PR middle-end/17756 (contained_3.f90)
PR 17756
        * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL.

From-SVN: r88579
2004-10-05 15:42:34 -07:00
Kelley Cook 19361834df re PR bootstrap/17817 (restage[1,2,3] and then bootstrap no longer cause build dir to be rebuilt)
2004-10-05  Kelley Cook  <kcook@gcc.gnu.org>

	PR bootstrap/17817
	* Makefile.in: Stage the build directory too.

From-SVN: r88577
2004-10-05 21:51:13 +00:00
Gabriel Dos Reis cdaf9d33a7 Fix email
From-SVN: r88575
2004-10-05 20:14:42 +00:00
Aldy Hernandez 2a2e3f05b6 frv.h (LEGITIMIZE_ADDRESS): New.
* config/frv/frv.h (LEGITIMIZE_ADDRESS): New.

	* config/frv/frv-protos.h (frv_legitimize_address): Protoize.
	(frv_emit_move): Same.

	* config/frv/frv.c (frv_emit_move): New.
	(frv_legitimize_address): New.

	* config/frv/frv.md ("movsi"): Call frv_emit_move.
	("movqi"): Same.
	("movhi"): Same.
	("movdi"): Same.
	("movsf"): Same.
	("movdf"): Same.

From-SVN: r88574
2004-10-05 20:11:17 +00:00
Gabriel Dos Reis 0f51ccfcd8 Convert diagnostics to use quoting flag q 6/n
Convert diagnostics to use quoting flag q 6/n
        * pt.c (finish_member_template_decl,
        check_specialization_scope,
        maybe_process_partial_specialization,
        determine_specialization,
        check_explicit_specialization, maybe_check_template_type,
        process_partial_specialization, check_default_tmpl_args,
        push_template_decl_real, redeclare_class_template,
        convert_nontype_argument, coerce_template_parms,
        lookup_template_class, push_tinst_level,
        instantiate_class_template, tsubst_arg_types,
        tsubst_function_type, tsubst, tsubst_qualified_id,
        tsubst_copy_and_build, check_instantiated_args,
        do_decl_instantiation, do_type_instantiation,
        invalid_nontype_parm_type_p, check_specialization_namespace,
        convert_template_argument, determine_specialization,
        check_template_shadow, tsubst_decl
        instantiate_pending_templates): Use quoting marks.

From-SVN: r88573
2004-10-05 20:09:09 +00:00
Joseph Myers 7fdc3e0952 c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in system headers.
* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
	system headers.

testsuite:
	* gcc.dg/complex-2.c, gcc.dg/complex-2.h: New test.

From-SVN: r88571
2004-10-05 20:58:39 +01:00
Joseph Myers 1b36c81835 c-decl.c (pushdecl): When an extern declaration at block scope refers to a visible entity with...
* c-decl.c (pushdecl): When an extern declaration at block scope
	refers to a visible entity with internal linkage, use the old DECL
	rather than the new one.

testsuite:
	* gcc.c-torture/compile/20041005-1.c: New test.

From-SVN: r88570
2004-10-05 20:54:26 +01:00
Kazu Hirata 95740bfc80 tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in comments.
* tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in
	comments.

From-SVN: r88568
2004-10-05 19:04:46 +00:00
Kazu Hirata 20d400c32b tree-cfg.c (thread_jumps): Remove a duplicate check for an infinite loop.
* tree-cfg.c (thread_jumps): Remove a duplicate check for
	an infinite loop.

From-SVN: r88567
2004-10-05 19:00:54 +00:00
Kazu Hirata 2abacef091 tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead of FOR_BB_BETWEEN.
* tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead
	of FOR_BB_BETWEEN.  Remove a useless check for unreachable
	blocks.

From-SVN: r88566
2004-10-05 18:58:36 +00:00
Kazu Hirata 09fa81dbb7 tree-cfg.c (cleanup_tree_cfg): Don't call delete_unreachable_blosk() after thread_jumps().
* tree-cfg.c (cleanup_tree_cfg): Don't call
	delete_unreachable_blosk() after thread_jumps().
	(thread_jumps): Always remove basic blocks as they become
	unreachable.

From-SVN: r88565
2004-10-05 18:53:08 +00:00
Kazu Hirata 1111ad788a tree-cfg.c (cleanup_tree_cfg): Remove variable something_changed.
* tree-cfg.c (cleanup_tree_cfg): Remove variable
	something_changed.  Simplify the while loop.

From-SVN: r88564
2004-10-05 18:48:44 +00:00