Mark Wielaard [Sat, 17 Feb 2001 13:59:13 +0000 (13:59 +0000)]
DataInputStream.java: update copyright notice
* java/io/DataInputStream.java: update copyright notice
* java/io/PrintWriter.java: idem
* java/io/Reader.java: idem
* java/io/StreamTokenizer.java: idem
* java/io/StringReader.java: idem
* java/lang/reflect/ReflectPermission.java: idem
From-SVN: r39798
Jan Hubicka [Sat, 17 Feb 2001 09:55:46 +0000 (10:55 +0100)]
reg-stack.c (stack_def): Make field reg unsigned.
* reg-stack.c (stack_def): Make field reg unsigned.
(remove_regno_note): Unsignetize parameter.
From-SVN: r39794
GCC Administrator [Sat, 17 Feb 2001 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r39793
Richard Kenner [Sat, 17 Feb 2001 02:13:03 +0000 (21:13 -0500)]
Fix error in previous entry
From-SVN: r39790
Nick Clifton [Sat, 17 Feb 2001 00:52:44 +0000 (00:52 +0000)]
Allow configuration of texinfo for Cygwin hosts.
From-SVN: r39787
Jason Merrill [Sat, 17 Feb 2001 00:12:44 +0000 (19:12 -0500)]
cp-tree.h (DECL_USE_VTT_PARM): Remove.
* cp-tree.h (DECL_USE_VTT_PARM): Remove.
* decl2.c (maybe_retrofit_in_chrg): Don't create it.
* optimize.c (maybe_clone_body): Don't substitute it.
* call.c (build_new_method_call): Check in_chrg instead.
* init.c (expand_virtual_init): Likewise.
From-SVN: r39785
Benjamin Kosnik [Fri, 16 Feb 2001 23:58:28 +0000 (23:58 +0000)]
char_traits.cc: Move to ...
2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/21_strings/char_traits.cc: Move to ...
* testsuite/21_strings/char_traits_requirements.cc: ..here.
* testsuite/21_strings/char_traits-int_type.cc: Move to ...
* testsuite/21_strings/char_traits_typedefs.cc: ..here.
From-SVN: r39784
Loren J. Rittle [Fri, 16 Feb 2001 23:28:14 +0000 (23:28 +0000)]
cplus-dem.c (main): Initialize style.
2001-02-16 Loren J. Rittle <ljrittle@acm.org>
* cplus-dem.c (main): Initialize style.
From-SVN: r39782
Gabriel Dos Reis [Fri, 16 Feb 2001 22:52:29 +0000 (22:52 +0000)]
decl.c (check_tag_decl): Make sure a typedef for an anonymous class-type introduces at least a type-name.
cp/
* decl.c (check_tag_decl): Make sure a typedef for an anonymous
class-type introduces at least a type-name.
testsuite/
* g++.old-deja/g++.other/decl9.C: New test.
From-SVN: r39781
Alexandre Petit-Bianco [Fri, 16 Feb 2001 22:31:52 +0000 (14:31 -0800)]
expr.c (build_instanceof): Check for arrays when trying fold to false.
2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (build_instanceof): Check for arrays when trying fold to
false.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00993.html)
From-SVN: r39778
Jakub Jelinek [Fri, 16 Feb 2001 22:30:06 +0000 (23:30 +0100)]
call.c (convert_like_real): Create a temporary for non-lvalue.
* call.c (convert_like_real): Create a temporary for non-lvalue.
* g++.old-deja/g++.other/init16.C: Update the test so that it does
not need <string> and also tests the initialization at runtime.
From-SVN: r39776
Jes Sorensen [Fri, 16 Feb 2001 19:33:52 +0000 (19:33 +0000)]
Patch from Jes Sorensen for build failure.
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.
From-SVN: r39775
Richard Kenner [Fri, 16 Feb 2001 19:29:49 +0000 (19:29 +0000)]
gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
* gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
Don't CSE a nop.
(hash_scan_insn): Clean up calls to hash_scan_set.
(compute_kill_rd): REGNO now unsigned.
(try_replace_reg): Rework to use simplify_replace_rtx.
(cprop_jump, cprop_cc0_jump): Likewise.
(cprop_insn): Call find_reg_equal_equiv_note.
Reflect changes to cprop_jump and cprop_cc0_jump.
From-SVN: r39774
Richard Kenner [Fri, 16 Feb 2001 19:14:09 +0000 (19:14 +0000)]
recog.c (validate_replace_rtx): Replace in operands of ZERO_EXTRACT in SET_DEST.
* recog.c (validate_replace_rtx): Replace in operands of
ZERO_EXTRACT in SET_DEST.
From-SVN: r39773
Bruce Korb [Fri, 16 Feb 2001 18:26:40 +0000 (18:26 +0000)]
Use C fixincludes for UnixWare 7.
Co-Authored-By: Rodney Brown <RodneyBrown@mynd.com>
From-SVN: r39771
Richard Kenner [Fri, 16 Feb 2001 17:50:49 +0000 (17:50 +0000)]
cse.c (new_label_ref): New variable.
* cse.c (new_label_ref): New variable.
(insert): Set it instead of recorded_label_ref.
(cse_basic_block): Set recorded_label_ref if new_label_ref use, has
CODE_LABEL for this function, and not already in REG_LABEL note.
From-SVN: r39768
Gabriel Dos Reis [Fri, 16 Feb 2001 17:06:06 +0000 (17:06 +0000)]
mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions.
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
definitions.
From-SVN: r39767
Jeffrey Oldham [Fri, 16 Feb 2001 17:04:36 +0000 (17:04 +0000)]
resource.c (mark_referenced_resources): Fix typo in introductory comment.
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
* resource.c (mark_referenced_resources): Fix typo in introductory
comment.
* config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
string constant.
From-SVN: r39766
Jeffrey Oldham [Fri, 16 Feb 2001 17:03:55 +0000 (17:03 +0000)]
cp-tree.h: Fix typos in comments.
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
* cp-tree.h: Fix typos in comments.
From-SVN: r39765
Jason Merrill [Fri, 16 Feb 2001 13:08:44 +0000 (08:08 -0500)]
fix comment typo
From-SVN: r39764
Jason Merrill [Fri, 16 Feb 2001 13:03:10 +0000 (08:03 -0500)]
dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is NULL.
* dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
NULL.
(gen_subprogram_die): Don't abort on seeing a second definition if
the previous one was abstract. Don't replace an abstract instance
in the lookup table.
* dwarf2out.c (dwarf2out_abstract_function): Rename from
gen_abstract_function.
* dwarf2out.h: Declare it.
* toplev.c (note_outlining_of_inline_function): New fn.
* toplev.h: Declare it.
* integrate.c (output_inline_function): Call it.
* c-decl.c (duplicate_decls): Call it when redefining an extern
inline. Don't inline the new defn.
From-SVN: r39763
Jason Merrill [Fri, 16 Feb 2001 12:46:21 +0000 (07:46 -0500)]
tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
* tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
* optimize.c (remap_block): If we're compiling a clone, pass the
new block to insert_block.
From-SVN: r39761
Gerald Pfeifer [Fri, 16 Feb 2001 11:12:46 +0000 (12:12 +0100)]
gdbinit: Rename to gdbinit.in.
* .gdbinit: Rename to gdbinit.in.
* gdbinit.in: New file,
* configure.in: Generate .gdbinit from gdbinit.in.
* configure: Regenerated.
* Makefile.in (distclean): Always remove .gdbinit.
From-SVN: r39759
Jakub Jelinek [Fri, 16 Feb 2001 09:15:19 +0000 (10:15 +0100)]
objc-act.c (start_class): Register implemented_classes with GC.
* objc/objc-act.c (start_class): Register implemented_classes with
GC.
From-SVN: r39756
Jeff Law [Fri, 16 Feb 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39755
Mark Mitchell [Fri, 16 Feb 2001 08:03:23 +0000 (08:03 +0000)]
pt.c (push_template_decl_real): Don't remangle the name of a class template.
* pt.c (push_template_decl_real): Don't remangle the name of a
class template.
From-SVN: r39753
Mark Mitchell [Fri, 16 Feb 2001 07:57:51 +0000 (07:57 +0000)]
pt.c (push_template_decl_real): Don't remangle the name of a class template.
* pt.c (push_template_decl_real): Don't remangle the name of a
class template.
From-SVN: r39752
Neil Booth [Fri, 16 Feb 2001 07:43:21 +0000 (07:43 +0000)]
* gcc.c-torture/execute/longlong.c: New test.
From-SVN: r39750
Neil Booth [Fri, 16 Feb 2001 07:41:08 +0000 (07:41 +0000)]
cppfiles.c (_cpp_make_system_header): Generate a file change callback.
* cppfiles.c (_cpp_make_system_header): Generate a file
change callback.
From-SVN: r39749
Benjamin Kosnik [Fri, 16 Feb 2001 05:39:47 +0000 (05:39 +0000)]
c++config: Revert.
2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Revert.
From-SVN: r39747
Bryce McKinlay [Fri, 16 Feb 2001 04:50:38 +0000 (04:50 +0000)]
HashSet.java (clone): Made subclass safe, use super.clone(), not new.
* java/util/HashSet.java (clone): Made subclass safe, use
super.clone(), not new.
From-SVN: r39746
DJ Delorie [Fri, 16 Feb 2001 03:56:26 +0000 (22:56 -0500)]
Fix typos
From-SVN: r39745
Jim Meyering [Fri, 16 Feb 2001 03:54:02 +0000 (03:54 +0000)]
Makefile.in (install-common): Don't depend on installdirs here.
gcc/:
2001-01-20 Jim Meyering <meyering@lucent.com>
* Makefile.in (install-common): Don't depend on installdirs here.
Instead, make each of the lang.install-common targets (e.g.,
c++.install-common in cp/Make-lang.in) depend on it.
(install-driver): Depend on installdirs.
gcc/ch:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (CHILL.install-common): Depend on `installdirs'.
(CHILL.install-info): Likewise.
gcc/cp:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (c++.install-common): Depend on installdirs.
(c++.install-info): Likewise
(c++.install-man): Likewise
gcc/java:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (java.install-common): Depend on `installdirs'.
(java.install-info): Likewise.
From-SVN: r39744
Mark Mitchell [Fri, 16 Feb 2001 03:35:50 +0000 (03:35 +0000)]
istream.tcc: Use ios_base::iostate in place of iostate throughout.
* include/bits/istream.tcc: Use ios_base::iostate in place of
iostate throughout. Insert `typename' keyword where necessary.
* include/bits/ostream.tcc: Insert `typename' keyword where
necessary.
From-SVN: r39743
Benjamin Kosnik [Fri, 16 Feb 2001 02:45:26 +0000 (02:45 +0000)]
c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Define so library is compliant.
2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
Define so library is compliant.
From-SVN: r39742
Jeffrey Oldham [Fri, 16 Feb 2001 02:38:35 +0000 (02:38 +0000)]
c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Define so library is compliant.
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
Define so library is compliant.
From-SVN: r39741
Richard Kenner [Fri, 16 Feb 2001 02:35:30 +0000 (02:35 +0000)]
* flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
From-SVN: r39739
Richard Kenner [Fri, 16 Feb 2001 02:30:37 +0000 (02:30 +0000)]
function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we do in memory.
* function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
do in memory.
From-SVN: r39737
Bryce McKinlay [Fri, 16 Feb 2001 02:25:24 +0000 (02:25 +0000)]
TreeMap.java (nil): Made non-final.
* java/util/TreeMap.java (nil): Made non-final.
(clone): Create new nil node for copy.
From-SVN: r39736
Anthony Green [Fri, 16 Feb 2001 01:56:07 +0000 (01:56 +0000)]
acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross compilation.
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
Bryce McKinlay [Fri, 16 Feb 2001 01:49:40 +0000 (01:49 +0000)]
TreeSet.java (clone): Made subclass safe, use super.clone(), not new.
* java/util/TreeSet.java (clone): Made subclass safe, use
super.clone(), not new.
* java/util/TreeMap.java (clone): Likewise.
From-SVN: r39734
Rodney Brown [Fri, 16 Feb 2001 01:39:06 +0000 (01:39 +0000)]
acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): Include ieeefp.h for fpclass on UnixWare{2,7}.
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
Mark Mitchell [Fri, 16 Feb 2001 01:26:14 +0000 (01:26 +0000)]
Remove old ABI support from libsupc++.
* 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 [Fri, 16 Feb 2001 01:24:14 +0000 (01:24 +0000)]
* typeck2.c (build_m_component_ref): Robustify.
From-SVN: r39731
Benjamin Kosnik [Fri, 16 Feb 2001 00:44:44 +0000 (00:44 +0000)]
Add support for -fno-exceptions.
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
Phil Edwards [Thu, 15 Feb 2001 22:21:12 +0000 (22:21 +0000)]
configopts.html: Minor updates and typo fixes.
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
Andrew Haley [Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)]
i386-signal.h (INIT_SEGV): Use a direct system call to set the handler.
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
Mark Mitchell [Thu, 15 Feb 2001 18:23:33 +0000 (18:23 +0000)]
* invoke.texi (--param): Document.
From-SVN: r39723
Alexandre Oliva [Thu, 15 Feb 2001 17:17:09 +0000 (17:17 +0000)]
* config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
From-SVN: r39721
Anthony Green [Thu, 15 Feb 2001 14:03:14 +0000 (14:03 +0000)]
defineclass.cc: Don't include alloca.h.
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 [Thu, 15 Feb 2001 13:55:34 +0000 (13:55 +0000)]
configure: Introduce GCJ_FOR_TARGET.
2001-02-15 Anthony Green <green@redhat.com>
* configure: Introduce GCJ_FOR_TARGET.
* configure.in: Ditto.
* Makefile.in: Ditto.
From-SVN: r39718
Alexandre Oliva [Thu, 15 Feb 2001 12:54:38 +0000 (12:54 +0000)]
* friend1.C: New test.
From-SVN: r39714
Alexandre Oliva [Thu, 15 Feb 2001 12:54:18 +0000 (12:54 +0000)]
friend.c (do_friend): Don't take the nested [template] class into account when...
* 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
Jan Hubicka [Thu, 15 Feb 2001 09:57:21 +0000 (10:57 +0100)]
Fix problem in my previous accidental obvious bugfix checkin. Add Changelog.
* i386.md (extendsfdf2_2): Fix constraints.
From-SVN: r39712
Jan Hubicka [Thu, 15 Feb 2001 09:30:51 +0000 (09:30 +0000)]
Fix cvtss2sd constraints.
From-SVN: r39711
Jan Hubicka [Thu, 15 Feb 2001 08:47:17 +0000 (09:47 +0100)]
* i386.md (fop_df_3 splitter): Fix operand number.
From-SVN: r39710
Jeff Law [Thu, 15 Feb 2001 08:45:19 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39709
Bryce McKinlay [Thu, 15 Feb 2001 06:43:00 +0000 (06:43 +0000)]
AbstractSequentialList.java: Synchronize with Classpath.
* 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 [Thu, 15 Feb 2001 05:12:05 +0000 (05:12 +0000)]
* java/util/HashSet.java (clone): Remove try/catch.
From-SVN: r39707
Bryce McKinlay [Thu, 15 Feb 2001 04:36:34 +0000 (04:36 +0000)]
DirectRasterGraphics.java (clone): Hoist to public.
* 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 [Thu, 15 Feb 2001 03:59:57 +0000 (03:59 +0000)]
TreeSet.java (clone): Call TreeMap.clone(), not Object.clone().
* 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
Gabriel Dos Reis [Thu, 15 Feb 2001 03:57:39 +0000 (03:57 +0000)]
libstdc++.exp (dg-test): Lift, temporarily, out of dejagnu/dg.exp.
* testsuite/lib/libstdc++.exp(dg-test): Lift, temporarily, out of
dejagnu/dg.exp. Adapt to log options used to run testcases.
From-SVN: r39704
Bryce McKinlay [Thu, 15 Feb 2001 02:06:29 +0000 (02:06 +0000)]
* Make-lang.in (jvspec.o): Modify rule to match that of cp/g++spec.o.
From-SVN: r39702
Alexandre Petit-Bianco [Thu, 15 Feb 2001 01:23:32 +0000 (17:23 -0800)]
[multiple changes]
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
Jan Hubicka [Wed, 14 Feb 2001 23:16:12 +0000 (23:16 +0000)]
Fix syntax error in previous checkin.
From-SVN: r39698
Jan Hubicka [Wed, 14 Feb 2001 22:47:54 +0000 (23:47 +0100)]
invoke.texi (-mreg-alloc): Nuke.
* 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
Richard Henderson [Wed, 14 Feb 2001 22:38:58 +0000 (14:38 -0800)]
* toplev.c (f_options): Clarify -fschedule-insns2 documentation.
From-SVN: r39695
Jan Hubicka [Wed, 14 Feb 2001 22:03:39 +0000 (23:03 +0100)]
* i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
From-SVN: r39693
J"orn Rennecke [Wed, 14 Feb 2001 21:42:30 +0000 (21:42 +0000)]
* g++.old-deja/g++.brendan/new2.C (main): Use sizeof.
From-SVN: r39692
J"orn Rennecke [Wed, 14 Feb 2001 21:34:52 +0000 (21:34 +0000)]
920302-1.c (execute): Change argument type to short.
* gcc.c-torture/execute/920302-1.c (execute):
Change argument type to short.
From-SVN: r39691
Jan Hubicka [Wed, 14 Feb 2001 21:20:21 +0000 (21:20 +0000)]
Fix Richard suggested and I forgot.
From-SVN: r39690
Jan Hubicka [Wed, 14 Feb 2001 21:16:35 +0000 (22:16 +0100)]
i386-protos.h (ix86_memory_move_cost): Move offline.
* 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 [Wed, 14 Feb 2001 20:38:33 +0000 (21:38 +0100)]
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
Jeffrey Oldham [Wed, 14 Feb 2001 19:44:51 +0000 (19:44 +0000)]
Makefile.in (OBJS): Add params.o.
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
* Makefile.in (OBJS): Add params.o.
From-SVN: r39687
Richard Henderson [Wed, 14 Feb 2001 18:34:25 +0000 (10:34 -0800)]
jump.c (jump_optimize_1): When we delete a conditional jump preceeding a non-conditional jump to...
* 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
Jakub Jelinek [Wed, 14 Feb 2001 16:41:44 +0000 (17:41 +0100)]
* typeck.c (build_unary_op): Clarify error message.
From-SVN: r39685
Jeffrey Oldham [Wed, 14 Feb 2001 16:37:14 +0000 (16:37 +0000)]
gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
From-SVN: r39684
Mark Mitchell [Wed, 14 Feb 2001 16:24:45 +0000 (16:24 +0000)]
Makefile.in (toplev.o): Depend on params.h.
* 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
Aldy Hernandez [Wed, 14 Feb 2001 13:58:49 +0000 (13:58 +0000)]
optional parens around connstructor names
From-SVN: r39681
Nathan Sidwell [Wed, 14 Feb 2001 10:57:59 +0000 (10:57 +0000)]
cp-tree.h (setup_vtbl_ptr): Move prototype to semantics.c section.
cp:
* cp-tree.h (setup_vtbl_ptr): Move prototype to semantics.c
section.
* init.c (emit_base_init): Remove incorrect comment about
virtual bases.
* method.c (make_thunk): Fix comment alignment.
From-SVN: r39679
Jan Hubicka [Wed, 14 Feb 2001 10:52:33 +0000 (11:52 +0100)]
* i386.md (pushsf, pushdf_nointeger): Fix constraint.
From-SVN: r39678
Nathan Sidwell [Wed, 14 Feb 2001 10:49:27 +0000 (10:49 +0000)]
Kill remnants of this is variable.
cp:
Kill remnants of this is variable.
* cp-tree.h (flag_this_is_variable): Remove.
* decl2.c (flag_this_is_variable): Remove.
* class.c (fixed_type_or_null): Add cdtor parm. Adjust.
(build_vbase_path): The path is non-static, even in a cdtor.
(resolves_to_fixed_type_p): Add additional return value.
* search.c (init_vbase_pointers): Adjust.
* tree.c (lvalue_p_1): Adjust.
* typeck.c (mark_addressable): Adjust.
From-SVN: r39676
Richard Henderson [Wed, 14 Feb 2001 10:12:20 +0000 (02:12 -0800)]
* regclass.c (init_reg_sets_1): Revert last two changes.
From-SVN: r39669
Nathan Sidwell [Wed, 14 Feb 2001 09:50:06 +0000 (09:50 +0000)]
pt.c (unify): Don't check cv quals of array types.
cp:
* pt.c (unify): Don't check cv quals of array types.
testsuite:
* g++.old-deja/g++.pt/deduct6.C: New test.
From-SVN: r39666
Nathan Sidwell [Wed, 14 Feb 2001 09:45:29 +0000 (09:45 +0000)]
tree.c (cp_build_qualified_type_real): Use CP_TYPE_QUALS to check whether we already have the type.
cp:
* tree.c (cp_build_qualified_type_real): Use CP_TYPE_QUALS to
check whether we already have the type.
testsuite:
* g++.old-deja/g++.pt/deduct5.C: New test.
From-SVN: r39665
Jeff Law [Wed, 14 Feb 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39664
Jakub Jelinek [Wed, 14 Feb 2001 07:57:49 +0000 (08:57 +0100)]
stor-layout.c (is_pending_size, [...]): New functions.
* stor-layout.c (is_pending_size, put_pending_size): New functions.
(variable_size): Call put_pending_size.
* tree.h (is_pending_size, put_pending_size): Add prototypes.
* fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
sizes list, put newly created SAVE_EXPR there as well.
* gcc.c-torture/execute/
20010209-1.c: New test.
* config/ia64/ia64.c (last_group): Only 2 entries are needed.
(errata_find_address_regs): load_group has only 2 entries.
(errata_emit_nops): Likewise. shladd is not problematic.
Clear last_group if nop was emitted.
(fixup_errata): load_group has only 2 entries.
Optimize.
From-SVN: r39663
Neil Booth [Wed, 14 Feb 2001 07:39:40 +0000 (07:39 +0000)]
* gcc.dg/cpp/sysmac1.c, sysmac2.c: New testcases.
From-SVN: r39662
Neil Booth [Wed, 14 Feb 2001 07:38:20 +0000 (07:38 +0000)]
c-lex.c (lex_number): Only warn traditionally for U suffix outside system macros.
* c-lex.c (lex_number): Only warn traditionally for U suffix
outside system macros.
* cppexp.c (parse_number): Similarly.
* cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
* cppmacro.c (struct cpp_macro): New member node.
(parse_args): Only warn about missing rest args if not
a system macro.
(funlike_invocation_p): Similarly for uninvoked funlike macros.
(cpp_sys_objmacro_p): New.
(_cpp_create_definition): Store the node with the macro defn.
Remember if the macro is defined in a system header.
From-SVN: r39661
Mark Mitchell [Wed, 14 Feb 2001 06:32:15 +0000 (06:32 +0000)]
cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
* cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
* call.c (build_op_delete_call): Simplify to remove duplicate
code.
* class.c (clone_function_decl): Don't build the deleting variant
of a non-virtual destructor.
* decl.c (finish_destructor_body): Don't call delete if this is a
non-virtual destructor.
* init.c (build_delete): Explicitly call `operator delete' when
deleting an object with a non-virtual destructor.
From-SVN: r39659
Bryce McKinlay [Wed, 14 Feb 2001 05:32:31 +0000 (05:32 +0000)]
natClass.cc (getSignature): Don't try to dereference param_types if it is null.
* java/lang/natClass.cc (getSignature): Don't try to dereference
param_types if it is null. Instead, take this to mean "no parameters".
* java/lang/TreeMap.java (TreeIterator.next): Throw
NoSuchElementException in preference to
ConcurrentModificationException.
(TreeIterator.remove): Throw IllegalStateException in preference to
ConcurrentModificationException.
(SubMap.firstKey): Do a better check for empty SubMap, and if it is,
throw a NoSuchElementException.
(SubMap.lastKey): Likewise.
From-SVN: r39658
Bryce McKinlay [Wed, 14 Feb 2001 04:44:21 +0000 (04:44 +0000)]
re PR libgcj/1758 (java.util package lacks TreeMap)
* java/util/TreeMap.java: New file.
* java/util/TreeSet.java: New file.
* Makefile.am: Add TreeMap and TreeSet. Enable WeakHashMap.
* Makefile.in: Rebuilt.
* java/util/HashSet.java (clone): Use constructor instead of calling
clone on itself.
* java/util/SortedSet.java: Sync with classpath.
* java/util/HashMap.java (hash): Use if statement instead of ternary,
for clarity.
Resolves PR libgcj/1758.
Resolves PR java/1684.
From-SVN: r39657
DJ Delorie [Wed, 14 Feb 2001 01:13:42 +0000 (20:13 -0500)]
configure.in (check_languages): determine languages to check
* configure.in (check_languages): determine languages to check
* Makefile.in (check-c++): alias for check-g++
(check-f77): alias for check-g77
(CHECK_TARGETS): depend on configured languages
From-SVN: r39655
Alexandre Petit-Bianco [Wed, 14 Feb 2001 00:36:22 +0000 (16:36 -0800)]
parse.y (resolve_qualified_expression_name): Try to resolve as an inner class access only if `decl' is a TYPE_DECL.
2001-02-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_qualified_expression_name): Try to resolve as
an inner class access only if `decl' is a TYPE_DECL.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00762.html)
From-SVN: r39653
Jan Hubicka [Wed, 14 Feb 2001 00:15:15 +0000 (01:15 +0100)]
i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
* i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
(sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
(sqrtsf2 patterns): Use 'x' instead of 'Y'.
(sqrtextendsfdf2): Disable for SSE2.
From-SVN: r39652
Alexandre Petit-Bianco [Wed, 14 Feb 2001 00:03:11 +0000 (00:03 +0000)]
decl.c (classdollar_identifier_node): Initialize.
2001-02-13 Alexandre Petit-Bianco <apbianco@cygnus.com>
* decl.c (classdollar_identifier_node): Initialize.
* java-tree.h (enum java_tree_index): New entry
`JTI_CLASSDOLLAR_IDENTIFIER_NODE.'
(classdollar_identifier_node): New macro.
(ID_CLASSDOLLAR_P): Likewise.
* parse.y (build_dot_class_method): Use `classdollar_identifier_node.'
(build_dot_class_method_invocation): Likewise.
(find_applicable_accessible_methods_list): `class$' can't be
inherited.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00760.html)
From-SVN: r39650
Jan Hubicka [Tue, 13 Feb 2001 23:12:49 +0000 (00:12 +0100)]
i386.md (movsfcc_1): Support integer cmove instruction.
* i386.md (movsfcc_1): Support integer cmove instruction.
(movdfcc_1): Likewise; new splitter.
From-SVN: r39648
Jan Hubicka [Tue, 13 Feb 2001 22:32:32 +0000 (23:32 +0100)]
i386.c (output_fp_compare): Support SSE.
* i386.c (output_fp_compare): Support SSE.
(prepare_fp_compare_args): SSE comparisons always support memory.
* i386.h (TARGET_CMOVE): SSE imply cmove.
* i386.md (cmp?f2): Enable for SSE too.
(cmpfp_i*): Support SSE.
(cmpfp_i_sse): New.
(cmpfp_i_sse_only): New.
(s*, b* fp expanters): Enable for SSE too.
(fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
New patterns.
From-SVN: r39647
Jan Hubicka [Tue, 13 Feb 2001 22:10:04 +0000 (23:10 +0100)]
* regclass.c (init_reg_sets_1): Silence warning.
From-SVN: r39646
Jan Hubicka [Tue, 13 Feb 2001 21:04:57 +0000 (22:04 +0100)]
i386.md (sqrt?f2): Change to expander.
* i386.md (sqrt?f2): Change to expander.
(sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
From-SVN: r39645