1. 13 Jul, 2005 3 commits
  2. 12 Jul, 2005 26 commits
  3. 11 Jul, 2005 11 commits
    • tree-flow.h (remove_empty_loops, [...]): Declare. · b7eae7b8
      	* tree-flow.h (remove_empty_loops, single_dom_exit): Declare.
      	* passes.c (init_optimization_passes): Add pass_empty_loop.
      	* tree-pass.h (pass_empty_loop): Declare.
      	* tree-ssa-loop-ivcanon.c (empty_loop_p, remove_empty_loop,
      	try_remove_empty_loop, remove_empty_loops): New functions.
      	* tree-ssa-loop-ivopts.c (single_dom_exit): Export.
      	* tree-ssa-loop.c (tree_ssa_empty_loop, pass_empty_loop): New.
      
      	* gcc.dg/tree-ssa/loop-10.c: New test.
      
      From-SVN: r101901
      Zdenek Dvorak committed
    • re PR target/16719 ([ColdFire] Illegal move of byte itno address register causes compiler to ICE) · 70028b61
      	PR middle-end/16719
      	PR middle-end/18421
      	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
      	in address registers.
      	* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
      	* config/m68k/m68k.md: Replace 's' with 'i' in 4th
      	alternative of addsi3_5200.
      
      From-SVN: r101900
      Peter Barada committed
    • * config/mips/mips.md (ffs<mode>2): Remove. · 8564e10e
      From-SVN: r101896
      Ian Lance Taylor committed
    • tree-ssa.texi (Cleanups): Improve description of TRY_FINALLY_EXPR. · 2f6bd539
      	* doc/tree-ssa.texi (Cleanups): Improve description of
      	TRY_FINALLY_EXPR.
      	(GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases.
      
      From-SVN: r101895
      Ian Lance Taylor committed
    • re PR tree-optimization/22404 (ICE in first_vi_for_offset) · 046a69e0
      2005-07-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	* print-tree.c (print_node): Use DECL_ARGUMENT_FLD.
      	* tree.h (DECL_ARGUMENT_FLD): New macro.
      
      2005-07-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix PR tree-optimization/22404
      
      	* tree-ssa-structalias.c (create_variable_info_for): Use
      	correct offset.
      
      From-SVN: r101894
      Daniel Berlin committed
    • * gcc.c-torture/execute/20020720-1.x: Remove. · ebde3ea8
      From-SVN: r101893
      Kazu Hirata committed
    • bfin.md (cmpsi, [...]): Use reg_or_const_int_operand for second comparison operand. · 7ddcf3d2
      	* config/bfin/bfin.md (cmpsi, compare_eq, compare_ne, compare_lt,
      	compare_le, compare_leu, compare_ltu): Use reg_or_const_int_operand
      	for second comparison operand.
      	* config/bfin/predicates.md (reg_or_const_int_operand): New.
      
      From-SVN: r101881
      Bernd Schmidt committed
    • bfin.md (define_attr "type"): Add "sync". · 3fb192d2
      	* config/bfin/bfin.md (define_attr "type"): Add "sync".
      	(define_insn_reservation "alu"): Likewise.
      	(csync, ssync): Now of type sync.
      	* config/bfin/bfin.h (TARGET_DEFAULT): Defaults to
      	-mcsync-anomaly -mspecld-anomaly.
      	* config/bfin/bfin.opt (mcsync): Remove.
      	(mcsync-anomaly, mspecld-anomaly): Add.
      	* config/bfin/bfin.c: Include "insn-codes.h".
      	(bfin_reorg): Extend to handle the CSYNC anomaly as well.
      	(TARGET_DEFAULT_TARGET_FLAGS): New.
      	* doc/invoke.texi: Document -mcsync-anomaly, -mspecld-anomaly.
      
      From-SVN: r101880
      Bernd Schmidt committed
    • basic-block.h: Give the BB flags enum a name, bb_flags. · 2dd2d53e
      	* basic-block.h: Give the BB flags enum a name, bb_flags.
      	Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK.
      	* cfgcleanup.c (enum bb_flags): Remove here.
      	(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove.
      	(notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS.
      	(update_forwarder_flag): Likewise.
      	(thread_jump): Likewise.
      	(try_forward_edges): Likewise.
      	(try_optimize_cfg): Likewise.  Clear bb->flags before updating the
      	forwarder flags.  Don't clear bb->aux for all basic blocks.  Only
      	reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags.
      
      From-SVN: r101876
      Steven Bosscher committed
    • ostream.tcc (basic_ostream<>::operator<<(long), [...]): Don't deal with oct and… · 8637038a
      ostream.tcc (basic_ostream<>::operator<<(long), [...]): Don't deal with oct and hex and casts to unsigned here...
      
      2005-07-11  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
      	basic_ostream<>::operator<<(long long)): Don't deal with oct
      	and hex and casts to unsigned here...
      	* include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
      	const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
      	long, const _CharT*, ios_base::fmtflags)): ... do that here,
      	instead, as per Table 57.
      	(num_put<>::_M_insert_int): Tidy treatment of numeric base and
      	sign.
      	* include/std/std_ostream.h (operator<<(short), operator<<(int)):
      	Adjust logic, as per the letter of the resolution of DR117 [WP].
      	* testsuite/22_locale/num_put/put/char/10.cc: New.
      	* testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
      	Likewise.
      
      From-SVN: r101872
      Paolo Carlini committed
    • i386.opt: New target option -msseregparm. · 1f97667f
      2005-07-11  Richard Guenther  <rguenther@suse.de>
      
      	* config/i386/i386.opt: New target option -msseregparm.
      	* config/i386/i386.c (override_options): Error out for
      	-msseregparm but no SSE support.
      	(ix86_function_sseregparm): Check for global sseregparm.
      	* doc/invoke.texi: Document -msseregparm.
      
      From-SVN: r101871
      Richard Guenther committed