1. 21 Sep, 2009 14 commits
  2. 20 Sep, 2009 12 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
    • Daily bump. · e39696dc
      From-SVN: r151893
      GCC Administrator committed
  3. 19 Sep, 2009 7 commits
    • mips.opt (mrelax-pic-calls): New option. · b53da244
      	* config/mips/mips.opt (mrelax-pic-calls): New option.
      	* config/mips/mips.c (mips_strip_unspec_address): Move it up in
      	the file.
      	(mips_unspec_call): Change "unspec_call" expander into this.
      	(mips_strip_unspec_call): New function.
      	(mips_got_load): Call mips_unspec_call instead of
      	gen_unspec_call<mode>.
      	(mips16_build_call_stub): Fix comment for fp_code.  Adjust call to
      	MIPS_CALL.
      	(mips_cfg_in_reorg): New function.
      	(mips16_lay_out_constants): Use it to decide whether to call
      	CFG-aware insn splitting.
      	(r10k_insert_cache_barriers): Move CFG set-up code from here to
      	mips_reorg.  Move DF set-up code from here ...
      	(mips_df_reorg): ... to here.  Call r10k_insert_cache_barriers
      	from here.
      	(mips_reorg): Call mips_df_reorg instead of
      	r10k_insert_cache_barriers.  Move CFG set-up code here from
      	r10k_insert_cache_barriers.
      	(mips_call_expr_from_insn): New function.
      	(mips_pic_call_symbol_from_set): Likewise.
      	(mips_find_pic_call_symbol): Likewise.
      	(mips_annotate_pic_call_expr): Likewise.
      	(mips_get_pic_call_symbol): Likewise.
      	(mips_annotate_pic_calls): Likewise.
      	(mips_override_options): Disable -mrelax-pic-calls unless PIC
      	calls are used.
      	(mips_set_mips16_mode): Disable -mrelax-pic-calls for MIPS16.
      	* config/mips/mips-protos.h (mips_get_pic_call_symbol): Declare it.
      	* config/mips/mips.h (MIPS_CALL): Use it to print the .reloc
      	directive.
      	* config/mips/mips.md (UNSPEC_CALL_ATTR): New unspec.
      	(unspec_call<mode>): Remove it.
      	(sibcall_internal, sibcall_value_internal,
      	sibcall_value_multiple_internal, call_internal, call_split,
      	call_value_internal, call_value_split,
      	call_value_multiple_internal, call_value_multiple_split): Pass
      	SIZE_OPNO to MIPS_CALL.
      	(call_internal_direct, call_direct_split,
      	call_value_internal_direct, call_value_direct_split): Pass -1 as
      	SIZE_OPNO to MIPS_CALL.
      	* configure.ac <mips*-*-*>: Add test for .reloc R_MIPS_JALR.
      	* configure: Regenerate.
      	* doc/invoke.texi (Option Summary): Add -mrelax-pic-calls
      	and -mno-relax-pic-calls.
      	(MIPS Options): Document -mrelax-pic-calls
      	and -mno-relax-pic-calls.
      
      testsuite/
      	* gcc.target/mips/mips.exp: Add relax-pic-calls
      	under -mfoo/-mno-foo options.
      	(mips-dg-options): Make -mrelax-pic-calls imply -mno-plt, -mabicalls
      	and -mexplicit-relocs.
      	* gcc.target/mips/call-1.c: New test.
      	* gcc.target/mips/call-2.c: New test.
      	* gcc.target/mips/call-3.c: New test.
      	* gcc.target/mips/lazy-binding-1.c: Add MIPS-specific dg-options.
      	* gcc.dg/tree-ssa/loop-1.c: Likewise.
      
      From-SVN: r151890
      Adam Nemet committed
    • * vi.po: Update. · 4172245c
      From-SVN: r151881
      Joseph Myers committed
    • Fix long-standing in-tree build include-fixed bug. · 1d93c860
      gcc/:
      	PR bootstrap/35619
      	* Makefile.in (stmp-fixinc): Ensure `include-fixed' is created
      	in the directory this rule is called from, rather than the
      	toplevel 'gcc' directory, to fix in-tree build.
      
      From-SVN: r151880
      Ralf Wildenhues committed
    • re PR preprocessor/28435 (-MMD vs not found system header (included from a system header)) · 74dc6a11
      [libcpp/ChangeLog]
      2009-09-18  Chris Demetriou  <cgd@google.com>
      
      	PR preprocessor/28435:
      	* include/cpplib.h (struct cpp_options): Add new member
      	deps.need_preprocessor_output.
      	* files.c (open_file_failed): If preprocessor output is needed
      	always report an error.
      
      [gcc/ChangeLog]
      2009-09-19  Chris Demetriou  <cgd@google.com>
      
      	PR preprocessor/28435:
      	* c-opts.c (c_common_handle_option): For -MD and -MMD, indicate
      	to cpplib that the preprocessor output is needed.
      
      [gcc/testsuite/ChangeLog]
      2009-09-19  Chris Demetriou  <cgd@google.com>
      
      	PR preprocessor/28435:
      	* gcc.dg/cpp/missing-header-MD.c: New test.
      	* gcc.dg/cpp/missing-header-MMD.c: New test.
      	* gcc.dg/cpp/missing-sysheader-MD.c: New test.
      	* gcc.dg/cpp/missing-sysheader-MMD.c: New test.
      
      From-SVN: r151879
      Chris Demetriou committed
    • re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing)) · b5e7280d
      2009-09-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/41328
      	* gfortran.dg/cr_lf.f90: Modify test to include check that no EOR with
      	EOF works.
      
      From-SVN: r151878
      Jerry DeLisle committed
    • re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing)) · bf187ce8
      2009-09-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/41328
      	* io/transfer.c (read_sf): Set at_eof flag on short read if any
      	characters were successfully read so that EOF condition with no EOR
      	marker succeeds.
      
      From-SVN: r151877
      Jerry DeLisle committed
    • Daily bump. · 70e42959
      From-SVN: r151876
      GCC Administrator committed
  4. 18 Sep, 2009 7 commits