- 06 Oct, 2004 21 commits
-
-
* tree-cfg.c (thread_jumps): Remove a duplicate check for EXIT_BLOCK_PTR. From-SVN: r88619
Kazu Hirata committed -
PR libfortran/17709 * io/transfer.c (data_transfer_init): Reset sf_seen_eor. testsuite/ * gfortran.dg/empty_format_1.f90: New test. From-SVN: r88615
Paul Brook committed -
* config/s390/s390-protos.h (s_imm_operand): Remove. (s390_pool_operand): Add prototype. * config/s390/s390.c (general_s_operand): Remove. (s_imm_operand): Remove. (s_operand): Merge contents of general_s_operand. (s390_pool_operand): New function. * config/s390/s390.h (PREDICATE_CODES): Remove s_imm_operand. * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct"): New insns. ("*cmpdi_ccu"): Merge Q->Q alternative. ("*cmpsi_ccu", "*cmphi_ccu"): Likewise. ("*cmpqi_ccu"): Merge Q->Q, n->Q, n->S alternatives. ("*cli"): Remove. ("*cmpdi_ccu_mem", "*cmpsi_ccu_mem"): Likewise. ("*cmphi_ccu_mem", "*cmpqi_ccu_mem"): Likewise. ("*movstricthi"): Use memory_operand instead of s_imm_operand. From-SVN: r88614
Ulrich Weigand committed -
From-SVN: r88612
Kenneth Zadeck committed -
2004-10-06 Benjamin Kosnik <bkoz@redhat.com> Paolo Carlini <pcarlini@suse.de> PR libstdc++/17780 * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert to old locking order. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r88611
Benjamin Kosnik committed -
PR fortran/17283 * gfortran.fortran-torture/execute/intrinsic_pack.f90: Enable new tests. From-SVN: r88610
Tobias Schlüter committed -
fortran/ PR fortran/17568 * simplify.c (twos_complement): New function. (gfc_simplify_ishft, gfc_simplify_ishftc): Revise. testsuite/ PR fortran/17568 * gfortran.dg/ishft.f90: New test. From-SVN: r88609
Tobias Schlüter committed -
* config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to call ia64_function_arg_boundary. * config/ia64/ia64-protos.h (ia64_function_arg_boundary): New. * config/ia64/ia64.c (ia64_function_arg_boundary): New. (ia64_function_arg_advance): Do not put 128 bit floats into FP registers. From-SVN: r88608
Steve Ellcey committed -
* trans-stmt.c (gfc_trans_simple_do): New function. (gfc_trans_do): Use it. Evaluate iteration bounds before entering loop. Update comments. testsuite/ * gfortran.dg/do_1.f90: New test. From-SVN: r88607
Paul Brook committed -
* parse.y (issue_warning_error_from_context): Use va_list * instead of va_list parameter. (parse_error_context): Update call. (parse_warning_context): Likewise. From-SVN: r88605
Ulrich Weigand committed -
* builtins.c (expand_builtin_strcpy): Delete duplicate code. Accept an expression instead of an arglist. (expand_builtin_stpcpy): Accept an expression instead of an arglist. testsuite: * gcc.c-torture/execute/builtins/lib/strcpy.c: Don't abort when optimizing for size. From-SVN: r88604
Kaveh R. Ghazi committed -
From-SVN: r88598
Josef Zlomek committed -
PR target/16007 * doc/install.texi (*-*-solaris2*): Mention potential problem with Sun assembler + GNU linker and C++ programs. Document status of binutils 2.15 release. From-SVN: r88595
Eric Botcazou committed -
2004-10-06 Paolo Bonzini <bonzini@gnu.org> Fix wrong conflict resolution in: 2004-08-16 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New. From-SVN: r88594
Paolo Bonzini committed -
2004-10-06 Paolo Carlini <pcarlini@suse.de> * include/std/std_sstream.h (_M_sync): When the caller is setbuf, don't trust _M_string.capacity() to be the size of the buffer area, use _M_string.size() in this case. * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. * include/bits/sstream.tcc (overflow): Avoid calling string::assign unnecessarily when the current _M_string is empty. 2004-10-06 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)): Avoid iterator postincrement. (__rotate): Likewise. * include/bits/stl_algo.h: Minor formatting tweaks. 2004-10-06 Christopher Jefferson <caj@cs.york.ac.uk> * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)): Avoid iterator postincrement; fix swapping middle element with itself on odd-length inputs. From-SVN: r88593
Paolo Carlini committed -
From-SVN: r88592
Jan Hubicka committed -
* pretty-print.c: Include tree.h. (pp_base_prepare_to_format): New function, logic from text_specifies_location. (pp_base_format_text): Use gcc_assert. * pretty-print.h (pp_prepare_to_format): New macro. (pp_base_prepare_to_format): Prototype. * diagnostic.c (text_specifies_location): Delete. (bug_report_request): Delete. (diagnostic_set_info): Don't call text_specifies_location. (diagnostic_action_after_output): Put text from bug_report_request inline here. Use gcc_unreachable. (diagnostic_report_current_function): Fix comment. (diagnostic_report_diagnostic): Clarify logic for error recursion. Call pp_prepare_to_format before diagnostic_starter. (trim_filename): Use IS_DIR_SEPARATOR. (fatal_error, internal_error): Use gcc_unreachable. (error_recursion): Call diagnostic_action_after_output to issue the bug_report_request message and exit. * Makefile.in (diagnostic.o, pretty-print.o): Update dependencies. * c-parse.in: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. java: * parse.y, parse-scan.y: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. treelang: * parse.y: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. po: * gcc.pot: Regenerate. From-SVN: r88590
Zack Weinberg committed -
2004-10-05 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17780 * include/ext/mt_allocator.h (__pool_base::_Tune): Add default options as compile-time constant enums. (__pool_base::_Tune::is_default): New. (__pool_base::_Block_address): New. (__pool_base): Rearrange data members. (__pool::_M_reserve_memory): To _M_reserve_block. (__pool::_M_reclaim_memory): To _M_reclaim_block. (__pool::_Bin_record): Add _Block_address data member. (__pool<false>): Add _M_thread_freelist_initial. (__pool::~__pool): Declare. (__common_pool_policy): Move static data member to... (__common_pool_policy::_S_get_pool): ...here, make static local. (__per_type_pool_policy): Move static data member to... (__per_type_pool_policy::_S_get_pool): ...here, make static local. (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool. Remove static member definitions. Use define for __default_policy. * src/mt_allocator.cc: Same. * config/linker-map.gnu: Don't export _S_get_pool. Renames. * testsuite/ext/new_allocator: New. * testsuite/ext/new_allocator/instantiate.cc: New. * testsuite/ext/new_allocator/check_new.cc: New. * testsuite/ext/new_allocator/deallocate_global.cc: New. * testsuite/ext/new_allocator/deallocate_local.cc: New. * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all template arguments. * testsuite/ext/mt_allocator/deallocate_global-1.cc: New. * testsuite/ext/mt_allocator/deallocate_global-2.cc: New. * testsuite/ext/mt_allocator/deallocate_global-3.cc: New. * testsuite/ext/mt_allocator/deallocate_global-4.cc: New. * testsuite/ext/mt_allocator/deallocate_local-1.cc: New. * testsuite/ext/mt_allocator/deallocate_local-2.cc: New. * testsuite/ext/mt_allocator/deallocate_local-3.cc: New. * testsuite/ext/mt_allocator/deallocate_local-4.cc: New. * testsuite/ext/mt_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate_global.cc: New. * testsuite/ext/malloc_allocator/deallocate_local.cc: New. From-SVN: r88589
Benjamin Kosnik committed -
PR 16406 * doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document. From-SVN: r88586
Alan Modra committed -
[[Split portion of a mixed commit.]] From-SVN: r88584.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88583.2
GCC Administrator committed
-
- 05 Oct, 2004 19 commits
-
-
* basic-block.h: Remove the prototype for flow_preorder_transversal_compute. * cfganal.c (dfst_node): Remove. (flow_preorder_transversal_compute): Likewise. * rtl.h: Remove the prototype for get_jump_table_offset. * rtlanal.c (get_jump_table_offset): Remove. From-SVN: r88580
Kazu Hirata committed -
PR 17756 * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL. From-SVN: r88579
Richard Henderson committed -
2004-10-05 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/17817 * Makefile.in: Stage the build directory too. From-SVN: r88577
Kelley Cook committed -
From-SVN: r88575
Gabriel Dos Reis committed -
* config/frv/frv.h (LEGITIMIZE_ADDRESS): New. * config/frv/frv-protos.h (frv_legitimize_address): Protoize. (frv_emit_move): Same. * config/frv/frv.c (frv_emit_move): New. (frv_legitimize_address): New. * config/frv/frv.md ("movsi"): Call frv_emit_move. ("movqi"): Same. ("movhi"): Same. ("movdi"): Same. ("movsf"): Same. ("movdf"): Same. From-SVN: r88574
Aldy Hernandez committed -
Convert diagnostics to use quoting flag q 6/n * pt.c (finish_member_template_decl, check_specialization_scope, maybe_process_partial_specialization, determine_specialization, check_explicit_specialization, maybe_check_template_type, process_partial_specialization, check_default_tmpl_args, push_template_decl_real, redeclare_class_template, convert_nontype_argument, coerce_template_parms, lookup_template_class, push_tinst_level, instantiate_class_template, tsubst_arg_types, tsubst_function_type, tsubst, tsubst_qualified_id, tsubst_copy_and_build, check_instantiated_args, do_decl_instantiation, do_type_instantiation, invalid_nontype_parm_type_p, check_specialization_namespace, convert_template_argument, determine_specialization, check_template_shadow, tsubst_decl instantiate_pending_templates): Use quoting marks. From-SVN: r88573
Gabriel Dos Reis committed -
* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in system headers. testsuite: * gcc.dg/complex-2.c, gcc.dg/complex-2.h: New test. From-SVN: r88571
Joseph Myers committed -
* c-decl.c (pushdecl): When an extern declaration at block scope refers to a visible entity with internal linkage, use the old DECL rather than the new one. testsuite: * gcc.c-torture/compile/20041005-1.c: New test. From-SVN: r88570
Joseph Myers committed -
* tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in comments. From-SVN: r88568
Kazu Hirata committed -
* tree-cfg.c (thread_jumps): Remove a duplicate check for an infinite loop. From-SVN: r88567
Kazu Hirata committed -
* tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead of FOR_BB_BETWEEN. Remove a useless check for unreachable blocks. From-SVN: r88566
Kazu Hirata committed -
* tree-cfg.c (cleanup_tree_cfg): Don't call delete_unreachable_blosk() after thread_jumps(). (thread_jumps): Always remove basic blocks as they become unreachable. From-SVN: r88565
Kazu Hirata committed -
* tree-cfg.c (cleanup_tree_cfg): Remove variable something_changed. Simplify the while loop. From-SVN: r88564
Kazu Hirata committed -
* builtins.c (expand_builtin_memmove): Delete duplicate code and accept a tree type for the result. (expand_builtin_bcopy): Accept a tree type for the result. (fold_builtin_memmove): Accept an arglist and tree type for the result. From-SVN: r88563
Kaveh R. Ghazi committed -
* java-tree.h (parse_error_context): remove ATTRIBUTE_PRINTF_2. Name second parameter 'msgid'. * parse.y: Additionally include pretty-print.h and diagnostic.h. (issue_warning_error_from_context): Use pretty-printer functions instead of vsprintf for constructing formatted messages. Rename parameter 'msg' to 'msgid'. (parse_error_context): Rename parameter 'msg' to 'msgid'. (parse_warning_context): Likewise. From-SVN: r88562
Ranjit Mathew committed -
2004-10-05 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Checking for sys/socket.h once is enough. * configure: Regenerated. From-SVN: r88559
Frank Ch. Eigler committed -
cp: PR c++/17829 * parser.c (cp_parser_postfix_expression): Inhibit Koenig when unqualified lookup finds a member function. testsuite: PR c++/17829 * g++.dg/lookup/koenig4.C: New. From-SVN: r88558
Nathan Sidwell committed -
configure: Regenerate. From-SVN: r88557
Tomer Levi committed -
2004-10-05 Andrew Haley <aph@redhat.com> PR java/17779 * jcf-parse.c (parse_zip_file_entries): If a class has a superclass and a TYPE_SIZE of zero, lay it out. 2004-09-30 Andrew Haley <aph@redhat.com> PR java/17733 * jcf-parse.c (compute_class_name): Rewrite. From-SVN: r88556
Andrew Haley committed
-