aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10df-problems.c (df_live_problem_data): Add live_bitmaps.Jan Hubicka2-54/+77
* df-problems.c (df_live_problem_data): Add live_bitmaps. (df_live_alloc): Initialize problem data and live_osbtacks. (df_live_finalize): Remove obstack, problem data; do not clear all bitmaps. (df_live_top_dump, df_live_bottom_dump): Do not dump old data when not allocated. (df_live_verify_solution_start): Do not allocate problem data. (df_live_verify_solution_end): Check if out is allocated. (struct df_md_problem_data): New structure. (df_md_alloc): Allocate problem data. (df_md_free): Free problem data; do not clear bitmaps. From-SVN: r160549
2010-06-10configure.ac: Replace $() with ${} when intending to expand variables rather ↵Jan Beulich3-4/+10
than invoking... gcc/ 2010-06-10 Jan Beulich <jbeulich@novell.com> * configure.ac: Replace $() with ${} when intending to expand variables rather than invoking commands. * configure: Re-generate. From-SVN: r160538
2010-06-10re PR rtl-optimization/44460 (r160380 breaks libjava bootstrap on ↵Hans-Peter Nilsson1-0/+1
*-apple-darwin*) PR rtl-optimization/44460 * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove TYPE_NEEDS_CONSTRUCTING sanity check. (oops, forgot the PR markers) From-SVN: r160533
2010-06-10emit-rtl.c (set_mem_attributes_minus_bitpos): Remove TYPE_NEEDS_CONSTRUCTING ↵Jan Hubicka2-6/+6
sanity check. * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove TYPE_NEEDS_CONSTRUCTING sanity check. From-SVN: r160530
2010-06-10selected_char_kind.c (selected_char_kind): Fix return value for ISO_10646.François-Xavier Coudert2-0/+28
* intrinsics/selected_char_kind.c (selected_char_kind): Fix return value for ISO_10646. * gfortran.dg/selected_char_kind_4.f90: New test. From-SVN: r160527
2010-06-10error.c (error_print): Pre-initialize loc by NULL.Kai Tietz4-19/+30
2010-06-10 Kai Tietz <kai.tietz@onevision.com> * error.c (error_print): Pre-initialize loc by NULL. * openmp.c (resolve_omp_clauses): Add explicit braces to avoid ambigous else. * array.c (match_subscript): Pre-initialize m to MATCH_ERROR. From-SVN: r160525
2010-06-10Daily bump.GCC Administrator1-1/+1
From-SVN: r160522
2010-06-09fdl.texi: Move to GFDL version 1.3.Gerald Pfeifer15-35/+114
gcc: * doc/include/fdl.texi: Move to GFDL version 1.3. * doc/cpp.texi: Move to GFDL version 1.3. * doc/gcc.texi: Move to GFDL version 1.3. Fix copyright years. * doc/gccint.texi: Move to GFDL version 1.3. * doc/gcov.texi: Move to GFDL version 1.3. Update copyright years. * doc/install.texi: Move to GFDL version 1.3. Fix copyright years. * doc/invoke.texi: Move to GFDL version 1.3. gcc/fortran: * gfc-internals.texi: Move to GFDL 1.3. * gfortran.texi: Ditto. * intrinsic.texi: Ditto. * invoke.texi: Ditto. gcc/java: * gcj.texi: Move to GFDL version 1.3. Fix copyright years. libgomp: * libgomp.texi: Move to GFDL version 1.3. Update copyright years. From-SVN: r160518
2010-06-09ipa-pure-const.c (propagate_pure_const, [...]): Break out from ...Jan Hubicka2-13/+53
* ipa-pure-const.c (propagate_pure_const, propagate_noreturn): Break out from ... (propagate) ... here; swap the order. From-SVN: r160517
2010-06-09bitmap.c (bitmap_elt_insert_after, [...]): Use checking asserts.Jan Hubicka2-13/+20
* bitmap.c (bitmap_elt_insert_after, bitmap_first_set_bit, bitmap_first_set_bit, bitmap_last_set_bit, bitmap_last_set_bit, bitmap_and_into, bitmap_and_compl_into, bitmap_set_range, bitmap_compl_and_into, bitmap_elt_ior): Use checking asserts. From-SVN: r160516
2010-06-09Limit non-constant step prefetching only to the innermost loops.Changpeng Fang2-0/+10
2010-06-09 Changpeng Fang <changpeng.fang@amd.com> * tree-ssa-loop-prefetch.c (gather_memory_references_ref): Do not the gather memory reference in the outer loop if the step is not a constant. From-SVN: r160515
2010-06-09Adjust the threshold value of PREFETCH_MOD_TO_UNROLL_FACTOR_RATIOChangpeng Fang2-4/+10
2010-06-09 Changpeng Fang <changpeng.fang@amd.com> * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO) : Change the PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO threshold value from 8 to 4. Minor change of the related comments. From-SVN: r160514
2010-06-09Call compute_overall_effect_of_inner_loop from instantiate_scev_name.Sebastian Pop2-3/+19
2010-06-09 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_name): Do not fail the scev analysis when the variable is not used outside the loop in a close phi node: call compute_overall_effect_of_inner_loop. From-SVN: r160510
2010-06-09Do not gather loop exit conditions on the basic blocks outside the loop.Sebastian Pop2-6/+20
2010-06-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (single_pred_cond): Renamed single_pred_cond_non_loop_exit. Return NULL for loop exit edges. (build_sese_conditions_before): Renamed call to single_pred_cond. (build_sese_conditions_after): Same. From-SVN: r160509
2010-06-09Fix comments and indentation.Sebastian Pop5-14/+28
2010-06-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.h: Fix comments and indentation. * graphite-sese-to-poly.c: Same. (build_sese_conditions_before): Compute stmt and gbb only when needed. * tree-chrec.c: Fix comments and indentation. (tree-ssa-loop-niter.c): Same. From-SVN: r160508
2010-06-09re PR rtl-optimization/42461 (missed optimization for pure functions)Eric Botcazou5-10/+36
PR rtl-optimization/42461 * dce.c (deletable_insn_p): Return true for const or pure calls again. * except.c (insn_could_throw_p): Return false if !flag_exceptions. From-SVN: r160507
2010-06-09re PR fortran/44347 (SELECT_REAL_KIND: Wrongly accepts non-scalar arguments)Daniel Franke4-4/+37
gcc/fortran/: 2010-06-09 Daniel Franke <franke.daniel@gmail.com> PR fortran/44347 * check.c (gfc_check_selected_real_kind): Verify that the actual arguments are scalar. gcc/testsuite/: 2010-06-09 Daniel Franke <franke.daniel@gmail.com> PR fortran/44347 * gfortran.dg/selected_real_kind_1.f90: New. From-SVN: r160506
2010-06-09re PR fortran/44359 (-Wall / -Wconversion: Too verbose warning for DATA BOZ ↵Daniel Franke5-54/+80
conversions) gcc/fortran/: 2010-06-09 Daniel Franke <franke.daniel@gmail.com> PR fortran/44359 * intrinsic.c (gfc_convert_type_warn): Further improve -Wconversion. gcc/testsuite/: 2010-06-09 Daniel Franke <franke.daniel@gmail.com> PR fortran/44359 * gfortran.dg/warn_conversion.f90: Removed check for redundant warning. * gfortran.dg/warn_conversion_2.f90: Use non-constant expression to check for warning. From-SVN: r160505
2010-06-09re PR fortran/44430 (Infinite recursion with -fdump-parse-tree)Janus Weil2-1/+6
2010-06-09 Janus Weil <janus@gcc.gnu.org> PR fortran/44430 * dump-parse-tree.c (show_symbol): Avoid infinite loop. From-SVN: r160504
2010-06-092010-06-09 Steven G. KarglSteven G. Kargl4-1/+34
* gfortran.dg/data_namelist_conflict.f90: New test. 2010-06-09 Steven G. Kargl * fortran/symbol.c (check_conflict): Remove an invalid conflict check. From-SVN: r160503
2010-06-09bitmap.c (bitmap_and): Walk array forward.Jan Hubicka2-16/+30
* bitmap.c (bitmap_and): Walk array forward. (bitmap_and_compl_into): Likewise. (bitmap_xor): Likewise. (bitmap_xor_into): Likewise. (bitmap_equal_p): Likewise. (bitmap_intersect_p): Likewise. (bitmap_intersect_compl_p): Likewise. (bitmap_ior_and_into): Likewise. (bitmap_elt_copy): Likewise. (bitmap_and_compl): Likewise. (bitmap_elt_ior): Likewise. From-SVN: r160502
2010-06-09dwarf2.C: Don't xfail on i386-pc-solaris*.Rainer Orth4-3/+7
* g++.old-deja/g++.oliva/dwarf2.C: Don't xfail on i386-pc-solaris*. * g++.old-deja/g++.oliva/dwarf3.C: Likewise. * g++.old-deja/g++.other/init19.C: Don't xfail on *-*-solaris2*. From-SVN: r160499
2010-06-09Fix gcc/ChangeLog.Anatoly Sokolov1-2/+2
From-SVN: r160498
2010-06-09opts-common.c (prune_options): Ensure replacement argv array is correctly ↵Dave Korn2-0/+12
terminated by a NULL entry. * opts-common.c (prune_options): Ensure replacement argv array is correctly terminated by a NULL entry. From-SVN: r160496
2010-06-09mvbits_9.f90: New test.Steven G. Kargl10-28/+182
2010-06-09 Steven G. Kargl <kargl@gcc.gnu.org> * testsuite/gfortran.dg/mvbits_9.f90: New test. * testsuite/gfortran.dg/ibset_1.f90: Ditto. * testsuite/gfortran.dg/ibits_1.f90: Ditto. * testsuite/gfortran.dg/btest_1.f90: Ditto. * testsuite/gfortran.dg/ibclr_1.f90: Ditto. 2010-06-09 Steven G. Kargl <kargl@gcc.gnu.org> * fortran/intrinsic.c (add_functions): Change gfc_check_btest, gfc_check_ibclr, and gfc_check_ibset to gfc_check_bitfcn. * fortran/intrinsic.h: Remove prototypes for gfc_check_btest, gfc_check_ibclr, and gfc_check_ibset. Add prototype for gfc_check_bitfcn. * fortran/check.c (nonnegative_check, less_than_bitsize1, less_than_bitsize2): New functions. (gfc_check_btest): Renamed to gfc_check_bitfcn. Use nonnegative_check and less_than_bitsize1. (gfc_check_ibclr, gfc_check_ibset): Removed. (gfc_check_ibits,gfc_check_mvbits): Use nonnegative_check and less_than_bitsize1. From-SVN: r160492
2010-06-09* gcc-interface/ada-tree.h: Fix formatting nits.Eric Botcazou2-16/+21
From-SVN: r160491
2010-06-09cgraph.h (varpool_first_static_initializer, [...]): Make checking only when ↵Jan Hubicka8-48/+64
checking enabled. * cgraph.h (varpool_first_static_initializer, varpool_next_static_initializer): Make checking only when checking enabled. * tree-vectorizer.h (vinfo_for_stmt): Remove check. (set_vinfo_for_stmt, get_earlier_stmt, is_loop_header_bb_p): Change gcc_assert to gcc_checking_assert. * tree-flow-inline.h (gimple_vop, get_var_ann, relink_imm_use, phi_nodes set_phi_nodes, phi_arg_index_from_use, op_iter_next_use, op_iter_next_def, op_iter_next_tree, op_iter_init, op_iter_init_use, op_iter_init_phiuse, op_iter_init_phidef, array_ref_contains_indirect_ref, ref_contains_array_ref): Use gcc_checking_assert. * emit-rtl.h (set_first_insn, set_last_insn): Likewise. * tree-ssa-live.h (var_to_partition, var_to_partition_to_var, partition_is_global, live_on_entry, live_on_exit, live_merge_and_clear): Likewise. * system.h (gcc_checking_assert): New macro. From-SVN: r160489
2010-06-09cp-tree.h (struct saved_scope): Change decl_ns_list field type to a VEC.Nathan Froyd4-7/+17
* cp-tree.h (struct saved_scope): Change decl_ns_list field type to a VEC. * decl2.c (cp_write_global_declarations): Adjust for new type of decl_namespace_list. * name-lookup.c (current_decl_namespace): Likewise. (push_decl_namespace): Likewise. (pop_decl_namespace): Likewise. From-SVN: r160487
2010-06-09call.c (build_java_interface_fn_ref): Call build_function_type_list instead ↵Nathan Froyd6-66/+73
of build_function_type. * call.c (build_java_interface_fn_ref): Call build_function_type_list instead of build_function_type. * decl.c (cxx_init_decl_processing): Likewise. (declare_global_var): Likewise. (get_atexit_node): Likewise. (expand_static_init): Likewise. * decl2.c (start_objects): Likewise. (start_static_storage_duration_function): Likewise. * except.c (init_exception_processing): Likewise. (build_exc_ptr): Likewise. (build_throw): Likewise. * rtti.c (throw_bad_cast): Likewise. (throw_bad_typeid): Likewise. (build_dynamic_cast_1): Likewise. From-SVN: r160486
2010-06-09call.c (build_call_n): Call XALLOCAVEC instead of alloca.Nathan Froyd5-11/+20
* call.c (build_call_n): Call XALLOCAVEC instead of alloca. (build_op_delete_call): Likewise. (build_over_call): Likewise. * cp-gimplify.c (cxx_omp_clause_apply_fn): Likewise. * pt.c (process_partial_specialization): Likewise. (tsubst_template_args): Likewise. * semantics.c (finish_asm_stmt): Likewise. From-SVN: r160485
2010-06-09* Makefile.in (TAGS): Collect tags info from c-family.Jason Merrill2-1/+5
From-SVN: r160484
2010-06-09re PR c++/44366 ([C++0x] g++ crashes when declaring a lambda expression ↵Jason Merrill2-3/+8
using a typedef'd decltype.) PR c++/44366 * g++.dg/cpp0x/decltype23.C: Move to... * g++.dg/diagnostic/parm1.C: ...here, and remove decltype. From-SVN: r160483
2010-06-09re PR fortran/44211 ([OOP] ICE with TBP of pointer component of derived type ↵Janus Weil4-0/+46
array) 2010-06-09 Janus Weil <janus@gcc.gnu.org> PR fortran/44211 * resolve.c (resolve_typebound_function,resolve_typebound_subroutine): Resolve references. 2010-06-09 Janus Weil <janus@gcc.gnu.org> PR fortran/44211 * gfortran.dg/typebound_call_14.f03: New test. From-SVN: r160478
2010-06-09lto.c (lto_resolution_read): Pre-initialize local variable r.Kai Tietz3-7/+14
2010-06-09 Kai Tietz <kai.tietz@onevision.com> * lto.c (lto_resolution_read): Pre-initialize local variable r. * lto-coff.c (coff_write_object_file): Add braces to if. From-SVN: r160475
2010-06-09gimple.h (gcc_gimple_checking_assert): New macro.Jan Hubicka2-79/+86
* gimple.h (gcc_gimple_checking_assert): New macro. (gimple_set_def_ops, gimple_set_use_ops, gimple_set_vuse, gimple_set_vdef, gimple_omp_subcode, gimple_omp_set_subcode, gimple_ops, gimple_op, gimple_op_ptr, gimple_op_ptr, gimple_set_op, gimple_bind_set_block, gimple_asm_input_op, gimple_asm_input_op_ptr, gimple_asm_set_input_op, gimple_asm_output_op, gimple_asm_output_op_ptr, gimple_asm_set_output_op, gimple_asm_clobber_op, gimple_asm_set_clobber_op, gimple_asm_label_op, gimple_asm_set_label_op, gimple_try_set_kind, gimple_try_catch_is_cleanup gimple_try_set_catch_is_cleanup, gimple_phi_arg, gimple_switch_num_labels, gimple_switch_set_index, gimple_switch_label, gimple_switch_set_label, gimple_omp_for_index, gimple_omp_for_index_ptr, gimple_omp_for_set_index, gimple_omp_for_initial, gimple_omp_for_initial_ptr, gimple_omp_for_set_initial, gimple_omp_for_final, gimple_omp_for_final_ptr, gimple_omp_for_set_final, gimple_omp_for_incr, gimple_omp_for_incr_ptr, gimple_omp_for_set_incr, gimple_omp_for_set_cond, gimple_omp_for_cond): Make checking conditional with ENABLE_GIMPLE_CHECKING. (gimple_phi_set_arg): Likewise; replace memcpy by assignment. From-SVN: r160474
2010-06-09tree-ssa-loop-ivopts.c (adjust_setup_cost): New function.Sandra Loosemore2-4/+25
2010-06-09 Sandra Loosemore <sandra@codesourcery.com> gcc/ * tree-ssa-loop-ivopts.c (adjust_setup_cost): New function. (get_computation_cost_at): Use it. (determine_use_iv_cost_condition): Likewise. (determine_iv_cost): Likewise. From-SVN: r160471
2010-06-09tree-ssa-loop-niter.c (simplify_replace_tree): Do not replace constants.Richard Guenther2-0/+9
2010-06-09 Richard Guenther <rguenther@suse.de> * tree-ssa-loop-niter.c (simplify_replace_tree): Do not replace constants. From-SVN: r160467
2010-06-09Move changelog entry of fortran into fortran's ChangeLog.Kai Tietz2-4/+6
From-SVN: r160465
2010-06-09resolve.c (resolve_deallocate_expr): Avoid warning about possible use of ↵Kai Tietz2-1/+6
iunitialized sym. 2010-06-09 Kai Tietz <kai.tietz@onevision.com> * fortran/resolve.c (resolve_deallocate_expr): Avoid warning about possible use of iunitialized sym. (resolve_allocate_expr): Pre-initialize sym by NULL. From-SVN: r160464
2010-06-09c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE.Kai Tietz2-1/+5
2010-06-09 Kai Tietz <kai.tietz@onevision.com> * c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE. From-SVN: r160463
2010-06-09re PR tree-optimization/44423 (Massive performance regression in SSE code ↵Martin Jambor4-3/+63
due to SRA) 2010-06-09 Martin Jambor <mjambor@suse.cz> PR tree-optimization/44423 * tree-sra.c (dump_access): Dump also grp_assignment_read. (analyze_access_subtree): Pass negative allow_replacements to children if the current type is scalar. * testsuite/gcc.dg/tree-ssa/pr44423.c: New test. From-SVN: r160462
2010-06-09re PR testsuite/42843 (--enable-build-with-cxx plugin tests fail)Joern Rennecke12-9/+49
gcc: PR testsuite/42843 * gcc-plugin.h (int plugin_is_GPL_compatible): Declare as extern "C". * doc/plugins.texi (Plugin license check): Update information on type of plugin_is_GPL_compatible. * Makefile.in (PLUGINCC): Define as $(COMPILER). (PLUGINCFLAGS): Define as $(COMPILER_FLAGS). gcc/testsuite: PR testsuite/42843 * gcc.dg/plugin/selfassign.c (pass_warn_self_assign): Use enumerator TV_NONE to initialize tv_id field. * g++.dg/plugin/selfassign.c (pass_warn_self_assign): Likewise. * gcc.dg/plugin/one_time_plugin.c (one_pass): Likewise. * g++.dg/plugin/dumb_plugin.c (pass_dumb_plugin_example): Likewise. Include toplev.h . * gcc.dg/plugin/finish_unit_plugin.c: Include cgraph.h. * g++.dg/plugin/attribute_plugin.c: Include toplev.h and plugin.h . * g++.dg/plugin/pragma_plugin.c: Include toplev.h . From-SVN: r160461
2010-06-09re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO)Francois-Xavier Coudert2-2/+5
PR fortran/43040 * f95-lang.c (gfc_init_builtin_functions): Remove comment. From-SVN: r160459
2010-06-09arm.c (thumb2_reorg): New function.Bernd Schmidt3-23/+65
* config/arm/arm.c (thumb2_reorg): New function. (arm_reorg): Call it. * config/arm/thumb2.md (define_peephole2 for flag clobbering arithmetic operations): Delete. From-SVN: r160458
2010-06-09Daily bump.GCC Administrator1-1/+1
From-SVN: r160453
2010-06-09re PR target/44067 (internal compiler error: in rs6000_split_multireg_move, ↵Edmar Wienskoski2-1/+8
at config/rs6000/rs6000.c:16713) PR target/44067 * config/rs6000/rs6000.md (DIFD): Do not split dpfp values for e500v2 target. From-SVN: r160449
2010-06-09re PR plugins/44459 (plugin interface depends on name mangling)Joern Rennecke2-6/+15
PR plugins/44459: * gcc-plugin.h: Encapsulate all declarations in extern "C". From-SVN: r160448
2010-06-08Add missing ChangeLog entries for revision 160327.H.J. Lu1-0/+3
From-SVN: r160447
2010-06-08basic-block.h (single_succ_edge, [...]): Do sanity checking with ↵Jan Hubicka2-0/+15
ENABLE_CHECKING only. * basic-block.h (single_succ_edge, single_pred_edge, ei_container, ei_next, ei_prev): Do sanity checking with ENABLE_CHECKING only. From-SVN: r160446
2010-06-08re PR tree-optimization/39874 (missing VRP (submission))Sandra Loosemore7-39/+1137
2010-06-08 Sandra Loosemore <sandra@codesourcery.com> PR tree-optimization/39874 PR middle-end/28685 gcc/ * gimple.h (maybe_fold_and_comparisons, maybe_fold_or_comparisons): Declare. * gimple-fold.c (canonicalize_bool, same_bool_comparison_p, same_bool_result_p): New. (and_var_with_comparison, and_var_with_comparison_1, and_comparisons_1, and_comparisons, maybe_fold_and_comparisons): New. (or_var_with_comparison, or_var_with_comparison_1, or_comparisons_1, or_comparisons, maybe_fold_or_comparisons): New. * tree-ssa-reassoc.c (eliminate_redundant_comparison): Use maybe_fold_and_comparisons or maybe_fold_or_comparisons instead of combine_comparisons. * tree-ssa-ifcombine.c (ifcombine_ifandif, ifcombine_iforif): Likewise. gcc/testsuite/ * gcc.dg/pr39874.c: New file. From-SVN: r160445