1. 13 Jan, 2006 4 commits
    • acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Enable --gc-sections in more cases. · 952c7b74
      2006-01-12  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
      	--gc-sections in more cases.	
      	* configure: Regenerate.
      	* scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
      	* scripts/testsuite_flags.in (cxxldflags): New.
      	* testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
      	(libstdc++_init ): Same.
      
      From-SVN: r109662
      Benjamin Kosnik committed
    • shift.md: Rewrite... · 23fed240
      * config/m32c/shift.md: Rewrite: Allow arbitrary operands for
      shift counts, separate SI shifts for m32c vs m16c, pass shift type
      so that constant shifts can be split.
      * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add In6.
      (m32c_valid_pointer_mode): Make static.
      (shift_gen_func_for): New.
      (m32c_prepare_shift): Use it.  Split large const shifts into
      multiple shifts.
      * config/m32c/predicates.md (shiftcount_operand): Allow more
      general operands.
      (longshiftcount_operand): New.
      * doc/md.texi (Machine Constraints): Document In6.
      
      From-SVN: r109661
      DJ Delorie committed
    • tm.texi (Data Output): Add REAL_VALUE_TO_TARGET_DECIMAL32... · dadb213f
      	* doc/tm.texi (Data Output): Add REAL_VALUE_TO_TARGET_DECIMAL32,
      	REAL_VALUE_TO_TARGET_DECIMAL64 and REAL_VALUE_TO_TARGET_DECIMAL128
      	documentation.
      
      From-SVN: r109660
      Ben Elliston committed
    • Daily bump. · 995931d6
      From-SVN: r109657
      GCC Administrator committed
  2. 12 Jan, 2006 16 commits
  3. 11 Jan, 2006 20 commits
    • predicates.md (sh_rep_vec): Add parallel to match_code. · b4060d3f
      	* config/sh/predicates.md (sh_rep_vec): Add parallel to
      	match_code.
      
      From-SVN: r109612
      Kazu Hirata committed
    • inf-1.c: New test. · 088ae68b
      	* gcc.dg/dfp/inf-1.c: New test.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      
      From-SVN: r109611
      Yao Qi committed
    • * rtlanal.c (find_reg_note): Assert insn is not null. · af082de3
      From-SVN: r109605
      Ben Elliston committed
    • nodfp-1.c: New test. · 27a2694f
      	* gcc.dg/nodfp-1.c: New test.
      	* gcc.dg/compat/scalar-return-dfp_x.c: Likewise.
      	* gcc.dg/compat/scalar-return-dfp_x.c: Likewise.
      	* gcc.dg/compat/scalar-return-dfp_main.c: Likewise.
      	* gcc.dg/compat/scalar-by-value-dfp_main.c: Likewise.
      	* gcc.dg/compat/scalar-by-value-dfp_x.c: Likewise.
      	* gcc.dg/compat/scalar-return-dfp_y.c: Likewise.
      	* gcc.dg/compat/scalar-by-value-dfp_y.c: Likewise.
      	* gcc.dg/debug/dwarf2/dwarf-float.c: Likewise.
      	* gcc.dg/debug/dwarf2/dwarf-dfp.c: Likewise.
      	* gcc.dg/format/dfp-scanf-1.c: Likewise.
      	* gcc.dg/format/dfp-printf-1.c: Likewise.
      	* gcc.dg/compat/struct-layout-1.exp: Use c-compat.exp.
      	(compat_setup_dfp): New.
      	* gcc.dg/compat/compat.exp: Use it.
      	(compat-use-alt-compiler, compat-use-tst-compiler): Move to new file.
      	Make some variables global, prepend "compat_" to their names.
      	* gcc.dg/compat/struct-layout-1.h: Conditional DFP support.
      	* gcc.dg/compat/struct-layout-1_generate.c: Ditto.
      	* gcc.misc-tests/dectest.exp: New test driver for decTest.
      	* lib/compat.exp (compat_skip_list): Make global, rename.
      	* lib/c-compat.exp: New file.
      	* lib/target-supports.exp (check_effective_target_dfp): New.
      
      	* gcc.dg/dfp/dec-eval-method.c, gcc.dg/dfp/func-array.c,
      	gcc.dg/dfp/convert-dfp-fold.c, gcc.dg/dfp/struct-union.c,
      	gcc.dg/dfp/compare-rel.h, gcc.dg/dfp/convert-dfp-round.c,
      	gcc.dg/dfp/func-struct.c, gcc.dg/dfp/constants-c99.c,
      	gcc.dg/dfp/compare-eq-d32.c, gcc.dg/dfp/func-vararg-mixed.c,
      	gcc.dg/dfp/compare-rel-d128.c, gcc.dg/dfp/operator-comma.c,
      	gcc.dg/dfp/decfloat-constants.c, gcc.dg/dfp/operator-bitwise.c,
      	gcc.dg/dfp/func-mixed.c, gcc.dg/dfp/compare-eq-dfp.c,
      	gcc.dg/dfp/operator-assignment.c, gcc.dg/dfp/dfp-round.h,
      	gcc.dg/dfp/modes.c, gcc.dg/dfp/keywords-c99.c, gcc.dg/dfp/nan-1.c,
      	gcc.dg/dfp/loop-index.c, gcc.dg/dfp/compare-eq-d64.c,
      	gcc.dg/dfp/convert-bfp.c, gcc.dg/dfp/usual-arith-conv-const.c,
      	gcc.dg/dfp/convert-dfp.c, gcc.dg/dfp/compare-rel-const.c,
      	gcc.dg/dfp/convert-int-fold.c, gcc.dg/dfp/keywords-pedantic.c,
      	gcc.dg/dfp/compare-rel-d32.c, gcc.dg/dfp/call-by-value.c,
      	gcc.dg/dfp/constants-hex.c, gcc.dg/dfp/func-scalar.c,
      	gcc.dg/dfp/keywords-ignored-c99.c, gcc.dg/dfp/snan.c,
      	gcc.dg/dfp/usual-arith-conv.c, gcc.dg/dfp/constants-pedantic.c,
      	gcc.dg/dfp/operator-logical.c, gcc.dg/dfp/compare-eq-d128.c,
      	gcc.dg/dfp/convert-bfp-fold.c, gcc.dg/dfp/ctypes.c,
      	gcc.dg/dfp/convert-int.c, gcc.dg/dfp/keywords-c89.c,
      	gcc.dg/dfp/constants.c, gcc.dg/dfp/compare-rel-dfp.c,
      	gcc.dg/dfp/compare-eq-const.c, gcc.dg/dfp/cast-bad.c,
      	gcc.dg/dfp/operator-arith-fold.c, gcc.dg/dfp/union-init.c,
      	gcc.dg/dfp/struct-layout-1.c,
      	gcc.dg/dfp/compare-eq.hgcc.dg/dfp/convert-int-saturate.c,
      	gcc.dg/dfp/compare-rel-d64.c, gcc.dg/dfp/func-vararg-size0.c,
      	gcc.dg/dfp/Wconversion-2.c, gcc.dg/dfp/nan-2.c,
      	gcc.dg/dfp/operator-cond.c, gcc.dg/dfp/composite-type.c,
      	gcc.dg/dfp/func-vararg-dfp.c,
      	gcc.dg/dfp/dfp.expgcc.dg/dfp/keywords-reserved.c,
      	gcc.dg/dfp/convert-complex.c, gcc.dg/dfp/Wbad-function-cast-1.c,
      	gcc.dg/dfp/operator-unary.c, gcc.dg/dfp/altivec-types.c,
      	gcc.dg/dfp/cast.c, gcc.dg/dfp/typespec.c,
      	gcc.dg/dfp/wtr-conversion-1.c: New tests.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com>
      Co-Authored-By: Yao Qi <qiyaoltc@cn.ibm.com>
      
      From-SVN: r109604
      Janis Johnson committed
    • 2005-01-11 Kenneth Zadeck <zadeck@naturalbridge.com> · fcfd0ebb
         * df-scan.c (df_hard_reg_init) Moved declaration of i outside ifdef.
      
      From-SVN: r109603
      Kenneth Zadeck committed
    • tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs. · 8702a557
      
      	* tree-ssa-threadupdate.c (threaded_edges): New VEC to
      	hold edge pairs.
      	(mark_threaded_blocks, register_jump_thread): New functions.
      	(thread_through_all_blocks): Remove unwanted argument.  No
      	longer rely on e->aux to communicate thread target info.
      	Call mark_threaded_blocks.  Release the threaded_blocks
      	bitmap and threaded_edges vector when complete.
      	* tree-ssa-dom.c (struct edge_info): Remove redirection_target field.
      	(threaded_blocks): Remove.
      	(tree_ssa_dominator_optimize): Remove initialization and
      	finalization of threaded_blocks.  Simplify call to
      	thread_through_all_blocks.
      	(thread_across_edge): Call register_jump_thread rather than
      	storing thread information into e->aux.
      	(free_all_edge_infos): Simplify now that e->aux is no longer
      	used to communicate with thread_through_all_blocks.
      	* tree-flow.h (thread_through_all_blocks): Update prototype.
      	(register_jump_thread): Prototype.
      
      From-SVN: r109602
      Jeff Law committed
    • df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK. · 9be0cc75
      	* df-core.c (df_compact_blocks, df_bb_replace): Use
      	SET_BASIC_BLOCK instead of BASIC_BLOCK.
      
      From-SVN: r109600
      Kazu Hirata committed
    • re PR tree-optimization/25734 (ice for legal kernel code with -Os) · a40d3497
      2006-01-11  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/25734
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not
      	stop propagation after successful propagation to the LHS.
      
      	* gcc.dg/tree-ssa/pr25734.c: New testcase.
      
      From-SVN: r109598
      Richard Guenther committed
    • basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. · 68f9b844
      	* basic-block.h (control_flow_graph): Change the type of
      	x_basic_block_info to VEC(basic_block,gc) *.
      	(BASIC_BLOCK_FOR_FUNCTION, BASIC_BLOCK): Adjust the uses of
      	basic_block_info.
      	(SET_BASIC_BLOCK): New.
      	* cfg.c (compact_blocks, expunge_block): Use SET_BASIC_BLOCK
      	instead of BASIC_BLOCK when assigning to BASIC_BLOCK.
      	* cfgbuild.c (find_basic_blocks): Likewise.
      	* cfglayout.c (fixup_reorder_chain): Likewise.
      	* cfgrtl.c (create_basic_block_structure,
      	rtl_create_basic_block): Likewise.
      	* ifcvt.c (find_if_case_1): Likewise.
      	* tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb):
      	Likewise.
      
      From-SVN: r109596
      Kazu Hirata committed
    • re PR fortran/25486 (fortran fixed-form literal character constant not padded.) · 043c2d9e
      gcc/fortran:
      2006-01-11  Bernhard Fischer  <rep.nop@aon.at>
      
      	PR fortran/25486
      	* scanner.c (load_line): use maxlen to determine the line-length used
      	for padding lines in fixed form.
      
      gcc/testsuite:
      2006-01-10  Bernhard Fischer  <rep.nop@aon.at>
      
      	PR fortran/25486
      	* gfortran.dg/literal_character_constant_1_x.F: New test.
      	* gfortran.dg/literal_character_constant_1_y.F: Ditto.
      	* gfortran.dg/literal_character_constant_1_z.F: Ditto.
      	* gfortran.dg/literal_character_constant_1.inc: Helper for new tests.
      
      From-SVN: r109591
      Bernhard Fischer committed
    • tree.c (lvalue_p_1): Any part of a COMPONENT_REF affects packedness. · 758333d5
      	* tree.c (lvalue_p_1): Any part of a COMPONENT_REF affects
      	packedness.
      
      	* g++.dg/ext/packed3.C: Add expected packed error.
      
      From-SVN: r109590
      Nathan Sidwell committed
    • Fixed old changelog entry to add defect in makefile entry. · 167c295d
      From-SVN: r109589
      Kenneth Zadeck committed
    • did not get the changelog transmitted the first time. · db0ab619
      From-SVN: r109588
      Kenneth Zadeck committed
    • 2005-01-11 Kenneth Zadeck <zadeck@naturalbridge.com> · b963cc60
      	* Makefile.in Removed rotted odf.c entry.
      
      From-SVN: r109587
      Kenneth Zadeck committed
    • re PR target/25706 (invalid asm: "mov") · 29a6dbbb
      	PR target/25706
      	* gcc.dg/torture/pr25706-1.c: New test.
      
      From-SVN: r109585
      Hans-Peter Nilsson committed
    • re PR target/25706 (invalid asm: "mov") · 9c514326
      	PR target/25706
      	* config/cris/cris.md ("*extopqihi_side", "*extop<mode>si_side")
      	("*extop<mode>si_swap_side_biap", "*extop<mode>si_swap_side",
      	("*extopqihi", "*extop<mode>si", "*extop<mode>si_swap"): Use %E
      	output pattern modifier, not %e.
      	* config/cris/cris.c (cris_op_str): Update comment about pattern
      	modifier.
      	(cris_print_operand) <case 'e'>: Clear cris_output_insn_is_bound
      	before falling through into...
      	<case 'E'>: Redefined from old 'e' case.
      
      From-SVN: r109584
      Hans-Peter Nilsson committed
    • re PR target/25042 (__float128 ICE on x86) · f749178d
      	PR target/25042
      	* i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128
      
      From-SVN: r109582
      Jan Hubicka committed
    • i386.h (TARGET_DECOMPOSE_LEA): Kill. · 81d9f8df
      	* i386.h (TARGET_DECOMPOSE_LEA): Kill.
      	* i386.c (x86_decompose_lea): Kill.
      	(ix86_rtx_costs): Kill.
      
      From-SVN: r109581
      Jan Hubicka committed
    • cgraph.c (cgraph_insert_node_to_hashtable): New function. · ea99e0be
      	* cgraph.c (cgraph_insert_node_to_hashtable): New function.
      	* cgraph.h (cgraph_node): Add inline_decl.
      	(cgraph_insert_node_to_hashtable): Declare.
      	(save_inline_function_body): Declare.
      	* cgraphunit.c (verify_cgraph_node): Inline edges might point to inline
      	clones.
      	(cgraph_preserve_function_body_p): Do not presrve when dump is enabled.
      	(cgraph_function_versioning): Update call of tree_function_versioning.
      	(save_inline_function_body): New function.
      	* function.h (struct function): Kill saved_eh, saved_cfg, saved_args,
      	saved_static_chain_decl, saved_blocks and saved-unexpanded_var_list.
      	* ipa-inline.c (cgraph_mark_inline_edge): Look for inline clones.
      	(cgraph_default_inline_p): Likewise.
      	(cgraph_decide_inlining_incrementally): Likewise.
      	* tree-inline.c (inline_data): Kill saving_p add update_clones_p.
      	(copy_bb): Kill saving; do updating of clones.
      	(copy_cfg_body): Kill saving.
      	(initialize_inlined-parameters): Likewise.
      	(expand_call_inline): Likewise.
      	(save_body): Kill.
      	(tree_function_versioning): New parameter "update_clones".
      	(inlining_p): Kill saving.
      	* tree-inline.h (tree_function_versioning): Update prototype.
      	* tree-optimize.c (tree_rest_of_compilation): Use clonning instead of
      	saving.
      
      From-SVN: r109580
      Jan Hubicka committed