- 07 Sep, 2010 17 commits
-
-
2010-09-07 Tobias Burnus <burnus@net-b.de> PR fortran/45186 * trans-array.c (gfc_conv_descriptor_data_get, gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr, gfc_conv_descriptor_offset, gfc_conv_descriptor_dtype, gfc_conv_descriptor_dimension, gfc_conv_descriptor_stride, gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound, gfc_conv_shift_descriptor_lbound, gfc_set_loop_bounds_from_array_spec, gfc_trans_allocate_array_storage, gfc_trans_create_temp_array, gfc_conv_array_transpose, gfc_get_iteration_count, gfc_grow_array, gfc_trans_array_ctor_element, gfc_trans_array_constructor_subarray, gfc_trans_array_constructor_value, constant_array_constructor_loop_size, gfc_trans_array_constructor, gfc_set_vector_loop_bounds, gfc_trans_array_bound_check, gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref, gfc_conv_array_ref, gfc_trans_preloop_setup, gfc_trans_scalarized_loop_end, gfc_conv_ss_startstride, gfc_conv_loop_setup, gfc_conv_array_extent_dim, gfc_conv_descriptor_size, gfc_array_init_size, gfc_array_allocate, gfc_array_deallocate, gfc_trans_array_bounds, gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias, gfc_get_dataptr_offset, get_array_charlen, gfc_conv_expr_descriptor, array_parameter_size, gfc_conv_array_parameter, gfc_trans_dealloc_allocated, get_full_array_size, duplicate_allocatable, structure_alloc_comps): Change fold_build[0-9] to fold_build[0-9]_loc. (duplicate_allocatable, structure_alloc_comps, gfc_duplicate_allocatable): Add space after function name. From-SVN: r163964
Tobias Burnus committed -
2010-09-07 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Append t-android for Android targets. * config/t-android: New. From-SVN: r163962
H.J. Lu committed -
From-SVN: r163961
Richard Henderson committed -
re PR fortran/43665 (INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments) 2010-09-07 Martin Jambor <mjambor@suse.cz> PR fortran/43665 * ipa-cp.c (ipcp_versionable_function_p): Return false if there are any type attributes. From-SVN: r163960
Martin Jambor committed -
* cp-tree.h (build_enumerator): Add new location_t parameter. (build_lang_decl_loc): New function. * decl.c (build_enumerator): New parameter loc. Use it when calling build_decl. Replace build_lang_decl with build_lang_decl_loc. * pt.c (tsubst_enum): Adjust call to build_enumerator. * parser.c (cp_parser_enumerator_definition): Ditto. * lex.c (build_lang_decl_loc): New function. From-SVN: r163959
Arnaud Charlet committed -
re PR fortran/45564 (gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check) 2010-09-07 Mikael Morin <mikael@gcc.gnu.org> * trans-stmt.c (gfc_trans_character_select): Be conversion-safe while checking string length value. * trans-intrinsic.c (gfc_conv_intrinsic_char): Build integer using gfc_charlen_type_node type. PR fortran/45564 * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Convert string length to gfc_charlen_type_node. 2010-09-07 Mikael Morin <mikael@gcc.gnu.org> * gfortran.dg/achar_4.f90: Enable bounds checking. From-SVN: r163958
Mikael Morin committed -
From-SVN: r163957
Jan Hubicka committed -
tree-ssa-ccp.c (fold_const_aggregate_ref): Fix handling of array_ref_low_bound in string access folding. * tree-ssa-ccp.c (fold_const_aggregate_ref): Fix handling of array_ref_low_bound in string access folding. From-SVN: r163956
Jan Hubicka committed -
PR target/45206 * config/i386/i386.c (ix86_expand_epilogue): Mark SP valid after eh_return fixup sequence. testsuite/ChangeLog: PR target/45206 * gcc.target/i386/pr45206.c: New test. From-SVN: r163955
Uros Bizjak committed -
* inclhack.def (hpux_htonl): Allow trailing whitespace in select. * fixincl.x: Regenerate. From-SVN: r163953
John David Anglin committed -
2010-09-07 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/45398 * include/std/atomic (atomic<_TP*>::store): Define. * include/std/atomic (atomic<_TP*>::load, exchange): Define inline. From-SVN: r163950
Paolo Carlini committed -
PR fortran/45505 * gfortran.dg/pr25923.f90: XFAIL warning on wrong line for ilp32. From-SVN: r163949
Hans-Peter Nilsson committed -
* gimple.c (maybe_fold_reference): Verify that operand is gimple_min_invariant. * gcc.c-torture/compile/20100907.c: New testcase. From-SVN: r163948
Jan Hubicka committed -
re PR middle-end/45569 (ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions) 2010-09-07 Richard Guenther <rguenther@suse.de> PR middle-end/45569 * tree-eh.c (operation_could_trap_helper_p): Neither COMPLEX_EXPR nor CONSTRUCTOR can trap. * tree-complex.c (update_complex_assignment): Update EH info. * g++.dg/eh/pr45569.C: New testcase. From-SVN: r163947
Richard Guenther committed -
re PR middle-end/45569 (ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions) 2010-09-07 Richard Guenther <rguenther@suse.de> PR middle-end/45569 * tree-cfg.c (build_gimple_cfg): Remove redundant stmt verification. * passes.c (execute_function_todo): Do not verify anything if we saw errors. From-SVN: r163946
Richard Guenther committed -
2010-09-07 Richard Guenther <rguenther@suse.de> * tree-pretty-print.c (dump_generic_node): Dump void types as void. From-SVN: r163944
Richard Guenther committed -
From-SVN: r163940
GCC Administrator committed
-
- 06 Sep, 2010 23 commits
-
-
From-SVN: r163936
Nicola Pero committed -
PR target/43137 * config/arm/iterators.md (qhs_zextenddi_cond, qhs_sextenddi_cond): New define_mode_attrs. * config/arm/arm.md (zero_extendsidi2, arm_zero_extendsidi2, arm_exxtendsidi2, arm_extendsidi2): Delete patterns. (zero_extend<mode>di2, extend<mode>di2 and related splits): New. (thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs. Remove pool_range attribute. (arm_zero_extendhisi2, arm_zero_extendhisi2_v6, arm_zero_extendqisi2, arm_zero_extendqisi2_v6, thumb1_zero_extendqisi2_v6): Remove pool_range and neg_pool_range attributes. * config/arm/thumb2.md (thumb2_zero_extendsidi2, thumb2_zero_extendhidi2, thumb2_zero_extendqidi2, thumb2_extendsidi2, thumb2_extendhidi2, thumb2_extendqidi2): Delete. PR target/43137 * gcc.target/arm/pr43137.c: New test. From-SVN: r163935
Bernd Schmidt committed -
2010-09-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36931 * frontend-passes.c (optimize_binop_array_assignment): New function. (optimize_assignment): Call it. 2010-09-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36931 * gfortran.dg/dependency_35.f90: New test. From-SVN: r163934
Thomas Koenig committed -
2010-09-06 H.J. Lu <hongjiu.lu@intel.com> * config/i386/linux-unwind.h (x86_fallback_frame_state): Properly check glibc. From-SVN: r163933
H.J. Lu committed -
2010-09-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/34145 * trans-expr.c (gfc_conv_substring): If start and end of the string reference are equal, set the length to one. 2010-09-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/34145 * gfortran.dg/char_length_17.f90: New test. From-SVN: r163932
Thomas Koenig committed -
2010-09-06 Tobias Burnus <burnus@net-b.de> PR fortran/45560 * dump-parse-tree.c (gfc_debug_expr): Use stderr instead of stdout. From-SVN: r163931
Tobias Burnus committed -
Fix PR c++/45200, c++/45293, c++/45558 gcc/cp/Changelog: PR c++/45200 PR c++/45293 PR c++/45558 * tree.c (strip_typedefs): Strip typedefs from the context of TYPENAME_TYPEs. gcc/testsuite/ChangeLog: PR c++/45200 PR c++/45293 PR c++/45558 * g++.dg/template/typedef34.C: New test. * g++.dg/template/typedef35.C: New test. From-SVN: r163929
Dodji Seketeli committed -
2010-09-06 Tobias Burnus <burnus@net-b.de> PR fortran/45560 * dump-parse-tree.c (gfc_debug_expr): New function. From-SVN: r163928
Tobias Burnus committed -
PR target/22152 * gcc.target/i386/pr22152.c (add3): Change "count" to unsigned int. From-SVN: r163927
Uros Bizjak committed -
PR target/22152 * config/i386/mmx.md (*mov<mode>_internal_rex64, *mov<mode>_internal_avx, *mov<mode>_internal, *movv2sf_internal_rex64_avx, *movv2sf_internal_rex64, *movv2sf_internal_avx, *movv2sf_internal): Split out !y-!y alternative. [ From-SVN: r163926
Uros Bizjak committed -
* c-common.h (do_warn_double_promotion): Declare. * c-common.c (do_warn_double_promotion): Define. * c-typeck.c (do_warn_double_promotion): Remove. * doc/invoke.texi (-Wdouble-promotion): Note available for C++ and Objective-C++ too. * typeck.c (cp_build_binary_op): Call do_warn_double_promotion. * call.c (build_conditional_expr): Likewise. (convert_arg_to_ellipsis): Likewise. * g++.dg/warn/Wdouble-promotion.C: New. From-SVN: r163925
Mark Mitchell committed -
* config/frv/frv.h (CLASS_LIKELY_SPILLED_P): Remove. * config/frv/frv-protos.h (frv_class_likely_spilled_p): Remove. * config/frv/frv.c (frv_class_likely_spilled_p): Make static. Change argument type to reg_class_t. Change result type to bool. (TARGET_CLASS_LIKELY_SPILLED_P): Define. From-SVN: r163924
Anatoly Sokolov committed -
PR libobjc/19850 * gthr-posix.h (__gthread_objc_thread_detach): Use _objc_thread_attribs when detaching a thread. * gthr-posix95.h (__gthread_objc_thread_detach): Same change. From-SVN: r163923
Nicola Pero committed -
From-SVN: r163922
Arnaud Charlet committed -
config/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * dfp.m4: Don't set enable_decimal_float to dpd if DFP is disabled. Set default_decimal_float. gcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libdecnumber/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libgcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure: Regenerated. From-SVN: r163921
H.J. Lu committed -
testsuite/ * g++.dg/parse/redef2.C: New. cp/ * parser.c (make_pointer_declarator, make_reference_declarator, make_call_declarator, make_array_declarator): Set declarator->id_loc. (cp_parser_init_declarator): Adjust location of decl if appropriate. From-SVN: r163920
Arnaud Charlet committed -
2010-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * combine.c (try_combine): Set subst_low_luid to i0. 2010-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/20100906-1.c: New testcase. From-SVN: r163917
Andreas Krebbel committed -
* testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to abi_check FAIL message. From-SVN: r163916
Jason Merrill committed -
2010-09-06 Richard Guenther <rguenther@suse.de> * tree.def (MISALIGNED_INDIRECT_REF): Remove. * tree.h (INDIRECT_REF_P): Only check for INDIRECT_REF. (build_aligned_type): Declare. * tree.c (check_qualified_type): Also compare TYPE_ALIGN. (check_aligned_type): New function. (build_aligned_type): Likewise. * expr.c (expand_assignment): Handle misaligned stores via TARGET_MEM_REF and MEM_REF using movmisalign_optab. (expand_expr_real_1): Likewise. (safe_from_p): Remove MISALIGNED_INDIRECT_REF handling. * tree-vect-stmts.c (vectorizable_store): Do not build MISALIGNED_INDIRECT_REF but initialize alignment information. (vectorizable_load): Likewise. * builtins.c (get_object_alignment): Remove MISALIGNED_INDIRECT_REF handling. * cfgexpand.c (expand_debug_expr): Likewise. * dwarf2out.c (loc_list_from_tree): Likewise. * fold-const.c (maybe_lvalue_p): Likewise. (operand_equal_p): Likewise. (build_fold_addr_expr_with_type_loc): Likewise. * gimplify.c (gimplify_addr_expr): Likewise. (gimplify_expr): Likewise. * tree-cfg.c (verify_types_in_gimple_min_lval): Likewise. (verify_gimple_assign_single): Likewise. * tree-dump.c (dequeue_and_dump): Likewise. (tree_could_trap_p): Likewise. * tree-predcom.c (ref_at_iteration): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. (op_code_prio): Likewise. (op_symbol_code): Likewise. * tree-ssa-ccp.c (get_value_from_alignment): Likewise. * tree-ssa-loop-im.c (for_each_index): Likewise. (gen_lsm_tmp_name): Likewise. * tree-ssa-loop-ivopts.c (idx_find_step): Likewise. (find_interesting_uses_address): Likewise. * tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise. * tree-ssa-operands.c (get_expr_operands): Likewise. * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. (ao_ref_init_from_vn_reference): Likewise. * tree.c (staticp): Likewise. (build1_stat): Likewise. (reference_alias_ptr_type): Likewise. * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. * config/rs6000/rs6000.c (rs6000_check_sdmode): Remove MISALIGNED_INDIRECT_REF handling. From-SVN: r163915
Richard Guenther committed -
2010-09-06 Richard Guenther <rguenther@suse.de> PR tree-optimization/45534 * tree-ssa-address.c (create_mem_ref_raw): Add verify parameter. (create_mem_ref): Do verify the created TARGET_MEM_REF is valid on the target. (maybe_fold_tmr): Do not verify the created TARGET_MEM_REF is valid on the target. From-SVN: r163913
Richard Biener committed -
config/: * dfp.m4: Quote argument of AC_MSG_WARN. gcc/: * configure.ac: Quote argument of AC_MSG_WARN. * configure: Regenerate. libdecnumber/: * configure: Regenerate. libgcc/: * configure: Regenerate. From-SVN: r163909
Andreas Schwab committed -
* sel-sched.c (move_cond_jump): Correct arguments to maybe_tidy_empty_bb. * sel-sched-ir.c (maybe_tidy_empty_bb): Export. From-SVN: r163908
Alexander Monakov committed -
PR testsuite/45543 * g++.dg/debug/dwarf2/typedef1.C: Expect just one DW_TAG_enumeration_type DIE. From-SVN: r163907
Jakub Jelinek committed
-