1. 22 Sep, 2009 13 commits
  2. 21 Sep, 2009 16 commits
  3. 20 Sep, 2009 11 commits
    • ipa-sra-1.c (dg-options): Add -fipa-sra. · f7d1fabc
      2009-09-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.dg/ipa/ipa-sra-1.c (dg-options): Add -fipa-sra.
      	* gcc.dg/ipa/ipa-sra-2.c (dg-options): Likewise.
      	* gcc.dg/ipa/ipa-sra-3.c (dg-options): Likewise.
      	* gcc.dg/ipa/ipa-sra-4.c (dg-options): Likewise.
      	* gcc.dg/ipa/ipa-sra-5.c (dg-options): Likewise.
      
      From-SVN: r151908
      H.J. Lu committed
    • re PR tree-optimization/40642 (ICE with -fprofile-generate) · 15651f0b
      2009-09-20  Andrew Pinski  <pinskia@gcc.gnu.org>
      
              PR middle-end/40642
              * g++.dg/torture/pr40642.C: New testcase.
      
      From-SVN: r151907
      Andrew Pinski committed
    • re PR bootstrap/41395 (Revision 151800 failed bootstrap) · 1dbb24a3
      2009-09-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/41395
      	* opts.c (decode_options): Don't turn on flag_ipa_sra for opt2.
      
      From-SVN: r151905
      H.J. Lu committed
    • re PR middle-end/30789 (complex folding inexact) · ca75b926
      	PR middle-end/30789
      	* builtins.c (do_mpc_arg2): Accept DO_NONFINITE parameter.
      	(do_mpc_ckconv): Accept FORCE_CONVERT parameter.
      	(fold_builtin_2, do_mpc_arg1): Update accordingly.
      	* fold-const.c (const_binop): Likewise.
      	* real.h (do_mpc_arg2): Update prototype.
      
      testsuite:
      	* gcc.dg/torture/builtin-math-7.c: Update for testing Annex G
      	cases in static initializers.
      
      From-SVN: r151904
      Kaveh R. Ghazi committed
    • dwarf2out.c (add_const_value_attribute): Return true if successful. · c4a80a2d
      	* dwarf2out.c (add_const_value_attribute): Return true if successful.
      	(add_location_or_const_value_attribute): Rewrite using loc_list_from_tree.
      	(tree_add_const_value_attribute): Return true if successful.
      	(tree_add_const_value_attribute_for_decl): Likewise.
      
      	* dwarf2out.c (address_of_int_loc_descriptor): Break out from ...
      	(loc_descriptor): ... here;
      	(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
      	(cst_pool_loc_descr): Break out from ...; do not reffer constant
      	pool items that was not marked for output.
      	(loc_list_from_tree): ... here; handle special cases of ADDR_EXPR;
      	(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
      	(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
      	handle ALIGN_INDIRECT_REF, MISALIGNED_INDIRECT_REF, REALPART_EXPR,
      	IMAGPART_EXPR; handle address of INTEGER_CST; improve handling of
      	CONSTRUCTOR; handle REAL_CST, STRING_CST, COMPLEX_CST; use
      	DW_OP_stack_value to get address of items that are not available
      	as addresses.
      	(dw_loc_list): Handle single element lists correctly.
      
      From-SVN: r151901
      Jan Hubicka committed
    • unwind-dw2-fde.c (classify_object_over_fdes): Cast the constant 1 to _Unwind_Ptr. · 0b1d7060
      2009-09-20  Kai Tietz  <kai.tietz@onevision.com>
                  Pascal Obry  <obry@adacore.com>
      
              * unwind-dw2-fde.c (classify_object_over_fdes):
              Cast the constant 1 to _Unwind_Ptr.
              (add_fdes): Likewise.
              (linear_search_fdes): Likewise.
      
      
      Co-Authored-By: Pascal Obry <obry@adacore.com>
      
      From-SVN: r151899
      Kai Tietz committed
    • * stor-layout.c (set_sizetype): Avoid useless type copy. · d0566a63
      From-SVN: r151898
      Eric Botcazou committed
    • Adjust component · f8e25a2a
      From-SVN: r151897
      Eric Botcazou committed
    • configure.ac (gcc_cv_ld_mips_personality_relaxation): New feature check. · 49576e25
      gcc/
      	* configure.ac (gcc_cv_ld_mips_personality_relaxation): New
      	feature check.
      	(HAVE_LD_PERSONALITY_RELAXATION): New macro definition.
      	* configure, config.in: Regenerate.
      	* dwarf2asm.c (eh_data_format_name): Handle DW_EH_PE_indirect |
      	DW_EH_PE_absptr.
      	* config/mips/mips.h (TARGET_WRITABLE_EH_FRAME): New macro.
      	(ASM_PREFERRED_EH_DATA_FORMAT): Define.  Use MIPS_EH_INDIRECT
      	for global data if the output could be used in a shared library.
      	* config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
      	to 0 if TARGET_WRITABLE_EH_FRAME.
      
      From-SVN: r151896
      Richard Sandiford committed
    • [multiple changes] · 63c6c7e0
      2009-09-20  Paolo Bonzini <bonzini@gnu.org>
      
      	PR/39886
      	* combine.c (update_cfg_for_uncondjump): Set EDGE_FALLTHRU
      	just when insn is equal to BB_END (bb).
      
      2009-09-20  Kai Tietz  <kai.tietz@onevision.com>
      
      	* gcc.c-tortue/compile/pr39886.c: New.
      
      From-SVN: r151895
      Kai Tietz committed
    • re PR preprocessor/28435 (-MMD vs not found system header (included from a system header)) · ed6d9a1b
      [gcc/testsuite/ChangeLog]
      2009-09-20  Chris Demetriou  <cgd@google.com>
      
              PR preprocessor/28435:
              * gcc.dg/cpp/missing-header-MD.c: Make output checking match
              gcc.dg/cpp/missing-header-1.c, and add PR number to test comment.
              * gcc.dg/cpp/missing-header-MMD.c: Likewise.
              * gcc.dg/cpp/missing-sysheader-MD.c: Likewise.
              * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise.
      
      From-SVN: r151894
      Chris Demetriou committed