- 12 Oct, 2004 10 commits
-
-
* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints. Handle negative constants. From-SVN: r88929
Paul Brook committed -
* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints. Handle negative constants. [[Split portion of a mixed commit.]] From-SVN: r88928.2
Paul Brook committed -
From-SVN: r88927
Kazu Hirata committed -
2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net> PR libgcj/17903: * testsuite/libjava.lang/md5test.java: New file. * testsuite/libjava.lang/md5test.out: Likewise. * testsuite/libjava.lang/shatest.java: Likewise. * testsuite/libjava.lang/shatest.out: Likewise. From-SVN: r88922
Rutger Ovidius committed -
PR c/17301 * c-typeck.c (convert_arguments): Return error_mark_node if there are too few arguments. (build_function_call): Handle error_mark_node return from convert_arguments. testsuite: * gcc.dg/pr17301-2.c: New test. From-SVN: r88921
Joseph Myers committed -
2004-10-06 Paolo Bonzini <bonzini@gnu.org> * configure.ac (symbolic_link): Replace with $LN_S. (Assembler/Linker): Hard link from gas and binutils trees. * aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp. * configure: Regenerate. From-SVN: r88920
Paolo Bonzini committed -
PR c++/15786 * parser.c (cp_parser_declarator): Add member_p parameter. (cp_parser_condition): Adjust calls to cp_parser_declarator. (cp_parser_explicit_instantiation): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_direct_declarator): Add member_p parameter. Do not parse tentatively when parsing the parameters to a member. (cp_parser_type_id): Adjust calls to cp_parser_declarator. (cp_parser_parameter_declaration): Likewise. (cp_parser_member_declaration): Likewise. (cp_parser_exception_declaration): Likewise. PR c++/15876 * g++.dg/parse/error22.C: New test. From-SVN: r88914
Mark Mitchell committed -
2004-10-11 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_deque.h: Correct for over-long lines. 2004-10-11 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17937 * include/ext/mt_allocator.h (__pool::_M_destroy): New. * src/mt_allocator.cc (__pool::~__pool): Change definitions to _M_destroy. * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove. * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * config/linker-map.gnu: Tweak exports. * docs/html/ext/mt_allocator.html: Update docs. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix. From-SVN: r88913
Benjamin Kosnik committed -
[[Split portion of a mixed commit.]] From-SVN: r88911.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88910.2
GCC Administrator committed
-
- 11 Oct, 2004 30 commits
-
-
* configure.ac: Don't look for host assembler when building a canadian cross. * configure: Regenerate. From-SVN: r88907
Paul Brook committed -
PR other/17361 * c-opts.c (permit_fortran_options): Delete/obsolete global variable. (c_common_init_options): Remove #ifdef CL_F77 code. Scan command line options for "-lang-asm" and if found allow any of the C-family front-end options. (c_common_handle_option): Remove last use of permit_fortran_options. From-SVN: r88906
Roger Sayle committed -
PR c++/17936 * cp-tree.h (CLASSTYPE_TEMPLATE_SPECIALIZATION): Add a comment. * pt.c (optimize_specialization_lookup_p): Do not optimize lookups for members of partial or explicit specializations. PR c++/17936 * g++.dg/template/spec18.C: New test. From-SVN: r88905
Mark Mitchell committed -
* testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abort * testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and memcpy. * testsuite/gcc.dg/ia64-sync-2.c: Ditto. * testsuite/gcc.dg/ia64-sync-3.c: Ditto. From-SVN: r88904
Steve Ellcey committed -
* config/s390/s390.c (print_operand): Support 'S' format flag. * config/s390/s390.md ("*tmqi_mem"): Use 'S' format flag. ("*tstsi", "*tstsi_cconly", "*tstsi_cconly2"): Likewise. ("*tsthiCCT", "*tsthiCCT_cconly", "*tsthi", "*tsthi_cconly"): Likewise. ("*tstqiCCT", "*tstqiCCT_cconly", "*tstqi", "*tstqi_cconly"): Likewise. ("*cmphi_ccu", "*cmpqi_ccu", "*clc"): Likewise ("movti", "*movdi_31", "*movqi", "*movdf_31", "*mvc"): Likewise. ("*movstricthi"): Likewise. ("*load_multiple_di", "*load_multiple_si"): Likewise. ("*store_multiple_di", "*store_multiple_si"): Likewise. ("*sethiqisi", "*sethihisi"): Likewise. ("*sethiqidi_64", "*sethiqidi_31"): Likewise. ("*andqi3_zarch", "*andqi3_esa", "*nc"): Likewise. ("*iorqi3_zarch", "*iorqi3_esa", "*oc"): Likewise. ("*xorqi3", "*xc", "*xc_zero"): Likewise. ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Likewise. ("*tmhi_full"): Fix incorrect op_type attribute. ("*adddi3_alc_cc", "*adddi3_alc"): Remove double backslash. ("*subdi3_slb_cc", "*subdi3_slb"): Likewise. ("*addsi3_alc_cc", "*addsi3_alc"): Likewise. ("*subsi3_slb_cc", "*subsi3_slb"): Likewise. From-SVN: r88903
Ulrich Weigand committed -
2004-10-11 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/16614 continued. * include/ext/mt_allocator.h (__per_type_pool_policy::_S_get_pool): Use saner defaults based on specific type characteristics. (__pool_base): Add constructor that takes a _Tune argument. (__pool): Same. * testsuite/ext/mt_allocator/tune-2.cc: Adjust default. * testsuite/ext/mt_allocator/tune-4.cc: Same. * testsuite/ext/mt_allocator/tune-3.cc: Same. From-SVN: r88902
Benjamin Kosnik committed -
PR libgcj/14856: * Imported zlib 1.2.1; merged local changes. From-SVN: r88898
Tom Tromey committed -
Changes in 1.2.1 (17 November 2003) From-SVN: r88897
Tom Tromey committed -
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu PR middle-end/16266 * function.c (temp_slots_at_level): Fix typo which creates too many temp stack slots levels. From-SVN: r88896
Andrew Pinski committed -
* config/s390/s390.c (s390_trampoline_template): Generate shorter trampoline code. (s390_trampoline_instantiate): Adapt. * config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code. From-SVN: r88895
Ulrich Weigand committed -
* include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*. (_Jv_ThreadSelf): Use __builtin_thread_pointer. From-SVN: r88894
Richard Henderson committed -
From-SVN: r88890
Tom Tromey committed -
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu> * g++.dg/eh/cleanup5.C: Add dg-options "". From-SVN: r88888
Andrew Pinski committed -
PR c++/17929 * decl2.c (finish_anon_union): Robustify. From-SVN: r88886
Mark Mitchell committed -
* cp-tree.h (get_dynamic_cast_base_type): Rename to ... (dcast_base_hint): ... here. * rtti.c (build_dynamic_cast_1): Use dcast_base_hint. * search.c (struct dcast_data_s): New. (dynamic_cast_base_recurse): Remove. Replace with ... (dfs_dcast_hint_pre, dfs_dcast_base_post): ... these. New. (get_dynamic_cast_base_type): Rename to ... (dcast_base_hint): ... here. Use dfs_walk_once_accessible. (accessible_r): Remove. (dfs_accessible_post): New, broken out of accessible_r. (accessible_p): Use dfs_walk_once_accessible. (dfs_walk_once_accessible_r): New. From accessible_r. (dfs_walk_once_accessible): New. From acessible_p. From-SVN: r88884
Nathan Sidwell committed -
PR middle-end/17657 * stmt.c (add_case_node): Add additional type argument. Declare as static to match prototype. Convert the upper and lower bounds to the specified index type. Optimize away case ranges/values that are outside the index type's bounds. Truncate case ranges that span the index type's bounds. (expand_case): Avoid unnessary computation and memory allocation when index type is error_mark_node. Pass index_type as required by change to add_case_node API. No need to convert case range bounds to index_type, this is now done by add_case_node. * gcc.dg/switch-4.c: New test case. From-SVN: r88881
Roger Sayle committed -
* cp-tree.h (SAME_BINFO_TYPE_P): New. * class.c (build_base_path): Use SAME_BINFO_TYPE_P to compare binfo types. (convert_to_base_statically, determine_primary_bases, update_vtable_entry_for_fn, dfs_modify_vtables, build_vtt_inits, dfs_build_secondary_vptr_vtt_inits, build_ctor_vtbl_group, accumulate_vtbl_inits, dfs_accumulate_vtbl_inits, build_vtbl_initializer, add_vcall_offset_vtbl_entries_1): Likewise. * init.c (expand_member_init): Likewise. * search.c (lookup_base_r, dynamic_cast_base_recurse, binfo_via_virtual, copied_binfo, binfo_for_vbase, original_binfo): Likewise. * tree.c (copy_binfo): Likewise. From-SVN: r88880
Nathan Sidwell committed -
* config/s390/s390-protos.h (s390_offset_p): Add prototype. * config/s390/s390.c (s390_offset_p): New function. * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to transform Q->Q alternatives to *clc pattern. ("*clc"): Move. ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter to transform Q->Q alternatives to *mvc pattern. ("*mvc"): Move. Add peephole to merge adjacent MVCs. ("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch", "*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to transform Q->Q alternatives to *nc pattern. ("*nc"): New insn. New peephole to merge adjacent NCs. ("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch", "*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to transform Q->Q alternatives to *oc pattern. ("*oc"): New insn. New peephole to merge adjacent OCs. ("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to transform Q->Q alternatives to *xc pattern. ("*xc"): New insn. New peephole to merge adjacent XCs. ("*xc_zero"): Move. Add peephole to merge adjacent XCs. From-SVN: r88878
Ulrich Weigand committed -
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu> * gimplify.c (gimple_push_condition): Make sure that we don't have any saved condition cleanup if we were at the top level. From-SVN: r88877
Andrew Pinski committed -
* config/frv/frv.md (*adddi3_internal): Change name to... (adddi3): ...replacing the exisiting define_expand. Combine alternatives. Fix the range of the constant constraints ('J' instead of 'NOP'). Remove bogus operands[2] check. Use simplify_gen_subreg to extract the lower and upper halves of the DImode operands. Always use addi3_lower and adddi3_upper, not the subdi3 forms. (adddi3_lower): Fix the range of the constant constraints and remove the bogus operands[2] check. (adddi3_upper): Use gpr_or_int10_operand as the predicate for operand 2. Use addxi to handle constant operands. (subdi3_lower, subdi3_upper): Don't handle constant operands. From-SVN: r88876
Richard Sandiford committed -
From-SVN: r88875
Kazu Hirata committed -
* gengtype-lex.l: Add commented } & ) characters to unconfuse editor's paren matching. Allow #define inside a struct. From-SVN: r88873
Nathan Sidwell committed -
pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptions thrown by ::operator new(size_t). 2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de> Paolo Carlini <pcarlini@suse.de> * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptions thrown by ::operator new(size_t). * testsuite/ext/pool_allocator/allocate_chunk.cc: New. * include/ext/pool_allocator.h: Include <cstdlib>. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r88872
Joachim Kuebart committed -
From-SVN: r88871
Andreas Jaeger committed -
* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. * Makefile.in (makedepend.o): Add dependency on mkdeps.h. From-SVN: r88870
Andreas Jaeger committed -
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 part of c++/17657 middle-end/17703 * semantics.c (maybe_cleanup_point_expr): Call fold_build_cleanup_point_expr. (maybe_cleanup_point_expr_void): New function. (add_decl_expr): Call maybe_cleanup_point_expr_void. (finish_expr_stmt): Likewise. (finish_return_stmt): Likewise. (finish_for_expr): Likewise. (finish_asm_stmt): Likewise. * typeck.c (condition_conversion): Call fold_build_cleanup_point_expr. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17703 part of PR c++/17657 * fold-const.c (fold_build_cleanup_point_expr): New function. * tree.h (fold_build_cleanup_point_expr): Prototype. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 * g++.dg/init/for3.C: New test. PR c++/17657 * g++.dg/opt/switch2.C: New test. PR middle-end/17703 * g++.dg/warn/Wreturn-2.C: New test. From-SVN: r88869
Andrew Pinski committed -
2004-10-10 Eric Christopher <echristo@redhat.com> * dwarf2out.c: Move attribute to subprogram declaration instead of subroutine type. From-SVN: r88868
Eric Christopher committed -
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17907 * semantics.c (add_decl_expr): If the decl has a size which has side effects then the decl expression needs a cleanup point. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17907 * g++.dg/eh/cleanup5.C: New test. From-SVN: r88867
Andrew Pinski committed -
[[Split portion of a mixed commit.]] From-SVN: r88865.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88864.2
GCC Administrator committed
-