1. 18 Feb, 2004 21 commits
  2. 17 Feb, 2004 19 commits
    • kazu's avatar
      * config/h8300/h8300.c (fix_bit_operand): Don't generate insns · 4b042441
      kazu authored
      	by hand.
      	* config/h8300/h8300.md (*andqi3_1): Change to andqi3_1.
      	(*iorqi3_1): Change to iorqi3_1.
      	(*xorqi3_1): Change to xorqi3_1.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77997 138bc75d-0d04-0410-961f-82ee72b054a4
      4b042441
    • kazu's avatar
      * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment · 8e43612b
      kazu authored
      	typos.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77995 138bc75d-0d04-0410-961f-82ee72b054a4
      8e43612b
    • hubicka's avatar
      · b4d0180d
      hubicka authored
      	* i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77994 138bc75d-0d04-0410-961f-82ee72b054a4
      b4d0180d
    • amodra's avatar
      PR optimization/14119 · facad922
      amodra authored
      	* combine.c (try_combine): When attemting to fix unrecognized insns,
      	don't delete SETs marked with REG_EH_REGION notes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77991 138bc75d-0d04-0410-961f-82ee72b054a4
      facad922
    • uweigand's avatar
      ChangeLog: · ed869d65
      uweigand authored
      	* combine.c (simplify_if_then_else): Do not replace
      	(if_then_else (ne reg 0) (0) (const_int)) by (reg) if the
      	modes differ.
      
      testsuite/ChangeLog:
      
      	* gcc.dg/20040217-1.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77988 138bc75d-0d04-0410-961f-82ee72b054a4
      ed869d65
    • zack's avatar
      * gcc.c-torture/execute/990208-1.x: Delete. · 1ce7df12
      zack authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77986 138bc75d-0d04-0410-961f-82ee72b054a4
      1ce7df12
    • steven's avatar
      * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, · cbc44df5
      steven authored
              function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c,
              tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION.
              * ada/utils.c: Likewise.
              * cp/decl.c: Likewise.
              * f/com.c: Likewise.
              * java/class.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77985 138bc75d-0d04-0410-961f-82ee72b054a4
      cbc44df5
    • kazu's avatar
      * config/h8300/h8300.md: Fix comment typos. · b123dda9
      kazu authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77983 138bc75d-0d04-0410-961f-82ee72b054a4
      b123dda9
    • ro's avatar
      * config/mips/t-iris6gld: Renamed to ... · 6912d656
      ro authored
      	* config/mips/t-irix-gld: ... this.
      	* config.gcc (mips-sgi-irix6*): Reflect this
      	(mips-sgi-irix5*): Use it with GNU ld.
      
      	* config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed
      	to ...
      	* config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this.
      	* config/mips/t-irix-gld: Reflect this.
      	* config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      
      	* config/mips/iris5gld.h: New file.
      	* config.gcc (mips-sgi-irix5*): Use it with GNU ld.
      	Only use collect2 without gas.
      
      	* config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC):
      	Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
      	(STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this.
      	* config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      
      	* config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ...
      	* config/mips/iris5.h: ... here.
      
      	* config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to
      	IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
      	(STARTFILE_SPEC, ENDFILE_SPEC): Define.
      
      	* config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify
      	using irix_startfile_spec, irix_endfile_spec.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77978 138bc75d-0d04-0410-961f-82ee72b054a4
      6912d656
    • bernie's avatar
      * config/m68k/m68k.c: Remove obsolete support for HPUX_ASM. · 67283f09
      bernie authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77977 138bc75d-0d04-0410-961f-82ee72b054a4
      67283f09
    • kazu's avatar
      * config/h8300/h8300.c (h8300_expand_prologue): Don't generate · 2a8d3d1b
      kazu authored
      	insns by hand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77975 138bc75d-0d04-0410-961f-82ee72b054a4
      2a8d3d1b
    • law's avatar
      * cfghooks.c (split_edge): Speed up updating of dominators. · df7eb7ce
      law authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77973 138bc75d-0d04-0410-961f-82ee72b054a4
      df7eb7ce
    • rsandifo's avatar
      * gcc.c-torture/execute/20040208-2.x: New file. · 0a3a066d
      rsandifo authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77969 138bc75d-0d04-0410-961f-82ee72b054a4
      0a3a066d
    • mmitchel's avatar
      PR c++/11326 · e100aadc
      mmitchel authored
      	* c-common.c (flag_abi_version): Remove.
      	* c-common.h (flag_abi_version): Likewise.
      	* c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
      	* c.opt (fabi-version): Remove.
      	* calls.c (expand_call): Always pass a function type to
      	struct_value_rtx.  Use convert_memory_address.
      	* common.opt (fabi-version): Add it.
      	* flags.h (flag_abi_version): Likewise.
      	(abi_version_at_least): New macro.
      	* opts.c (common_handle_option): Add OPT_fabi_version.
      	* toplev.c (flag_abi_version): Define it.
      	* config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
      	New function.
      	(ia64_output_mi_thunk): Use it.
      	(ia64_struct_value_rtx): Likewise.
      
      	PR c++/11326
      	* cp-tree.h (abi_version_at_least): Remove.
      	* mangle.c: Include flags.h.
      
      	PR c++/11326
      	* g++.dg/abi/structret1.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77968 138bc75d-0d04-0410-961f-82ee72b054a4
      e100aadc
    • jakub's avatar
      * gcc.dg/i386-cpuid.h (bit_CMOV): Define. · d9ca0438
      jakub authored
      	(i386_cpuid): No need to test if cpuid is available on AMD64.
      	Fix assembly, so that it works onboth i386 and AMD64.
      	* gcc.dg/i386-sse-6.c: Include stdio.h, stdlib.h and string.h.
      	(vecInLong): Fix s[] member type to unsigned int.
      	(vecInWord): Remove type.
      	(mmx_tests, sse_tests, dump64_16, dump64_32, dump64_64): Remove.
      	(a64, b64, c64, d64, e64): Remove.
      	(main): Pass if CPU has no MMX, SSE, SSE2 or CMOV support.
      	Remove unused variable.  Remove initialization of removed variables.
      	Don't call mmx_tests nor sse_tests.
      	(reference_mmx, reference_sse): Remove.
      	(check): Add return stmt.
      	* gcc.dg/i386-sse-7.c: New test.
      	* gcc.dg/i386-mmx-4.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77955 138bc75d-0d04-0410-961f-82ee72b054a4
      d9ca0438
    • kazu's avatar
      * config/h8300/h8300.c (h8300_emit_stack_adjustment): · 921a6571
      kazu authored
      	Don't generate insns by hand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77954 138bc75d-0d04-0410-961f-82ee72b054a4
      921a6571
    • pinskia's avatar
      2004-02-17 Andrew Pinski <pinskia@physics.uc.edu> · e59fc133
      pinskia authored
              PR c++/14178
              * doc/invoke.texi (fabi-version): The default is 2 now.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77952 138bc75d-0d04-0410-961f-82ee72b054a4
      e59fc133
    • rakdver's avatar
      * loop-iv.c: New file. · f9cce2dc
      rakdver authored
      	* Makefile.in (loop-iv.o): New.
      	* basic_block.h (FOR_BB_INSNS, FOR_BB_INSNS_REVERSE): New macros.
      	* cfgloop.c (fill_sons_in_loop, get_loop_body_in_dom_order,
      	num_loop_branches): New functions.
      	* cfgloop.h (get_loop_body_in_dom_order, num_loop_branches,
      	iv_analysis_loop_init, iv_get_reaching_def, iv_analyse, get_iv_value,
      	find_simple_exit, iv_number_of_iterations, iv_analysis_done,
      	get_simple_loop_desc, free_simple_loop_desc): Declare.
      	(simple_loop_desc): New inline function.
      	(struct rtx_iv, struct niter_desc): New.
      	* cfgloopmanip.c (loopify): Specify semantics more precisely.
      	* expr.c (force_operand): Handle subregs of expressions created by
      	loop unroller.
      	* loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Move
      	parts of the initialization to toplev.c
      	* loop-unroll.c (loop_exit_at_end_p): New.
      	(unroll_and_peel_loops): Call iv_analysis_done.
      	(decide_peel_once_rolling, decide_peel_completely,
      	decide_unroll_stupid, decide_unroll_constant_iterations,
      	decide_unroll_runtime_iterations, decide_peel_simple,
      	peel_loop_simple, unroll_loop_stupid, unroll_loop_constant_iterations,
      	unroll_loop_runtime_iterations): Use new simple loop analysis.
      	* loop-unswitch.c (compare_and_jump_seq): New.
      	(may_unswitch_on_p): Renamed to ...
      	(may_unswitch_on): Use new iv analysis.
      	(reversed_condition): Export.
      	(unswitch_single_loop, unswitch_loop): Use new iv analysis.
      	* predict.c (estimate_probability): Use new simple loop analysis.
      	* rtl.h (get_mode_bounds, reversed_condition,compare_and_jump_seq,
      	canon_condition, simplify_using_condition): Declare.
      	* stor-layout.c (get_mode_bounds): New.
      	* toplev.c (rest_of_handle_loop2): Some parts of
      	initialization/finalization moved here from loop-init.c.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77951 138bc75d-0d04-0410-961f-82ee72b054a4
      f9cce2dc
    • giovannibajo's avatar
      * g++.dg/tc1/dr176.C: Add missing semicolon (typo). · d42ddab1
      giovannibajo authored
      	* g++.dg/tc1/dr101.C, g++.dg/tc1/dr135.C, g++.dg/tc1/dr142.C,
      	g++.dg/tc1/dr152.C, g++.dg/tc1/dr159.C,	g++.dg/tc1/dr161.C,
      	g++.dg/tc1/dr166.C, g++.dg/tc1/dr176.C,	g++.dg/tc1/dr193.C,
      	g++.dg/tc1/dr194.C, g++.dg/tc1/dr217.C,	g++.dg/tc1/dr56.C,
      	g++.dg/tc1/dr68.C, g++.dg/tc1/dr76.C, g++.dg/tc1/dr80.C,
      	g++.dg/tc1/dr94.C: Fix line terminator.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77950 138bc75d-0d04-0410-961f-82ee72b054a4
      d42ddab1