- 07 Sep, 2010 12 commits
-
-
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 28 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 -
libobjc: * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin. Add a comment as to why, update FIXME comments. testsuite: * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c: Update XFAILs. From-SVN: r163906
Iain Sandoe committed -
PR rtl-optimization/44919 * sel-sched.c (move_cond_jump): Remove assert, check that the several blocks case can only happen with mutually exclusive insns instead. Rewrite the movement code to support moving through several basic blocks. * g++.dg/opt/pr44919.C: New. From-SVN: r163904
Alexander Monakov committed -
From-SVN: r163903
Nicola Pero committed -
* config/i386/i386.md (iptrsize): New mode attribute. (tp_seg): Ditto. (*load_tp_<mode>): Macroize insn from *load_tp_{si,di} using P mode iterator. (*add_tp_<mode>): Ditto from *add_tp_{si,di}. (stack_protect_set_<mode>): Ditto from stack_protect_set_{si,di}. (stack_protect_test_<mode>): Ditto from stack_protect_test_{si,di}. (stack_tls_protect_set_<mode>): Ditto from stack_tls_protect_set_{si,di}. Use %@ to output segment register of thread base pointer load. (stack_tls_protect_test_<mode>): Ditto from stack_tls_protect_test_{si,di}. Use %@ to output segment register of thread base pointer load. (stack_protect_set): Rewrite using indirect functions. (stack_protect_test): Ditto. * config/i386/i386.c (ix86_print_operand_punct_valid): Add '@'. (ix86_print_operand): Handle '@'. From-SVN: r163900
Uros Bizjak committed -
2010-09-06 Tobias Burnus <burnus@net-b.de> PR fortran/38282 * intrinsic.c (add_functions): Support IALL, IANY, IPARITY. (check_specific): Special case for those intrinsics. * gfortran.h (gfc_isym_id): Add new intrinsics * intrinsic.h (gfc_check_transf_bit_intrins, gfc_simplify_iall, gfc_simplify_iany, gfc_simplify_iparity, gfc_resolve_iall, gfc_resolve_iany, gfc_resolve_iparity): New prototypes. * iresolve.c (gfc_resolve_iall, gfc_resolve_iany, gfc_resolve_iparity, resolve_transformational): New functions. (gfc_resolve_product, gfc_resolve_sum, gfc_resolve_parity): Use resolve_transformational. * check.c (gfc_check_transf_bit_intrins): New function. * simplify.c (gfc_simplify_iall, gfc_simplify_iany, gfc_simplify_iparity, do_bit_any, do_bit_ior, do_bit_xor, simplify_transformation): New functions. (gfc_simplify_all, gfc_simplify_any, gfc_simplify_parity, gfc_simplify_sum, gfc_simplify_product): Use simplify_transformation. * trans-intrinsic.c (gfc_conv_intrinsic_arith, gfc_conv_intrinsic_function, gfc_is_intrinsic_libcall): Handle IALL, IANY and IPARITY intrinsics. * intrinsic.texi (IMAGE_INDEX): Move up to fix alphabetic order. (IALL, IANY, IPARITY): Document new intrinsics. 2010-09-06 Tobias Burnus <burnus@net-b.de> PR fortran/38282 * gfortran.dg/iall_iany_iparity_1.f90: New. * gfortran.dg/iall_iany_iparity_2.f90: New. 2010-09-06 Tobias Burnus <burnus@net-b.de> PR fortran/38282 * gfortran.map: Add new iany, iall and iparity intrinsics. * Makefile.am: Ditto. * m4/iany.m4: New. * m4/iall.m4: New. * m4/iparity.m4: New. * Makefile.in: Regenerate. * generated/iall_i1.c: Generate. * generated/iall_i2.c: Generate. * generated/iall_i4.c: Generate. * generated/iall_i8.c: Generate. * generated/iall_i16.c: Generate. * generated/iany_i1.c: Generate. * generated/iany_i2.c: Generate. * generated/iany_i4.c: Generate. * generated/iany_i8.c: Generate. * generated/iany_i16.c: Generate. * generated/iparity_i1.c: Generate. * generated/iparity_i2.c: Generate. * generated/iparity_i4.c: Generate. * generated/iparity_i8.c: Generate. * generated/iparity_i16.c: Generate. From-SVN: r163898
Tobias Burnus committed
-