1. 28 Sep, 2009 18 commits
    • win64.S (_ffi_call_win64 stack): Remove for gnu assembly version use of ___chkstk. · ef6ed66d
      2009-09-28  Kai Tietz  <kai.tietz@onevision.com>
      
              * src/x86/win64.S (_ffi_call_win64 stack): Remove for gnu
              assembly version use of ___chkstk.
      
      From-SVN: r152256
      Kai Tietz committed
    • Add PR reference to ChangeLog entry. · 8244fa39
      From-SVN: r152254
      Olivier Hainque committed
    • ifcvt.c (noce_try_abs): Recognize pattern and call expand_one_cmpl_abs_nojump. · 65026047
      ./:	* ifcvt.c (noce_try_abs): Recognize pattern and call
      	expand_one_cmpl_abs_nojump.
      	* optabs.c (expand_one_cmpl_abs_nojump): New function.
      	* optabs.h (expand_one_cmpl_abs_nojump): Declare.
      testsuite/:
      	* gcc.target/i386/ifcvt-onecmpl-abs-1.c: New file.
      	* gcc.c-torture/execute/ifcvt-onecmpl-abs-1.c: New file.
      
      From-SVN: r152253
      Easwaran Raman committed
    • re PR middle-end/40500 (Revision 148512 failed to build binutils) · 13ebf17b
      	PR middle-end/40500
      	* c-opts.c (c_common_handle_option): Don't set
      	warn_jump_misses_init for -Wall.
      	* doc/invoke.texi (Warning Options): Update documentation.
      
      From-SVN: r152252
      Ian Lance Taylor committed
    • Fix dependency of out_object_file on gt header for out_file. · 2bc98066
      gcc/:
      	* Makefile.in ($(out_object_file)): Depend on
      	gt-$(basename $(notdir $(out_file))).h.
      
      From-SVN: r152249
      Ralf Wildenhues committed
    • dfp.exp: Run tests from c-c++-common/dfp. · 8387984e
      	* g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp.
      	* c-c++-common/dfp/func-vararg-alternate-d32.c: XFAIL for C++.
      	* c-c++-common/dfp/func-vararg-dfp.c: Ditto.
      	* c-c++-common/dfp/func-vararg-mixed.c: Ditto.
      	* c-c++-common/dfp/func-vararg-mixed-2.c: Ditto.
      
      From-SVN: r152247
      Janis Johnson committed
    • * g++.dg/dfp/dfp.exp: Fix typo. · 425a180d
      From-SVN: r152246
      Janis Johnson committed
    • target-supports.exp (check-effective-target-dfp-nocache): Fix typo that breaks the check. · efc7a2a5
      	* lib/target-supports.exp (check-effective-target-dfp-nocache):
      	Fix typo that breaks the check.
      
      From-SVN: r152245
      Janis Johnson committed
    • ada/ · 2d3a1837
              * gcc-interface/targtyps.c
              * (get_target_default_allocator_alignment):
              Account for observable alignments out of default allocators.
      
              testsuite/
              * gnat.dg (tagged_alloc_free.adb): New testcase.
      
      From-SVN: r152243
      Olivier Hainque committed
    • mangle.c (write_builtin_type): Support decimal float types. · d366d023
      	* mangle.c (write_builtin_type): Support decimal float types.
      	* g++.dg/dfp: New directory.
      	* g++.dg/dg.exp: Prune tests in dfp directory.
      	* g++.dg/dfp/dfp/exp: New.
      	* g++.dg/dfp/mangle-mode.C: New test.
      
      From-SVN: r152242
      Janis Johnson committed
    • except.h (struct eh_region_d): Add use_cxa_end_cleanup. · 384c400a
      	* except.h (struct eh_region_d): Add use_cxa_end_cleanup.
      	* except.c (gen_eh_region): Set it.
      	(duplicate_eh_regions_1): Copy it.
      	* tree-eh.c (lower_resx): Use it to determine which function
      	to call to resume.
      
      	* langhooks.h (struct lang_hooks): Add eh_use_cxa_end_cleanup.
      	* langhooks-def.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.
      
      	* builtins.def (BUILT_IN_CXA_END_CLEANUP): New.
      	* tree.c (build_common_builtin_nodes): Remove parameter.  Build
      	BUILT_IN_CXA_END_CLEANUP if necessary.
      	* tree.h (build_common_builtin_nodes): Update decl.
      
      	* c-common.c (c_define_builtins): Update call to
      	build_common_builtin_nodes.
      
      gcc/ada/
      	* gcc-interface/utils.c (gnat_install_builtins): Update call to
      	build_common_builtin_nodes.
      
      gcc/cp/
      	* cp-objcp-common.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.
      
      gcc/fortran/
      	* f95-lang.c (gfc_init_builtin_functions): Update call to
      	build_common_builtin_nodes.
      
      gcc/java/
      	* builtins.c (initialize_builtins): Update call to
      	build_common_builtin_nodes.
      	* lang.c (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.
      
      From-SVN: r152241
      Richard Henderson committed
    • spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns. · aa633255
      2009-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
              
              * spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns.
      
      From-SVN: r152239
      Andrew Pinski committed
    • builtins.c (interclass_mathfn_icode): New helper. · 44e10129
      	* builtins.c (interclass_mathfn_icode): New helper.
      	(expand_builtin_interclass_mathfn): Use it here, and split folding
      	into ...
      	(fold_builtin_interclass_mathfn): ... this new folder.
      	(build_call_nofold_loc): New static helper.
      	(build_call_nofold): New wrapper macro for above.
      	(expand_builtin_int_roundingfn): Use it instead of build_call_expr.
      	(expand_builtin_pow): Ditto.
      	(expand_builtin_memset_args): Ditto.
      	(expand_builtin_printf): Ditto.
      	(expand_builtin_fprintf): Ditto.
      	(expand_builtin_sprintf): Ditto.
      	(expand_builtin_memory_chk): Ditto.
      	(expand_builtin_mempcpy_args): Ditto and don't call folders.
      	(expand_builtin_stpcpy): Ditto.
      	(expand_builtin_strcmp): Ditto.
      	(expand_builtin_strncmp): Ditto.
      	(expand_builtin_strcpy): Remove FNDECL and MODE arguments.
      	(expand_builtin_strcpy_args): Don't call folders.
      	(expand_builtin_memcmp): Ditto.
      	(expand_builtin_strncpy): Ditto, and use target.
      	(expand_builtin_memcpy): Ditto.
      	(expand_builtin_strstr, expand_builtin_strchr, expand_builtin_strrchr,
      	expand_builtin_strpbrk, expand_builtin_memmove,
      	expand_builtin_memmove_args, expand_builtin_bcopy,
      	expand_builtin_memchr, expand_builtin_strcat, expand_builtin_strncat,
      	expand_builtin_strspn, expand_builtin_strcspn,
      	expand_builtin_fputs): Remove these.
      	(expand_builtin): Don't call the above, change calls to other
      	expanders that changed prototype.
      	(fold_builtin_stpcpy): New folder split out from expand_builtin_stpcpy.
      	(fold_builtin_1 <ISFINITE, ISINF, ISNORMAL>): Call
      	fold_builtin_interclass_mathfn.
      	(fold_builtin_2 <STPCPY>): Call fold_builtin_stpcpy.
      	(fold_builtin_strcat): Add folding split from expand_builtin_strcat.
      
      	* fold-const.c (fold_binary_loc <NE_EXPR>): Add !exp != 0 -> !exp.
      	* passes.c (init_optimization_passes): Move pass_fold_builtins
      	after last phiopt pass.
      	* tree-inline.c (fold_marked_statements): When folding builtins
      	iterate over all instruction potentially generated.
      	* tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Declare
      	earlier.
      	(fold_gimple_call): Use it to always fold calls (into potentially
      	multiple instructions).
      	* tree-ssa-dom.c (optimize_stmt): Resolve __builtin_constant_p
      	calls into zero at this time.
      	* tree-ssa-propagate.c (substitute_and_fold): Ignore multiple 
      	statements generated by builtin folding.
      
      testsuite/
      	* gcc.dg/builtins-44.c: Use __builtin_isinf_sign when checking
      	for sign of -Inf.
      
      From-SVN: r152236
      Michael Matz committed
    • m32r.c (m32r_is_insn): Return false for debugging insns. · d813aaba
              * config/m32r/m32r.c (m32r_is_insn): Return false for debugging
              insns.
      
      From-SVN: r152235
      Nick Clifton committed
    • for_each_selectors.h: Remove obsolete comment. · b112ce96
      2009-09-28  Johannes Singler  <singler@ira.uka.de>
      
              * include/parallel/for_each_selectors.h:  Remove obsolete comment.
      
      From-SVN: r152234
      Johannes Singler committed
    • Correct off-by-one error in changelog date. · 1d7d659d
      From-SVN: r152233
      Duncan Sands committed
    • Add support for using ggc cache tables from plugins. · 32c9b4e9
      Approved by Ian Lance Taylor.
      
      From-SVN: r152232
      Duncan Sands committed
    • Daily bump. · bd77e02d
      From-SVN: r152230
      GCC Administrator committed
  2. 27 Sep, 2009 14 commits
  3. 26 Sep, 2009 7 commits
  4. 25 Sep, 2009 1 commit
    • re PR tree-optimization/41454 (DOM miscompiles gcc.c-torture/execute/990513-1.c… · 87c93592
      re PR tree-optimization/41454 (DOM miscompiles gcc.c-torture/execute/990513-1.c at -O2 -fno-tree-vrp)
      
      	PR tree-optimization/41454
      	* tree-ssa-dom (stmts_to_rescan): Remove variable.
      	(tree_ssa_dominator_optimize): Don't allocate and free it.
      	(dom_opt_leave_block): Don't iterate over it.
      	(eliminate_redundant_computations): Don't return a value.
      	(cprop_operand, cprop_into_stmt): Ditto.
      	(optimize_stmt): Don't defer updating stmts.
      
      testsuite/
      	* gcc.dg/pr41454.c: New test.
      
      From-SVN: r152189
      Michael Matz committed