- 21 Sep, 2009 14 commits
-
-
From-SVN: r151944
Gerald Pfeifer committed -
/: * configure.ac: If bootstrapping a combined tree with --enable-gold, require c++ in stage1_languages. * configure: Regenerate. From-SVN: r151943
Ralf Wildenhues committed -
/: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate. From-SVN: r151942
Ralf Wildenhues committed -
* doc/xml/manual/appendix_contributing.xml: Adjust link to coreutils. From-SVN: r151941
Gerald Pfeifer committed -
/* * configure.ac: Diagnose --enable-build-with-cxx bootstrap with --enable-languages not containing c++. * configure: Regenerate. From-SVN: r151939
Ralf Wildenhues committed -
* env.c [__alpha__ && __osf__] (_BSD): Define. * init.c [__alpha__ && __osf__] (__gnat_error_handler): Cast msg to const char *. From-SVN: r151938
Rainer Orth committed -
tree-tailcall.c (process_assignment): Don't check if a multiplication or an addition are already present. 2009-09-21 Giuseppe Scrivano <gscrivano@gnu.org> * tree-tailcall.c (process_assignment): Don't check if a multiplication or an addition are already present. (find_tail_calls): Combine multiple additions and multiplications. (adjust_accumulator_values): Emit accumulators. testsuite: 2009-09-21 Giuseppe Scrivano <gscrivano@gnu.org> * gcc.dg/tree-ssa/tailrecursion-6.c: New file. From-SVN: r151935
Giuseppe Scrivano committed -
PR c++/41421 * tree.c (trivial_type_p): Fix logic. From-SVN: r151932
Jason Merrill committed -
From-SVN: r151931
Jason Merrill committed -
2009-09-21 Kai Tietz <kai.tietz@onevision.com> * config/i386/i386.c (ix86_expand_epilogue): Adjust offset for xmm register restore. 2009-09-21 Kai Tietz <kai.tietz@onevision.com> * gcc.dg/torture/calleesave-sse.c: New. From-SVN: r151918
Kai Tietz committed -
* gcc.dg/guality/inline-params.c: New testcase. * dwarf2out.c (decl_loc_table_eq): Allow decl_loc_table to be NULL. (dwarf2out_abstract_function): NULLify decl_loc_table at begginig and restore at the end. From-SVN: r151917
Jan Hubicka committed -
* gcc.c-torture/execute/ieee/ieee.exp (additional_flags): Add -fno-inline. * gcc.c-torture/execute/ieee/pr36332.c (foo): Remove attributes. * gcc.c-torture/execute/ieee/pr30704.c (f1): Ditto. (f2): Ditto. From-SVN: r151915
Uros Bizjak committed -
From-SVN: r151913
Eric Botcazou committed -
From-SVN: r151911
GCC Administrator committed
-
- 20 Sep, 2009 12 commits
-
-
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 -
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 -
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 -
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. (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 -
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 -
From-SVN: r151898
Eric Botcazou committed -
From-SVN: r151897
Eric Botcazou committed -
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 -
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 -
[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 -
From-SVN: r151893
GCC Administrator committed
-
- 19 Sep, 2009 7 commits
-
-
* 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 -
From-SVN: r151881
Joseph Myers committed -
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 -
[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 -
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 -
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 -
From-SVN: r151876
GCC Administrator committed
-
- 18 Sep, 2009 7 commits
-
-
*restore_gpregs_<mode>, *return_and_restore_gpregs_<mode>, *return_and_restore_fpregs_<mode>, *return_and_restore_fpregs_aix_<mode>): Remove 'z' operand modifier. From-SVN: r151873
Jakub Jelinek committed -
PR bootstrap/41397 * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Recurse instead of assuming it has always a REG inside of it. From-SVN: r151872
Jakub Jelinek committed -
* config/freebsd.h: Update comment on types. (WINT_TYPE): Define. From-SVN: r151871
Gerald Pfeifer committed -
* decl2.c (determine_visibility): Make anonymous types internal. (mark_used): Complain about types without linkage used in decls with internal linkage. (vague_linkage_fn_p): Split out from... * decl.c (maybe_commonize_var): ...here. (grokdeclarator): Adjust linkage when a typedef gives linkage name. * tree.c (no_linkage_check): Check the enclosing class and template arguments. * cp-tree.h (TYPE_NAMESPACE_SCOPE_P): New. From-SVN: r151868
Jason Merrill committed -
* c.opt: Add -fno-deduce-init-list. * pt.c (get_pattern_parm): New. (listify): Split out from... (listify_autos): ...here. (unify): Deduce std::initializer_list for T. * call.c (build_over_call): Warn about it. From-SVN: r151867
Jason Merrill committed -
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com> * python/hook.in: Fix prefix trailing slash on 64bit host arches. From-SVN: r151866
Jan Kratochvil committed -
value-prof.c (interesting_stringop_to_profile_p): Added output argument to indicate which parameter is the size parameter. 2009-09-18 Neil Vachharajani <nvachhar@google.com> * value-prof.c (interesting_stringop_to_profile_p): Added output argument to indicate which parameter is the size parameter. * value-prof.c (gimple_stringop_fixed_value): Use INTERESTING_STRINGOP_TO_PROFILE_P to find size argument. * value-prof.c (gimple_stringops_transform): Update call sites to INTERESTING_STRINGOP_TO_PROFILE_P to reflect parameter change. * testsuite/gcc.dg/tree-prof/val-prof-7.c: Added test case. From-SVN: r151864
Neil Vachharajani committed
-