aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-21 * gcc-interfaces/utils.c (create_subprog_decl): Do not redefineEric Botcazou
main_identifier_node. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153052 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-21 * tree-vect-stmts.c (exist_non_indexing_operands_for_use_p): TweakEric Botcazou
order of checks. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153051 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-21 * gcc.target/vsx-vectorize-?.c: Move to powerpc/ directory.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153050 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-212009-10-21 Janus Weil <janus@gcc.gnu.org>Janus Weil
PR fortran/41706 PR fortran/41766 * match.c (select_type_set_tmp): Set flavor for temporary. * resolve.c (resolve_class_typebound_call): Correctly resolve actual arguments. 2009-10-21 Janus Weil <janus@gcc.gnu.org> PR fortran/41706 PR fortran/41766 * gfortran.dg/class_9.f03: Extended test case. * gfortran.dg/select_type_7.f03: New test case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153049 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-21Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153047 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1Richard Henderson
before emit_post_landing_pad. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153044 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * config/mips/mips.c (mips_binary_cost): Add new argument speed.Adam Nemet
Use when calling rtx_costs. (mips_rtx_costs): Fix formatting. Use argument speed rather than the global optimize_size. Pass speed to mips_binary_cost. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153041 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
PR libstdc++/41773 Revert: 2009-10-20 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/basic_string.h (_S_construct(const _CharT*, size_type, const _Alloc&)): New, declare. (_S_construct(_CharT*, _CharT*, const _Alloc&), _S_construct(const _CharT*, const _CharT*, const _Alloc&), _S_construct(iterator, iterator, const _Alloc&), _S_construct(const_iterator, const_iterator, const _Alloc&)): New, forward to the latter. * include/bits/basic_string.tcc (_S_construct(const _CharT*, size_type, const _Alloc&)): Define. (basic_string(const basic_string&, size_type, size_type), basic_string(const basic_string&, size_type, size_type, const _Alloc&), basic_string(const _CharT*, size_type, const _Alloc&), basic_string(const _CharT*, const _Alloc&), basic_string(initializer_list<>, const _Alloc&)): Call the latter. * config/abi/pre/gnu.ver: Remove recently added exports. * src/string-inst.cc: Remove instantiations. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153040 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
PR libstdc++/41763 * include/bits/valarray_array.h (__valarray_default_construct, __valarray_fill_construct, __valarray_copy_construct, __valarray_sum __valarray_destroy_elements, __valarray_product): Do not qualify with __restrict__ pointers accessing data also accessed by other pointers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153039 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * config/rs6000/rs6000.c (def_builtin): Set TREE_READONLY insteadJakub Jelinek
of TREE_CONSTANT. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153038 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20gcc/Richard Sandiford
* rtl.h (simplify_replace_fn_rtx): Declare. (wrap_constant, unwrap_constant): Delete. * cfgexpand.c (unwrap_constant, wrap_constant): Delete. (expand_debug_expr): Don't call wrap_constant. * combine.c (rtx_subst_pair): Only define for AUTO_INC_DEC. (auto_adjust_pair): Fold into... (propagate_for_debug_subst): ...here. Only define for AUTO_INC_DEC. Just return a new value. (propagate_for_debug): Use simplify_replace_fn_rtx for AUTO_INC_DEC, otherwise use simplify_replace_rtx. * cselib.c (wrap_constant): Reinstate old definition. (cselib_expand_value_rtx_1): Don't wrap constants. * gcse.c (try_replace_reg): Don't use copy_rtx in the call to simplify_replace_rtx. (bypass_block): Fix formatting in calls to simplify_replace_rtx. * reload1.c (reload): Skip all uses for an insn before adjusting it. Use simplify_replace_rtx. * simplify-rtx.c (simplify_replace_fn_rtx): New function, adapted from... (simplify_replace_rtx): ...here. Turn into a wrapper for simplify_replace_fn_rtx. (simplify_unary_operation): Don't unwrap CONSTs. * var-tracking.c (check_wrap_constant): Delete. (vt_expand_loc_callback): Don't call it. (vt_expand_loc): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153037 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20Fix identation issue I missed to correct.Kai Tietz
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153036 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Pascal Obry <obry@adacore.com>Pascal Obry
Eric Botcazou <ebotcazou@adacore.com> * config/i386/cygming.h (DWARF_FRAME_REGNUM): Add enclosing parens. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153033 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
* include/bits/basic_string.h (_S_construct(const _CharT*, size_type, const _Alloc&)): New, declare. (_S_construct(_CharT*, _CharT*, const _Alloc&), _S_construct(const _CharT*, const _CharT*, const _Alloc&), _S_construct(iterator, iterator, const _Alloc&), _S_construct(const_iterator, const_iterator, const _Alloc&)): New, forward to the latter. * include/bits/basic_string.tcc (_S_construct(const _CharT*, size_type, const _Alloc&)): Define. (basic_string(const basic_string&, size_type, size_type), basic_string(const basic_string&, size_type, size_type, const _Alloc&), basic_string(const _CharT*, size_type, const _Alloc&), basic_string(const _CharT*, const _Alloc&), basic_string(initializer_list<>, const _Alloc&)): Call the latter. * config/abi/pre/gnu.ver: Remove recently added exports. * src/string-inst.cc: Remove instantiations. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153023 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20* loop-invariant.c (create_new_invariant): Use different magic number.Michael Matz
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153022 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Joel Dice <dicej@mailsnare.net>Joel Dice
PR java/28474 * mangle_name.c (append_unicode_mangled_name): Fix mangling of names with multiple underscores and "U". (unicode_mangling_length): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153021 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Richard Guenther <rguenther@suse.de>Richard Guenther
* gcc.dg/lto/20091020-3_0.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153019 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 PR target/39247Richard Earnshaw
* arm.c (arm_override_options): Forcibly disable hot/cold block partitioning. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153018 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 PR debug/41739Alexandre Oliva
* haifa-sched.c (try_ready): Skip debug deps updating speculation status. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153017 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Richard Guenther <rguenther@suse.de>Richard Guenther
* ggc-page.c: Include cfgloop.h. (struct max_alignment): Drop long double, add void *. (extra_order_size_table): Add low non-power-of-two multiples of MAX_ALIGNMENT. Drop small type-based entries, add tree_type, cgraph_node and loop. * alloc-pool.c (struct allocation_object_def): Drop long double aligning element. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153014 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon
* python/libstdcxx/v6/printers.py (StdTuplePrinter): New printer. (build_libstdcxx_dictionary): Add StdTuplePrinter registration. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153013 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Richard Guenther <rguenther@suse.de>Richard Guenther
PR lto/41761 * gimple.c (gimple_register_type): Make sure we register the types main variant first. * gcc.dg/lto/20091020-1_0.c: New testcase. * gcc.dg/lto/20091020-1_1.c: Likewise. * gcc.dg/lto/20091020-2_0.c: Likewise. * gcc.dg/lto/20091020-2_1.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153012 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 PR debug/41340Jakub Jelinek
* loop-invariant.c (calculate_loop_reg_pressure): Don't count regs referenced just in DEBUG_INSNs. * gcc.dg/pr41340.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153011 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Richard Guenther <rguenther@suse.de>Richard Guenther
* gimple.c (gimple_types_compatible_p): Simplify. Move cheap checks before hashtable queries. Add checks for TYPE_NONALIASED_COMPONENT and DECL_NONADDRESSABLE_P. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153010 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * tree-sra.c (build_ref_for_offset_1) <RECORD_TYPE>: Skip fieldsEric Botcazou
without size or with size that can't be represented as a host integer. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153008 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regardAlexandre Oliva
the removal of a debug stmt as a significant change. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153007 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Wolfgang Gellerich <gellerich@de.ibm.com>Wolfgang Gellerich
* config/s390/s390.md: Added agen condition to operand forwarding bypasses. Added bypass for early address generation use of int results. Updated comments. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153006 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * config/i386/i386.c: Remove signal.h #include.Stefan Dösinger
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153005 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-202009-10-20 Paul Thomas <pault@gcc.gnu.org>Paul Thomas
PR fortran/41706 * resolve.c (resolve_arg_exprs): New function. (resolve_class_compcall): Call the above. (resolve_class_typebound_call): The same. 2009-10-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/41706 * gfortran.dg/class_9 : New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153004 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20 * simplify-rtx.c (simplify_const_unary_operation): HandleJie Zhang
SS_ABS. * doc/rtl.texi: Document ss_abs. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153003 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-20Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153002 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * charset.c (cpp_init_iconv): Initialize utf8_cset_desc.Jakub Jelinek
(_cpp_destroy_iconv): Destroy utf8_cset_desc, char16_cset_desc and char32_cset_desc. (converter_for_type): Handle CPP_UTF8STRING. (cpp_interpret_string): Handle CPP_UTF8STRING and raw-strings. * directives.c (get__Pragma_string): Handle CPP_UTF8STRING. (parse_include): Reject raw strings. * include/cpplib.h (CPP_UTF8STRING): New token type. * internal.h (struct cpp_reader): Add utf8_cset_desc field. * lex.c (lex_raw_string): New function. (lex_string): Handle u8 string literals, call lex_raw_string for raw string literals. (_cpp_lex_direct): Call lex_string even for u8" and {,u,U,L,u8}R" sequences. * macro.c (stringify_arg): Handle CPP_UTF8STRING. * c-common.c (c_parse_error): Handle CPP_UTF8STRING. * c-lex.c (c_lex_with_flags): Likewise. Test C_LEX_STRING_NO_JOIN instead of C_LEX_RAW_STRINGS. (lex_string): Handle CPP_UTF8STRING. * c-parser.c (c_parser_postfix_expression): Likewise. * c-pragma.h (C_LEX_RAW_STRINGS): Rename to ... (C_LEX_STRING_NO_JOIN): ... this. * parser.c (cp_lexer_print_token, cp_parser_is_string_literal, cp_parser_string_literal, cp_parser_primary_expression): Likewise. (cp_lexer_get_preprocessor_token): Use C_LEX_STRING_JOIN instead of C_LEX_RAW_STRINGS. * gcc.dg/raw-string-1.c: New test. * gcc.dg/raw-string-2.c: New test. * gcc.dg/raw-string-3.c: New test. * gcc.dg/raw-string-4.c: New test. * gcc.dg/raw-string-5.c: New test. * gcc.dg/raw-string-6.c: New test. * gcc.dg/raw-string-7.c: New test. * gcc.dg/utf8-1.c: New test. * gcc.dg/utf8-2.c: New test. * gcc.dg/utf-badconcat2.c: New test. * gcc.dg/utf-dflt2.c: New test. * gcc.dg/cpp/include6.c: New test. * g++.dg/ext/raw-string-1.C: New test. * g++.dg/ext/raw-string-2.C: New test. * g++.dg/ext/raw-string-3.C: New test. * g++.dg/ext/raw-string-4.C: New test. * g++.dg/ext/raw-string-5.C: New test. * g++.dg/ext/raw-string-6.C: New test. * g++.dg/ext/raw-string-7.C: New test. * g++.dg/ext/utf8-1.C: New test. * g++.dg/ext/utf8-2.C: New test. * g++.dg/ext/utf-badconcat2.C: New test. * g++.dg/ext/utf-dflt2.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152995 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * config/cris/cris.c (cris_function_value, cris_libcall_value,Anatoly Sokolov
cris_function_value_regno_p): New functions. (cris_promote_function_mode): Update comment. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/cris/cris.h: (FUNCTION_VALUE, LIBCALL_VALUE): Remove. (FUNCTION_VALUE_REGNO_P): Redefine, use cris_function_value_regno_p. * config/cris/cris-protos.h (cris_function_value_regno_p): Declare. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152992 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19Fix dates.Jakub Jelinek
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152991 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * unwind-dw2.c (execute_stack_op): Fix operand order forJakub Jelinek
DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt. * gcc.dg/cleanup-13.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152989 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-19 Janus Weil <janus@gcc.gnu.org>Janus Weil
PR fortran/41586 * parse.c (parse_derived): Correctly set 'alloc_comp' and 'pointer_comp' for CLASS variables. * trans-array.c (structure_alloc_comps): Handle deallocation and nullification of allocatable scalar components. * trans-decl.c (gfc_get_symbol_decl): Remember allocatable scalars for automatic deallocation. (gfc_trans_deferred_vars): Automatically deallocate allocatable scalars. 2009-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/41586 * gfortran.dg/auto_dealloc_1.f90: New test case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152988 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 Port from redhat/gcc-4_4-branch:Jakub Jelinek
2009-10-08 Jakub Jelinek <jakub@redhat.com> * gcc.dg/debug/vta-2.c: New test. 2009-09-30 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/debug/vta-1.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152986 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * gimple-low.c (struct lower_data): Add cannot_fallthru field.Eric Botcazou
(lower_stmt) <GIMPLE_BIND>: Add comment. <GIMPLE_COND, GIMPLE_GOTO, GIMPLE_SWITCH>: Set cannot_fallthru to true and return. <GIMPLE_RETURN>: Remove the statement if cannot_fallthru is set. Otherwise lower it and set cannot_fallthru to true. <GIMPLE_TRY>: Update cannot_fallthru for GIMPLE_TRY_FINALLY and return. <GIMPLE_CATCH, GIMPLE_EH_FILTER>; Set cannot_fallthru to false. <GIMPLE_CALL>: Set cannot_fallthru to false for BUILT_IN_SETJMP and to true for a noreturn call. Do not remove statements. <GIMPLE_OMP_PARALLEL, GIMPLE_OMP_TASK>: Set cannot_fallthru to false. Set cannot_fallthru to false on function exit. (gimple_stmt_may_fallthru) <GIMPLE_SWITCH>: Really return false. <GIMPLE_ASSIGN>: Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152984 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-19 Tobias Burnus <burnus@net-b.de>Tobias Burnus
Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/41755 * symbol.c (gfc_undo_symbols): Add NULL check. * match.c (gfc_match_equivalence): Add check for missing comma. 2009-10-19 Tobias Burnus <burnus@net-b.de> PR fortran/41755 * gfortran.dg/equiv_8.f90: New test. * gfortran.dg/class_allocate_1.f03: Remove obsolete FIXME. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152983 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19missing changelogRafael Espindola
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152982 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel
* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152979 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel
* config/s390/s390.c (s390_z10_optimize_cmp): Use next/prev_active_insn to skip DEBUG_INSNs as well. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152978 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * config/arm/arm.c (output_move_neon): Use DImode in call toJoseph Myers
adjust_address. testsuite: * gcc.target/arm/neon-thumb2-move.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152977 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19include/Rafael Espindola
2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * plugin-api.h: Don't include stdint.h unconditionally. lto-plugin/ 2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * configure: Regenerate. * configure.ac: Add AC_TYPE_UINT64_T. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152976 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-19 Matthias Klose <doko@ubuntu.com>Matthias Klose
PR target/40134 * config.gcc (arm*-*-linux-*eabi): Use config/t-slibgcc-libgcc. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152975 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-192009-10-18 Richard Guenther <rguenther@suse.de>Richard Guenther
PR fortran/41494 * trans-expr.c (gfc_trans_scalar_assign): Do not call gfc_evaluate_now. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152973 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19 * cfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEMJakub Jelinek
op0. * gcc.dg/debug/vta-3.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152972 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-19Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152970 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-18Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152964 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-172009-10-17 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>Andy Hutchinson
PR middle-end/41738 * optabs.c (expand_binop): Make mode of shift count expression mode of shift count not target. Remove indent nit. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152961 138bc75d-0d04-0410-961f-82ee72b054a4