Skip to content
Snippets Groups Projects
  1. Jan 15, 2009
    • Benjamin Kosnik's avatar
      re PR libstdc++/32666 (FAIL: abi_check hppa) · adc8a1e3
      Benjamin Kosnik authored
      2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/32666
      	* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
      
      2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/32666
      	* Makefile.am (hosted_source): Remove libmath directory.
      	* Makefile.in: Regenerate.
      	* linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
      	(AC_REPLACE_MATHFUNCS): Remove.
      	(GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
      	in GLIBCXX_CHECK_C99_TR1.
      	* acinclude.m4: Remove libmath, need_math.
      	* crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
      	HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
      	* configure.ac: Same.
      	* configure: Regenerate.
      	* fragment.am: Fix comment.
      	* config.h.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* src/Makefile.am: Remove libmath references.
      	* doc/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	* src/compatibility.cc: Also export long double versions of "C" math
      	library if hppa-linux.
      	* config/abi/pre/gnu.ver: Remove unused __signbit exports.
      	* doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
      
      	* libmath: Remove.
      	* libmath/signbit.c: Same.
      	* libmath/stubs.c: Same.
      	* libmath/Makefile.in: Same.
      	* libmath/copysignf.c: Same.
      	* libmath/mathconf.h: Same.
      	* libmath/signbitf.c: Same.
      	* libmath/Makefile.am: Same.
      	* libmath/signbitl.c: Same.
      
      From-SVN: r143406
      adc8a1e3
    • Jason Merrill's avatar
      re PR c++/36334 (typedef to function type leads to problems) · 4af9e878
      Jason Merrill authored
              PR c++/36334
              PR c++/37646
              * tree.c (lvalue_p_1): Handle BASELINK.  A COMPONENT_REF to
              a function isn't necessarily an lvalue. Take tree, not const_tree.
              (lvalue_p, real_lvalue_p): Take tree, not const_tree.
              * typeck.c (lvalue_or_else): Likewise.
              * cp-tree.h: Adjust prototypes.
      
      From-SVN: r143404
      4af9e878
    • Steve Ellcey's avatar
      re PR c++/38357 (ICE cc1plus (Segmentation fault)) · f1253e7e
      Steve Ellcey authored
      	PR c++/38357
      	* g++.dg/template/crash87.C: New test.
      
      From-SVN: r143403
      f1253e7e
    • Steve Ellcey's avatar
      re PR c++/38357 (ICE cc1plus (Segmentation fault)) · 5fa0e853
      Steve Ellcey authored
      	PR c++/38357
      	* pt.c (tsubst): Check for NULL args.
      
      From-SVN: r143402
      5fa0e853
    • H.J. Lu's avatar
      re PR middle-end/37843 (unaligned stack in main due to tail call optimization) · e939805b
      H.J. Lu authored
      
      gcc/
      
      2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
      	    Joey Ye  <joey.ye@intel.com>
      
      	PR middle-end/37843
      	* cfgexpand.c (expand_stack_alignment): Don't update stack
      	boundary nor check incoming stack boundary here.
      	(gimple_expand_cfg): Update stack boundary and check incoming
      	stack boundary here.
      
      gcc/testsuite/
      
      2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/37843
      	* gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128.
      
      Co-Authored-By: default avatarJoey Ye <joey.ye@intel.com>
      
      From-SVN: r143400
      e939805b
    • Kenneth Zadeck's avatar
      dce.c (find_call_stack_args, [...]): Fixed comments. · 750900db
      Kenneth Zadeck authored
      2009-01-15  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* dce.c (find_call_stack_args, delete_unmarked_insns): Fixed
      	comments.
      
      From-SVN: r143398
      750900db
    • Chris Fairles's avatar
      acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [...]): Remove. · 959d14e1
      Chris Fairles authored
      
      2009-01-15  Chris Fairles  <cfairles@gcc.gnu.org>
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
      	[GLIBCXX_CHECK_NANOSLEEP]): Remove.
      	([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
      	* configure.ac: Adjust.
      	* doc/xml/manual/configure.xml: Update.
      	* testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
      	* testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
      	* testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
      	* configure: Regenerate.
      	* config.h.in: Likewise.
      
      	* src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
      	thread::joinable, thread::swap, this_thread::get_id,
      	this_thread::yield): Define inline...
      	* include/std/thread: ... here.
      	* config/abi/pre/gnu.ver: Adjust.
      
      Co-Authored-By: default avatarPaolo Carlini <paolo.carlini@oracle.com>
      
      From-SVN: r143397
      959d14e1
    • Douglas B Rupp's avatar
      configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support. · 52535a64
      Douglas B Rupp authored
      * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
      * configure: Regenerate.
      
      From-SVN: r143394
      52535a64
    • Dodji Seketeli's avatar
      re PR c++/38636 (ICE with broken ctor declaration) · 0efc4442
      Dodji Seketeli authored
      gcc/cp/ChangeLog:
      2009-01-13  Dodji Seketeli  <dodji@redhat.com>
      
      	PR c++/38636
      	* name-lookup.c (pushtag): Don't create members to types that are not
      	being created.
      
      gcc/testsuite/ChangeLog:
      2009-01-13  Dodji Seketeli  <dodji@redhat.com>
      
      	PR c++/38636
      	* g++.dg/parse/crash50.C: New test.
      
      From-SVN: r143392
      0efc4442
    • Jakub Jelinek's avatar
      re PR rtl-optimization/38245 (stack corruption when a call is removed but not... · 0196c95e
      Jakub Jelinek authored
      re PR rtl-optimization/38245 (stack corruption when a call is removed but not the outgoing argument pushes)
      
      	PR rtl-optimization/38245
      	* calls.c (expand_call): Add stack arguments to
      	CALL_INSN_FUNCTION_USAGE even for pure calls (when
      	ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
      	in regs and partially in memory or BLKmode arguments.
      	(emit_library_call_value_1): Add stack arguments to
      	CALL_INSN_FUNCTION_USAGE even for pure calls (when
      	ACCUMULATE_OUTGOING_ARGS).
      	* dce.c: Include tm_p.h.
      	(find_call_stack_args): New function.
      	(deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
      	argument.
      	(mark_insn): Call find_call_stack_args for CALL_Ps.
      	(prescan_insns_for_dce): Walk insns backwards in bb rather than
      	forwards.  Allocate and free arg_stores bitmap if needed, pass it
      	down to deletable_insn_p, don't mark stores set in arg_stores
      	bitmap, clear the bitmap at the beginning of each bb.
      	* Makefile.in (dce.o): Depend on $(TM_P_H).
      
      	* gcc.dg/pr38245-3.c: New test.
      	* gcc.dg/pr38245-3.h: New file.
      	* gcc.dg/pr38245-4.c: New file.
      	* gcc.dg/pr38364.c: New test.
      
      From-SVN: r143387
      0196c95e
  2. Jan 14, 2009
  3. Jan 13, 2009
    • Jakub Jelinek's avatar
      re PR rtl-optimization/38774 (ice in df_refs_verify, at df-scan.c:4307) · d3302fd3
      Jakub Jelinek authored
      	PR rtl-optimization/38774
      	* combine.c (simplify_set): When undoing cc_use change, don't do
      	PUT_CODE on the newly created comparison, but instead put back the
      	old comparison.
      
      	* gcc.dg/torture/pr38774.c: New test.
      
      From-SVN: r143355
      d3302fd3
    • Joseph Myers's avatar
      invoke.texi (ARM Options): Update lists of -mcpu and -march values. · 7ab23fd0
      Joseph Myers authored
      	* doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
      	values.  Remove duplicate arm8 entry.
      
      From-SVN: r143353
      7ab23fd0
    • Jakub Jelinek's avatar
      re PR c++/38795 (ICE with reinterpret_cast and variadic templates) · a7cbc517
      Jakub Jelinek authored
      	PR c++/38795
      	* tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR,
      	STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same
      	as CAST_EXPR.
      
      	* g++.dg/cpp0x/pr38795.C: New test.
      
      From-SVN: r143351
      a7cbc517
    • Daniel Jacobowitz's avatar
      altivec-consts.c: Run if vmx_hw, compile otherwise. · 5bdf05c8
      Daniel Jacobowitz authored
      
      	* gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile
      	otherwise.  Do not check for AltiVec at runtime.
      	* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
      	* gcc.target/powerpc/altivec-vec-merge.c: Likewise.
      	* gcc.target/powerpc/altivec-1.c: Likewise.
      	* gcc.target/powerpc/altivec-3.c: Likewise.
      	* gcc.target/powerpc/altivec-10.c: Likewise.
      	* gcc.target/powerpc/altivec-12.c: Likewise.
      	* gcc.target/powerpc/altivec-24.c: Likewise.
      	* gcc.target/powerpc/altivec-cell-2.c: Likewise.
      	* gcc.target/powerpc/altivec-cell-3.c: Likewise.
      	* gcc.target/powerpc/altivec-cell-4.c: Likewise.
      	* gcc.target/powerpc/pr35907.c: Likewise.
      	* gcc.target/powerpc/altivec-cell-8.c: Run if cell_hw, compile
      	otherwise.  Do not check for Cell at runtime.
      	* gcc.target/powerpc/altivec_check.h: Delete.
      
      	* g++.dg/ext/altivec-2.C: Do not check for AltiVec at runtime.
      	* g++.dg/ext/altivec-3.C: Run if vmx_hw, compile otherwise.  Do
      	not check for AltiVec at runtime.
      	* g++.dg/ext/altivec-cell-2.C: Likewise.
      	* g++.dg/ext/altivec-cell-3.C: Likewise.
      	* g++.dg/ext/altivec-cell-4.C: Likewise.
      	* g++.dg/eh/simd-2.C: Only use -maltivec if vmx_hw.
      	* g++.dg/eh/check-vect.h (sig_ill_handler): Remove AltiVec runtime
      	check.
      	* g++.dg/ext/altivec_check.h: Delete.
      
      Co-Authored-By: default avatarJoseph Myers <joseph@codesourcery.com>
      Co-Authored-By: default avatarNathan Froyd <froydnj@codesourcery.com>
      
      From-SVN: r143350
      5bdf05c8
    • Nathan Froyd's avatar
      altivec-macros.c: Require a powerpc_altivec_ok effective target. · 425a0a4d
      Nathan Froyd authored
      	* gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok
      	effective target.  Adjust line numbers accordingly.
      
      From-SVN: r143349
      425a0a4d
    • Mark Mitchell's avatar
      sse-10.c: Pass -mno-omit-leaf-frame-pointer. · 5b6b9db1
      Mark Mitchell authored
      2009-01-13  Mark Mitchell  <mark@codesourcery.com>
      
      	* gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.
      
      From-SVN: r143345
      5b6b9db1
    • Sebastian Pop's avatar
      re PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa) · f9344488
      Sebastian Pop authored
      2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/38786
      	* gcc.dg/graphite/pr38786.c: New.
      	* graphite.c (expand_scalar_variables_ssa_name): New, outlined from
      	the SSA_NAME case of expand_scalar_variables_expr.
      	Set the type of an expression to the type of its assign	statement.
      	(expand_scalar_variables_expr): Also gather the scalar computation
      	used to index the memory access.  Do not pass loop_p.
      	Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
      	(expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
      	the gimple_stmt_iterator where it inserts new code.  Do not pass loop_p.
      	(copy_bb_and_scalar_dependences): Do not pass loop_p.
      	(translate_clast): Update call to copy_bb_and_scalar_dependences.
      
      From-SVN: r143341
      f9344488
    • Sebastian Pop's avatar
      graphite.h (debug_value): Removed. · 2d8bb84d
      Sebastian Pop authored
      2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite.h (debug_value): Removed.
      	* graphite.c (debug_value): Removed.
      
      From-SVN: r143340
      2d8bb84d
    • Richard Earnshaw's avatar
      arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with two 32-bit instructions. · ff128632
      Richard Earnshaw authored
      	* arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
      	two 32-bit instructions.
      
      From-SVN: r143339
      ff128632
    • Richard Earnshaw's avatar
      arm.c (struct processors): Pass for speed down into cost helper functions. · d5a0a47b
      Richard Earnshaw authored
      	* arm.c (struct processors): Pass for speed down into cost helper
      	functions.
      	(const_ok_for_op): Handle COMPARE and inequality nodes.
      	(arm_rtx_costs_1): Rewrite.
      	(arm_size_rtx_costs): Update prototype.
      	(arm_rtx_costs): Pass speed down to helper functions.
      	(arm_slowmul_rtx_costs): Rework cost calculations.
      	(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
      	(arm_9e_rtx_costs): Likewise.
      
      From-SVN: r143338
      d5a0a47b
    • Uros Bizjak's avatar
      hash_data_map_rand.cc: Add dg-timeout-factor 2.0. · 43b2b720
      Uros Bizjak authored
      	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
      	Add dg-timeout-factor 2.0.
      	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
      	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
      	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
      	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
      	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
      	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
      
      From-SVN: r143335
      43b2b720
Loading