- 17 Jan, 2009 2 commits
-
-
2009-01-16 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'. From-SVN: r143455
H.J. Lu committed -
From-SVN: r143453
GCC Administrator committed
-
- 16 Jan, 2009 20 commits
-
-
PR c++/38877 * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF. * init.c (build_new): Don't call describable_type unless we have an auto. From-SVN: r143448
Jason Merrill committed -
* gcc-interface/Makefile.in: Fix multilib handling for powerpc64-linux. From-SVN: r143447
Jakub Jelinek committed -
PR c++/38877 * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF. * init.c (build_new): Don't call describable_type unless we have an auto. From-SVN: r143446
Jason Merrill committed -
PR c++/29470 * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags. From-SVN: r143445
Jason Merrill committed -
* ebitmap.h (ebitmap_iter_init): Initialize all fields. * ipa-struct-reorg.c (gen_struct_type): Replace known-true test with assertion. From-SVN: r143443
Alexandre Oliva committed -
2009-01-16 Richard Guenther <rguenther@suse.de> PR tree-optimization/38835 PR middle-end/36227 * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT) and INT + PTR -> (INT)(PTR p+ INT) folding. * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR. java/ * builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR. * gcc.c-torture/execute/pr36227.c: New testcase. * gcc.dg/tree-ssa/foldaddr-1.c: XFAIL. * g++.dg/init/const7.C: Likewise. From-SVN: r143442
Richard Guenther committed -
PR target/38554 * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift the subreg from a lowpart subreg if it is also casting the value. testsuite/ PR target/38554 * gcc.c-torture/compile/pr38554.c: New test. From-SVN: r143440
Adam Nemet committed -
PR c++/38579 * search.c (protected_accessible_p): N doesn't vary. From-SVN: r143439
Jason Merrill committed -
2009-01-16 Sebastian Pop <sebastian.pop@amd.com> Tobias Grosser <tobi.grosser@amd.com> * graphite.c (compare_prefix_loops): New. (build_scop_canonical_schedules): Rewritten. (graphite_transform_loops): Move build_scop_canonical_schedules after build_scop_iteration_domain. Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com> From-SVN: r143437
Sebastian Pop committed -
2009-01-16 Sebastian Pop <sebastian.pop@amd.com> Tobias Grosser <tobi.grosser@amd.com> * graphite.c (add_conditions_to_domain): Add the loops to the dimension of the iteration domain. Do copy the domain only when it exists. (build_scop_conditions_1): Do not call add_conditions_to_domain. (add_conditions_to_constraints): New. (can_generate_code_stmt, can_generate_code): Removed. (gloog): Do not call can_generate_code. (graphite_transform_loops): Call add_conditions_to_constraints after building the iteration domain. Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com> From-SVN: r143436
Sebastian Pop committed -
re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for non-constant arguments.) PR tree-optimization/38789 * tree-ssa-threadedge.c (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to __builtin_constant_p. * gcc.c-torture/compile/pr38789.c: New test. From-SVN: r143435
Jakub Jelinek committed -
2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com> * dce.c (delete_unmarked_insns): Reversed the order that insns are examined before deleting them. From-SVN: r143433
Kenneth Zadeck committed -
* function.c (aggregate_value_p): Correctly extract the function type from CALL_EXPR_FN lookup. From-SVN: r143432
Richard Earnshaw committed -
2009-01-16 Janus Weil <janus@gcc.gnu.org> PR fortran/38152 * expr.c (gfc_check_pointer_assign): Allow use-associated procedure pointers as lvalue. * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable): Enable procedure pointers as module variables. 2009-01-16 Janus Weil <janus@gcc.gnu.org> PR fortran/38152 * gfortran.dg/proc_ptr_13.f90: New. From-SVN: r143430
Janus Weil committed -
* config/picochip/picochip.c (picochip_override_options): Revert CFI asm flag disable commited previously. From-SVN: r143429
Hariharan Sandanagobalane committed -
* Makefile.def (configure-opcodes): Depend on configure-libiberty. (all-opcodes): Depend on all-libiberty. * Makefile.in: Regenerate. From-SVN: r143426
Alan Modra committed -
re PR c++/38850 (Cannot find inline friend function in template class when called from within a template function) PR c++/38850 * pt.c (tsubst_copy_and_build): Tell finish_call_expr to accept hidden friends. From-SVN: r143422
Jason Merrill committed -
* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp to tmake_file. From-SVN: r143421
Ben Elliston committed -
2009-01-15 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Add math_stubs_long_double.cc. * src/Makefile.in: Regenerate. * src/math_stubs_long_double.cc: New, from libmath/stubs.c. From-SVN: r143420
Benjamin Kosnik committed -
From-SVN: r143418
GCC Administrator committed
-
- 15 Jan, 2009 13 commits
-
-
2009-01-15 Sebastian Pop <sebastian.pop@amd.com> Tobias Grosser <tobi.grosser@amd.com> Jan Sjodin <jan.sjodin@amd.com> * graphite.c (scan_tree_for_params): On substractions negate all the coefficients of the term. (clast_to_gcc_expression_red): New. Handle reduction expressions of more than two operands. (clast_to_gcc_expression): Call clast_to_gcc_expression_red. (get_vdef_before_scop): Handle also the case of default definitions. Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com> Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com> From-SVN: r143415
Sebastian Pop committed -
2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C++/29388 * decl.c (grokdeclarator): Check for a non namespace/class context. 2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C++/29388 * g++.dg/template/error37.C: New testcase. From-SVN: r143411
Andrew Pinski committed -
gcc/ * caller-save.c (add_used_regs_1, add_used_regs): New functions. (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes. Also use them when walking CALL_INSN_FUNCTION_USAGE. From-SVN: r143409
Richard Sandiford committed -
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
Benjamin Kosnik committed -
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
Jason Merrill committed -
PR c++/38357 * g++.dg/template/crash87.C: New test. From-SVN: r143403
Steve Ellcey committed -
PR c++/38357 * pt.c (tsubst): Check for NULL args. From-SVN: r143402
Steve Ellcey committed -
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: Joey Ye <joey.ye@intel.com> From-SVN: r143400
H.J. Lu committed -
2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com> * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments. From-SVN: r143398
Kenneth Zadeck committed -
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: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r143397
Chris Fairles committed -
* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support. * configure: Regenerate. From-SVN: r143394
Douglas B Rupp committed -
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
Dodji Seketeli committed -
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
Jakub Jelinek committed
-
- 14 Jan, 2009 5 commits
-
-
From-SVN: r143386
Michael Meissner committed -
2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org> * ChangeLog-2007: Clean out svn merge droppings. From-SVN: r143385
Steven G. Kargl committed -
2009-01-14 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/38431 * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New. (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi. (gloog): Do not call cleanup_tree_cfg. (graphite_transform_loops): Call cleanup_tree_cfg after all scops have been code generated. From-SVN: r143384
Sebastian Pop committed -
* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the sequence PC-relative. From-SVN: r143382
Adam Nemet committed -
* gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling calls and/or PLT markers. * gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling calls and/or PLT markers. * gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling calls and/or PLT markers. * gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling calls and/or PLT markers. From-SVN: r143381
Mark Mitchell committed
-