- 16 Feb, 2001 6 commits
-
-
2001-02-15 Anthony Green <green@redhat.com> * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross compilation. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r39735
Anthony Green committed -
* java/util/TreeSet.java (clone): Made subclass safe, use super.clone(), not new. * java/util/TreeMap.java (clone): Likewise. From-SVN: r39734
Bryce McKinlay committed -
2001-02-15 Rodney Brown <RodneyBrown@mynd.com> * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): Include ieeefp.h for fpclass on UnixWare{2,7}. * aclocal.m4: Regenerate. * configure: Regenerate. * mkcheck.in (size_command): Do without GNU-grep when using size from binutils. From-SVN: r39733
Rodney Brown committed -
* libsupc++/cxxabi.h: Remove conditionally compiled code. * libsupc++/exception_support.cc: Likewise. * libsupc++/pure.cc: Likewise. * libsupc++/tinfo.cc: Likewise. * libsupc++/tinfo.h: Likewise. * libsupc++/tinfo2.cc: Likewise. * libsupc++/typeinfo: Likewise. * libsupc++/vec.cc: Likewise. From-SVN: r39732
Mark Mitchell committed -
From-SVN: r39731
Mark Mitchell committed -
2001-02-15 Benjamin Kosnik <bkoz@redhat.com> Add support for -fno-exceptions. * include/bits/exception_support.h: Remove. * include/bits/basic_string.h: Remove exception_support. (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range. (string::at): Same. (string::substr): Same. * include/bits/basic_string.tcc (string::reserve): Replace __LENGTHERROR with __throw_length_error. (string::_S_create): Same. (string::resize): Same. (string::_M_replace): Same. (string::replace): Same. (string::copy): Replace __OUTOFRANGE with __throw_out_of_range. (string::compare): Same. * include/bits/stl_vector.h: Remove exception_support. * src/Makefile.am (base_headers): Remove here. * src/Makefile.in: Regenerate. * include/bits/stl_range_errors.h: Remove. * include/bits/stl_deque.h: Use __throw_range_error. * include/bits/std_deque.h: Include functexcept.h. * include/bits/std_vector.h: Same. * src/Makefile.am (base_headers): Remove here. * src/Makefile.in: Regenerate. * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error. * include/ext/bvector: Remove stl_range_errors.h * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove. * include/bits/functexcept.h: New file. * src/functexcept.cc: New file. Definitions for function-based exception routines. * src/Makefile.am (sources): Add functexcept.cc. * src/Makefile.in: Regenerate. * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with __EXCEPTIONS. * include/bits/localefwd.h: Include functexcept.h. * include/bits/std_iosfwd.h: Same. * include/bits/basic_ios.h: Use __throw_ios_failure instead of throw basic_ios::failure. * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Use __throw_exception_again. (filebuf::_M_filebuf_init): Same. * include/bits/streambuf.tcc (__copy_streambufs): Same. * include/bits/ostream.tcc (ostream::operator<<): Same. * include/bits/istream.tcc (istream::operator>>): Same. * include/bits/basic_string.tcc (string::_M_mutate): Same. (string::_S_construct): Same. (string::_M_clone): Same. * include/bits/locale_facets.tcc (use_facet(const locale&)): Use __throw_bad_cast. (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again. * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use __throw_exception_again. (locale::_Imp::_Imp(string, size_t): Same. (locale::_Imp::_M_replace_facet): Use __throw_runtime_error. * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again. (locale::locale(const char*)): Use __throw_runtime_error. (locale::classic): Use __throw_exception_again. (locale::_S_normalize_category): Use __throw_runtime_error. * src/stdexcept.cc: Remove cruft. * libsupc++/exception_defines.h: New file. * libsupc++/new_opnt.cc: Include exception_defines.h. * libsupc++/vec.cc: Same. (__cxa_vec_new2): Use __throw_exception_again. (__cxa_vec_new3): Same. (__cxa_vec_ctor): Same. (__cxa_vec_delete3): Same. (__cxa_vec_cctor): Same. (__cxa_vec_delete2): Same. (__cxa_vec_dtor): Same. * libsupc++/exception_support.cc: Include exception_defines.h. Only compile exception-handling bits if __EXCEPTIONS is defined. Remove old ABI support. * libsupc++/new_op.cc (new): Include exception_defines.h. Use std::__throw_bad_alloc() instead of throw bad_alloc. * libsupc++/Makefile.am: Add exception_defines.h. * libsupc++/Makefile.in: Reformat. * libsupc++/*: Format. From-SVN: r39730
Benjamin Kosnik committed
-
- 15 Feb, 2001 19 commits
-
-
2001-02-15 Phil Edwards <pme@sources.redhat.com> * docs/html/configopts.html: Minor updates and typo fixes. * docs/html/faq/index.html: Updates of the "not really bugs" list. * docs/html/faq/index.txt: Regenerated. From-SVN: r39727
Phil Edwards committed -
2001-02-14 Andrew Haley <aph@redhat.com> * include/i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. From-SVN: r39724
Andrew Haley committed -
From-SVN: r39723
Mark Mitchell committed -
From-SVN: r39721
Alexandre Oliva committed -
2001-02-15 Anthony Green <green@redhat.com> * defineclass.cc: Don't include alloca.h. (prepare_pool_entry): Convert alloca to __builtin_alloca. * interpret.cc (run_normal): Ditto. (continue1): Ditto. * java/lang/natDouble.cc (parseDouble): Ditto. From-SVN: r39719
Anthony Green committed -
2001-02-15 Anthony Green <green@redhat.com> * configure: Introduce GCJ_FOR_TARGET. * configure.in: Ditto. * Makefile.in: Ditto. From-SVN: r39718
Anthony Green committed -
From-SVN: r39714
Alexandre Oliva committed -
* friend.c (do_friend): Don't take the nested [template] class into account when deciding whether to warn about the friend function not referring to a template function. From-SVN: r39713
Alexandre Oliva committed -
* i386.md (extendsfdf2_2): Fix constraints. From-SVN: r39712
Jan Hubicka committed -
From-SVN: r39711
Jan Hubicka committed -
From-SVN: r39710
Jan Hubicka committed -
From-SVN: r39709
Jeff Law committed -
* java/util/AbstractSequentialList.java: Synchronize with Classpath. * java/util/Collection.java: Likewise. * java/util/Comparator.java: Likewise. * java/util/Dictionary.java: Likewise. * java/util/Iterator.java: Likewise. * java/util/ListIterator.java: Likewise. * java/util/Map.java: Likewise. * java/util/Set.java: Likewise. From-SVN: r39708
Bryce McKinlay committed -
From-SVN: r39707
Bryce McKinlay committed -
* gnu/awt/j2d/DirectRasterGraphics.java (clone): Hoist to public. * gnu/awt/j2d/IntegerGraphicsState.java (setClip): Call Rectangle.clone(), not Object.clone(). From-SVN: r39706
Bryce McKinlay committed -
* java/util/TreeSet.java (clone): Call TreeMap.clone(), not Object.clone(). * java/util/Collections.java (ReverseComparator): New static class. (reverseOrder): Return static instance of ReverseComparator. From-SVN: r39705
Bryce McKinlay committed -
* testsuite/lib/libstdc++.exp(dg-test): Lift, temporarily, out of dejagnu/dg.exp. Adapt to log options used to run testcases. From-SVN: r39704
Gabriel Dos Reis committed -
From-SVN: r39702
Bryce McKinlay committed -
2001-02-14 Tom Tromey <tromey@redhat.com> Alexandre Petit-Bianco <apbianco@redhat.com> Fix for PR java/1261. * typeck.c (build_java_array_type): Add public `clone' method to arrays. * parse.y (resolve_qualified_expression_name): Use current_class when checking for inaccessibility. (patch_method_invocation): Fixed error message when accessibility denied. Added `from_super' argument. 2001-02-14 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (resolve_class): Don't build a fake decl. Use the one already built. * typeck.c (build_java_array_type): Build and assign decl to array type. 2001-02-14 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (not_accessible_p): Changed leading comment. Added extra `where' argument. Use it to enforce protected access rules. (resolve_qualified_expression_name): Added extra argument to not_accessible_p. (patch_method_invocation): Use argument `primary' to provide not_accessible_p with an extra argument. (lookup_method_invoke): Added extra argument to not_accessible_p. (search_applicable_method_list): Likewise. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00849.html) From-SVN: r39701
Alexandre Petit-Bianco committed
-
- 14 Feb, 2001 15 commits
-
-
From-SVN: r39698
Jan Hubicka committed -
* invoke.texi (-mreg-alloc): Nuke. * i386.c (ix86_reg_alloc_order, regs_allocated, order_regs_for_local_alloc): Nuke. (override_options): Kill reg_alloc code. * i386.h (TARGET_OPTIONS): Kill reg-alloc. (REG_ALLOC_ORDER): SSE goes before I387. (ORDER_REGS_FOR_LOCAL_ALLOC): Kill. (ix86_reg_alloc_order): Likewise. * i386-protos.h (ix86_reg_alloc_order): Kill. From-SVN: r39697
Jan Hubicka committed -
From-SVN: r39695
Richard Henderson committed -
From-SVN: r39693
Jan Hubicka committed -
From-SVN: r39692
J"orn Rennecke committed -
* gcc.c-torture/execute/920302-1.c (execute): Change argument type to short. From-SVN: r39691
J"orn Rennecke committed -
From-SVN: r39690
Jan Hubicka committed -
* i386-protos.h (ix86_memory_move_cost): Move offline. * i386.c (ix86_register_move_cost): Compute properly cost of SSE, MMX and i387 instructions. (*_cost): Add costs of SSE/MMX moves. (ix86_memory_move_cost): Move offline from ....; Likewise. * i386.h (MEMORY_MOVE_COST): .... here; (struct processor costs): Add new fields to represent costs of SSE/MMX moves. From-SVN: r39689
Jan Hubicka committed -
regclass.c (init_reg_sets_1): Reinstall the optimization of move_cost together with Matt Kraai's fix. * regclass.c (init_reg_sets_1): Reinstall the optimization of move_cost together with Matt Kraai's fix. From-SVN: r39688
Jan Hubicka committed -
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com> * Makefile.in (OBJS): Add params.o. From-SVN: r39687
Jeffrey Oldham committed -
* jump.c (jump_optimize_1): When we delete a conditional jump preceeding a non-conditional jump to effectively the same place, make sure that the combined jump skips any clobber insns between the two labels. Co-Authored-By: DJ Delorie <dj@redhat.com> From-SVN: r39686
Richard Henderson committed -
From-SVN: r39685
Jakub Jelinek committed -
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com> * gcc.c (do_spec_1): Fix off-by-one error for '%M' case. From-SVN: r39684
Jeffrey Oldham committed -
* Makefile.in (toplev.o): Depend on params.h. (intergate.o): Likewise. (params.o): New target. * flags.h (inline_max_insns): Remove. * integrate.c: Include params.h. Use MAX_INLINE_INSNS instead of inline_max_insns. * params.c: New file. * params.h: Likewise. * params.def: Likewise. * toplev.c: Include params.h. (lang_independent_params): New variable. (decode_f_option): Use the param machinery instead of setting max_inline_insns. (independent_decode_option): Handle "--param name=value". (main): Register language-independent parameters. From-SVN: r39683
Mark Mitchell committed -
From-SVN: r39681
Aldy Hernandez committed
-