- 14 Jan, 2010 10 commits
-
-
PR c/42721 Port from no-undefined-overflow branch 2009-03-09 Richard Guenther <rguenther@suse.de> * fold-const.c (add_double_with_sign): Fix unsigned overflow detection. * gcc.c-torture/execute/pr42721.c: New test. From-SVN: r155887
Jakub Jelinek committed -
re PR lto/42665 (Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp) 2010-01-14 Richard Guenther <rguenther@suse.de> PR lto/42665 * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. From-SVN: r155885
Richard Guenther committed -
Fix PR42681. 2010-01-14 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42681 * graphite-clast-to-gimple.c (gloog_error): New static variable. (clast_to_gcc_expression): Do not build MULT_EXPR of POINTER_TYPE_P. Set gloog_error when such an expression failed to be built. (translate_clast): Early return when gloog_error is set. (gloog): Clear gloog_error. When gloog_error is set, call set_ifsese_condition to enable the original code. Return the status of the code generation based on gloog_error. * sese.c (set_ifsese_condition): New. * sese.h (set_ifsese_condition): Declared. * testsuite/g++.dg/graphite/pr42681.C: New. From-SVN: r155884
Sebastian Pop committed -
PR tree-optimization/42709 * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type as scalar type in creation of constant vector operand. From-SVN: r155882
Ira Rosen committed -
Fix PR42732. 2010-01-14 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42732 * graphite-clast-to-gimple.c (gloog): Call scev_reset_htab and rename_nb_iterations. * sese.c (rename_variables_in_operand): New. (rename_variables_in_expr): New. (rename_nb_iterations): New. (sese_adjust_liveout_phis): Update the rename_map. * sese.h (rename_nb_iterations): Declared. * tree-scalar-evolution.c (scev_reset_htab): New. (scev_reset): Call scev_reset_htab. * tree-scalar-evolution.h (scev_reset_htab): Declared. * testsuite/gfortran.dg/graphite/pr42732.f: New. From-SVN: r155881
Sebastian Pop committed -
re PR testsuite/42414 (arbitrary path modification by a sed statement breaks testsuite if testsuite is in the absolute path) Fix PR testsuite/42414. gcc/: PR testsuite/42414 * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%) (check-parallel-%): Match `testsuite' directory component only at the end. From-SVN: r155880
Ralf Wildenhues committed -
po/ 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> PR translation/39521 * exgettext: Extracted all specs %n strings and the %e strings that %e is at the start of a line. 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> PR translation/39521 * gcc.c (do_spec_1): Wrapped the error and notice messages of specs strings with _(). From-SVN: r155878
Shujing Zhao committed -
2010-01-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/41478 * trans-array.c (duplicate_allocatable): Static version of gfc_duplicate_allocatable with provision to handle scalar components. New boolean argument to switch off call to malloc if true. (gfc_duplicate_allocatable): New function to call above with new argument false. (gfc_copy_allocatable_data): New function to call above with new argument true. (structure_alloc_comps): Do not apply indirect reference to scalar pointers. Add new section to copy allocatable components of arrays. Extend copying of allocatable components to include scalars. (gfc_copy_only_alloc_comp): New function to copy allocatable component derived types, without allocating the base structure. * trans-array.h : Add primitive for gfc_copy_allocatable_data. Add primitive for gfc_copy_only_alloc_comp. * trans-expr.c (gfc_conv_procedure_call): After calls to transformational functions with results that are derived types with allocatable components, copy the components in the result. (gfc_trans_arrayfunc_assign): Deallocate allocatable components of lhs derived types before allocation. 2010-01-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/41478 * gfortran.dg/alloc_comp_scalar_1.f90: New test. * gfortran.dg/alloc_comp_transformational_1.f90: New test. From-SVN: r155877
Paul Thomas committed -
2010-01-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/42481 * module.c (load_generic_interfaces): If a procedure that is use associated but not generic is given an interface that includes itself, then make it generic. 2010-01-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/42481 * gfortran.dg/generic_19.f90 : New test. From-SVN: r155876
Paul Thomas committed -
From-SVN: r155875
GCC Administrator committed
-
- 13 Jan, 2010 18 commits
-
-
2010-01-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/42730 * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for offset zero. * gcc.c-torture/compile/pr42730.c: New testcase. From-SVN: r155872
Richard Guenther committed -
2010-01-13 Steve Ellcey <sje@cup.hp.com> PR target/pr42542 * gcc.target/ia64/pr42542-1.c: New. * gcc.target/ia64/pr42542-2.c: New. * gcc.target/ia64/pr42542-3.c: New. From-SVN: r155871
Steve Ellcey committed -
2010-01-13 Steve Ellcey <sje@cup.hp.com> PR target/pr42542 * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT for V2SI by subtracting (-(INT MAX) - 1) from both operands to make them signed. From-SVN: r155870
Steve Ellcey committed -
Fix PR c++/42634 gcc/cp/ChangeLog: PR c++/42634 * error.c (dump_template_parms): Use innermost template arguments before calling count_non_default_template_args. (count_non_default_template_args): We are being called with template innermost arguments now. There is no need to ensure that again. gcc/testsuite/ChangeLog: PR c++/42634 * g++.dg/template/error45.C: New test. From-SVN: r155868
Dodji Seketeli committed -
bfin.c (bfin_reorg): Call run_selective_scheduling rather than schedule_insns if the pass is enabled. * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling rather than schedule_insns if the pass is enabled. From-SVN: r155867
Bernd Schmidt committed -
* config/bfin/libgcc-bfin.ver: Regenerate based on current libgcc-std.ver. Add entries for ___smulsi3_highpart and ___umulsi3_highpart. From-SVN: r155866
Bernd Schmidt committed -
2010-01-13 Martin Jambor <mjambor@suse.cz> PR tree-optimization/42704 * tree-sra.c (sra_modify_assign): Do not delete assignments to SSA_NAMEs. * testsuite/g++.dg/torture/pr42704.C: New test. From-SVN: r155865
Martin Jambor committed -
2010-01-13 Benjamin Kosnik <bkoz@redhat.com> * include/profile/iterator_tracker.h: Add copyright. From-SVN: r155864
Benjamin Kosnik committed -
2010-01-13 Martin Jambor <mjambor@suse.cz> PR tree-optimization/42703 * tree-sra.c (analyze_access_subtree): Check that we can build a reference to the original data within the aggregate. * testsuite/gcc.c-torture/compile/pr42703.c: New test. From-SVN: r155863
Martin Jambor committed -
2010-01-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/42705 * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. * gcc.c-torture/compile/pr42705.c: New testcase. From-SVN: r155861
Richard Guenther committed -
* gcc.target/bfin/l2.c: New test. * gcc.target/bfin/bfin.exp (dg-bfin-processors): New. From-SVN: r155860
Jie Zhang committed -
2010-01-13 Richard Guenther <rguenther@suse.de> PR middle-end/42716 * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs. * gcc.c-torture/compile/pr42716.c: New testcase. From-SVN: r155859
Richard Guenther committed -
PR debug/41371 * var-tracking.c (values_to_unmark): New variable. (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in values_to_unmark vector. Moved body to... (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, instead queue it into values_to_unmark vector. (vt_find_locations): Free values_to_unmark vector. From-SVN: r155858
Jakub Jelinek committed -
2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com> * config/s390/s390.c (override_options): Set default of max-pending-list-length to 256 From-SVN: r155856
Wolfgang Gellerich committed -
* dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type. From-SVN: r155855
Joel Brobecker committed -
2010-01-13 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/Makefile.am (check-debug): Add. * testsuite/Makefile.in: Regenerate. * config.h.in: Likewise. From-SVN: r155854
Paolo Carlini committed -
2010-01-13 Richard Guenther <rguenther@suse.de> PR lto/42678 * tree-pass.h (PROP_gimple_lcx): New. * cfgexpand.c (pass_expand): Require PROP_gimple_lcx. * passes.c (init_optimization_passes): Move pass_lower_complex_O0 before the final cleanup_eh. (dump_properties): Dump PROP_gimple_lcx. * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx. (tree_lower_complex_O0): Remove. (gate_no_optimization): Run if PROP_gimple_lcx is not set. (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run tree_lower_complex, schedule TODO_update_ssa. * lto-streamer-out.c (output_function): Stream the functions properties. * lto-streamer-in.c (input_function): Likewise. (lto_read_body): Do not override them here. * gfortran.dg/lto/20100110-1_0.f90: New testcase. From-SVN: r155853
Richard Guenther committed -
From-SVN: r155849
GCC Administrator committed
-
- 12 Jan, 2010 12 commits
-
-
PR c/42708 * c-typeck.c (build_c_cast): Fold value cast to union type before wrapping it in a CONSTRUCTOR. testsuite: * gcc.c-torture/compile/pr42708-1.c: New test. From-SVN: r155846
Joseph Myers committed -
PR rtl-optimization/42699 * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are involved. From-SVN: r155844
Jakub Jelinek committed -
2010-01-12 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run in parallel-mode. * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse. * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse. * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse. * testsuite/25_algorithms/remove/moveable.c: Likewiwse. * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse. * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse. * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse. * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse. * testsuite/25_algorithms/partition/moveable.cc: Likewiwse. * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse. * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse. * testsuite/25_algorithms/sort/moveable.cc: Likewiwse. * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse. * testsuite/25_algorithms/unique/moveable.cc: Likewiwse. * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse. * testsuite/25_algorithms/heap/moveable.cc: Likewiwse. * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration # in parallel-mode. From-SVN: r155841
Paolo Carlini committed -
* config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, SUBTARGET_WARN_UNUSED_SPEC): Move ... config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, SUBTARGET_WARN_UNUSED_SPEC): ... here * config/mips/iris5.h (LIBGCC_SPEC): Define. From-SVN: r155837
Rainer Orth committed -
For 2010-01-12 Julian Brown <julian@codesourcery.com> * config/arm/neon-schedgen.ml (Utils): Don't try to open missing module. (find_with_result): New. From-SVN: r155835
Julian Brown committed -
From-SVN: r155833
Jakub Jelinek committed -
PR debug/42662 * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx sharing when canonicalizing ({lt,ge}u (plus a b) b). * gcc.dg/pr42662.c: New test. From-SVN: r155831
Jakub Jelinek committed -
PR tree-optimization/42645 * tree-inline.c (processing_debug_stmt): Move earlier. Make static. (remap_ssa_name): If processing_debug_stmt and name wasn't found in decl_map, set processing_debug_stmt to -1 and return name without any remapping. * g++.dg/other/pr42645-1.C: New test. * g++.dg/other/pr42645-2.C: New test. From-SVN: r155830
Jakub Jelinek committed -
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS for non-tls_native targets. From-SVN: r155829
Hans-Peter Nilsson committed -
2010-01-12 Benjamin Kosnik <bkoz@redhat.com> * scripts/run_doxygen: Correct nested scope on the man pages. * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate. * doc/xml/manual/mt_allocator.xml: Same. * doc/xml/manual/allocator.xml: Same. * doc/xml/manual/codecvt.xml: Same. * doc/xml/manual/backwards_compatibility.xml: Same. * doc/xml/manual/concurrency.xml: Same. * doc/xml/manual/parallel_mode.xml: Same. * doc/xml/manual/io.xml: Same. * doc/xml/manual/support.xml: Same. * doc/xml/manual/evolution.xml: Same. * doc/xml/manual/using.xml: Same. * doc/xml/manual/extensions.xml: Same. * doc/xml/manual/appendix_contributing.xml: Same. * doc/xml/manual/prerequisites.xml: Same. * doc/xml/manual/diagnostics.xml: Same. * doc/xml/manual/spine.xml: Same. * doc/xml/manual/status_cxx200x.xml: Same. * doc/xml/manual/test.xml: Same. * doc/xml/spine.xml: Same. * doc/html/*: Regenerate. * include/profile/impl/profiler.h: Remove duplicate markup. From-SVN: r155828
Benjamin Kosnik committed -
2010-01-07 Benjamin Kosnik <bkoz@redhat.com> * scripts/run_doxygen: Correct nested scope on the man pages. * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate. * doc/xml/manual/mt_allocator.xml: Same. * doc/xml/manual/allocator.xml: Same. * doc/xml/manual/codecvt.xml: Same. * doc/xml/manual/backwards_compatibility.xml: Same. * doc/xml/manual/concurrency.xml: Same. * doc/xml/manual/parallel_mode.xml: Same. * doc/xml/manual/io.xml: Same. * doc/xml/manual/support.xml: Same. * doc/xml/manual/evolution.xml: Same. * doc/xml/manual/using.xml: Same. * doc/xml/manual/extensions.xml: Same. * doc/xml/manual/appendix_contributing.xml: Same. * doc/xml/manual/prerequisites.xml: Same. * doc/xml/manual/diagnostics.xml: Same. * doc/xml/manual/spine.xml: Same. * doc/xml/manual/status_cxx200x.xml: Same. * doc/xml/manual/test.xml: Same. * doc/xml/spine.xml: Same. * doc/html/*: Regenerate. * include/profile/impl/profiler.h: Remove duplicate markup. From-SVN: r155827
Benjamin Kosnik committed -
2010-01-12 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/24803 PR libstdc++/35569 PR libstdc++/42593 * include/std/functional (bind): Forward rvalues and detect correct result type of bound function object. * include/std/mutex (call_once): Specify bind result type. * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests. * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests and enable FIXME tests. * testsuite/20_util/bind/35569.cc: New. * testsuite/20_util/bind/ref2.cc: New. * testsuite/20_util/bind/38889.cc: New. * testsuite/20_util/bind/ref_neg.cc: New. * testsuite/20_util/bind/42593.cc: New. From-SVN: r155826
Jonathan Wakely committed
-