Commit Graph

33827 Commits

Author SHA1 Message Date
Mark Mitchell
3747f3dc72 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
From-SVN: r39807
2001-02-17 23:45:54 +00:00
Jason Merrill
d9579a59fd improve comment
From-SVN: r39806
2001-02-17 18:38:08 -05:00
Richard Henderson
78adc5a03d reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP when replacing a memory load with a register.
* reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
        when replacing a memory load with a register.

From-SVN: r39805
2001-02-17 15:07:06 -08:00
Richard Kenner
e2373f9555 recog.c (validate_replace_src_1): New.
* recog.c (validate_replace_src_1): New.
	(validate_replace_src_data): Likewise.
	(validate_replace_src): Use note_uses.
	* rtl.h (note_uses): Declare.
	* rtlanal.c (note_uses): New.

Co-Authored-By: Jan Hubicka <jh@suse.cz>

From-SVN: r39804
2001-02-17 14:50:58 -05:00
Greg Bumgardner
f5d3e93f97 std_ostream.h: Replaced usage of _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2001-02-16  Greg Bumgardner <bumgard@roguewave.com>

	libstdc++/1734
        * include/bits/std_ostream.h: Replaced usage of
        _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
        * include/bits/char_traits.h: Removed non-standard
        methods that cannot be used elsewhere.

	libstdc++/1885
        * include/bits/basic_ios.h: Uncommented #include of
        bits/basic_ios.tcc

	libstdc++/1897
        * include/bits/codecvt.h: See next...
        * include/bits/fstream.tcc: See next...
        * include/bits/ostream.tcc: Add __extension__
        to variable-length arrays.

	libstdc++/1967
        * include/bits/localefwd.h: Changed int counter type to size_t.

	libstdc++/1968
        * include/bits/std_fstream.h: Added typedef for __ctype_type.

From-SVN: r39802
2001-02-17 17:51:45 +00:00
Mark Wielaard
6483cbecc4 * java/util/TimerTask.java: New version from Classpath.
From-SVN: r39801
2001-02-17 15:27:34 +00:00
Mark Wielaard
3f57b973f3 Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>)
Remerge with Classpath
    (changes by Bryce McKinlay  <bryce@albatross.co.nz>)
    * java/io/DataInputStream.java (readBoolean): Use convertToBoolean().
    (readByte): Use convertToByte().
    (readChar): Use convertToChar().
    (readInt): Use convertToInt().
    (readLong): Use convertToLong().
    (readShort): Use convertToShort().
    (readUnsignedByte): Use convertToUnsignedByte().
    (readUnsignedShort): Use convertToUnsignedShort().
    (readUTF): Use convertToUTF().

    (convertToBoolean): Resurrected.
    (convertToByte): Ditto.
    (convertToChar): Ditto.
    (convertToInt): Ditto.
    (convertToLong): Ditto.
    (convertToShort): Ditto.
    (convertToUnsignedByte): Ditto.
    (convertToUnsignedShort): Ditto.
    (convertToUTF): Ditto.

From-SVN: r39800
2001-02-17 15:09:46 +00:00
Mark Wielaard
a7e96ed41a * HACKING: new file
From-SVN: r39799
2001-02-17 14:24:41 +00:00
Mark Wielaard
f74fd2bbc1 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
2001-02-17 13:59:13 +00:00
Jan Hubicka
b00b2cc23e 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
2001-02-17 09:55:46 +00:00
GCC Administrator
7dc55d5090 Daily bump.
From-SVN: r39793
2001-02-17 08:16:41 +00:00
Richard Kenner
d6447708d8 Fix error in previous entry
From-SVN: r39790
2001-02-16 21:13:03 -05:00
Nick Clifton
2437d4ed72 Allow configuration of texinfo for Cygwin hosts.
From-SVN: r39787
2001-02-17 00:52:44 +00:00
Jason Merrill
48f22ed28f 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
2001-02-16 19:12:44 -05:00
Benjamin Kosnik
b8f971fc25 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
2001-02-16 23:58:28 +00:00
Loren J. Rittle
4031ed6598 cplus-dem.c (main): Initialize style.
2001-02-16  Loren J. Rittle  <ljrittle@acm.org>

	* cplus-dem.c (main): Initialize style.

From-SVN: r39782
2001-02-16 23:28:14 +00:00
Gabriel Dos Reis
e8186ecfef 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
2001-02-16 22:52:29 +00:00
Alexandre Petit-Bianco
055adbaa1e 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
2001-02-16 14:31:52 -08:00
Jakub Jelinek
2c1be3223f 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
2001-02-16 23:30:06 +01:00
Jes Sorensen
f5bbdc0c54 Patch from Jes Sorensen for build failure.
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
	shladd_operand() call.

From-SVN: r39775
2001-02-16 11:33:52 -08:00
Richard Kenner
172890a2dd 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
2001-02-16 14:29:49 -05:00
Richard Kenner
b71e8e8477 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
2001-02-16 14:14:09 -05:00
Bruce Korb
6ee71e4971 Use C fixincludes for UnixWare 7.
Co-Authored-By: Rodney Brown <RodneyBrown@mynd.com>

From-SVN: r39771
2001-02-16 18:26:40 +00:00
Richard Kenner
f85cc4cbe2 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
2001-02-16 12:50:49 -05:00
Gabriel Dos Reis
f0217d415d mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions.
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
	definitions.

From-SVN: r39767
2001-02-16 17:06:06 +00:00
Jeffrey Oldham
f5df2e8c06 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
2001-02-16 17:04:36 +00:00
Jeffrey Oldham
aab8454ac5 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
2001-02-16 17:03:55 +00:00
Jason Merrill
86306c8e0f fix comment typo
From-SVN: r39764
2001-02-16 08:08:44 -05:00
Jason Merrill
1edf43d63f 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
2001-02-16 08:03:10 -05:00
Jason Merrill
a901fa6404 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
2001-02-16 07:46:21 -05:00
Gerald Pfeifer
cc06d68c8c 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
2001-02-16 11:12:46 +00:00
Jakub Jelinek
4f6bcad016 objc-act.c (start_class): Register implemented_classes with GC.
* objc/objc-act.c (start_class): Register implemented_classes with
	GC.

From-SVN: r39756
2001-02-16 10:15:19 +01:00
Jeff Law
79c9efb500 Daily bump.
From-SVN: r39755
2001-02-16 01:45:07 -07:00
Mark Mitchell
8853373c4e 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
2001-02-16 08:03:23 +00:00
Mark Mitchell
b60ecc04e8 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
2001-02-16 07:57:51 +00:00
Neil Booth
1d2e075ae0 * gcc.c-torture/execute/longlong.c: New test.
From-SVN: r39750
2001-02-16 07:43:21 +00:00
Neil Booth
e4a345f832 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
2001-02-16 07:41:08 +00:00
Benjamin Kosnik
63100912b7 c++config: Revert.
2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/c++config: Revert.

From-SVN: r39747
2001-02-16 05:39:47 +00:00
Bryce McKinlay
3ade9bbaad 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
2001-02-16 04:50:38 +00:00
DJ Delorie
fd48c9b5d1 Fix typos
From-SVN: r39745
2001-02-15 22:56:26 -05:00
Jim Meyering
e658449ebb 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
2001-02-15 22:54:02 -05:00
Mark Mitchell
bcd0cabb19 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
2001-02-16 03:35:50 +00:00
Benjamin Kosnik
e6ec3b2ac3 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
2001-02-16 02:45:26 +00:00
Jeffrey Oldham
e4df3e482d 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
2001-02-16 02:38:35 +00:00
Richard Kenner
a8b94b40ad * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
From-SVN: r39739
2001-02-15 21:35:30 -05:00
Richard Kenner
d64236b44d 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
2001-02-15 21:30:37 -05:00
Bryce McKinlay
5ace577564 TreeMap.java (nil): Made non-final.
* java/util/TreeMap.java (nil): Made non-final.
	(clone): Create new nil node for copy.

From-SVN: r39736
2001-02-16 02:25:24 +00:00
Anthony Green
729338bb38 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
2001-02-16 01:56:07 +00:00
Bryce McKinlay
07add946aa 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
2001-02-16 01:49:40 +00:00
Rodney Brown
01a49191c1 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
2001-02-16 01:39:06 +00:00