platform/upstream/gcc.git
23 years agoacinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out exception-throwing code...
Phil Edwards [Wed, 11 Oct 2000 17:08:35 +0000 (17:08 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out exception-throwing code for linker test.

2000-10-11  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Comment out
  exception-throwing code for linker test.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

From-SVN: r36838

23 years agotree.c (get_narrower): Don't look at precision of field if not laid out yet.
Richard Kenner [Wed, 11 Oct 2000 10:04:03 +0000 (10:04 +0000)]
tree.c (get_narrower): Don't look at precision of field if not laid out yet.

* tree.c (get_narrower): Don't look at precision of field if
not laid out yet.

From-SVN: r36837

23 years agoChoicePeer.java (addItem): Removed.
Bryce McKinlay [Wed, 11 Oct 2000 09:47:25 +0000 (09:47 +0000)]
ChoicePeer.java (addItem): Removed.

2000-10-11  Bryce McKinlay  <bryce@albatross.co.nz>

* java/awt/peer/ChoicePeer.java (addItem): Removed.
* java/awt/peer/ComponentPeer.java (disable): Removed.
(enable): Removed.
(hide): Removed.
(minimumSize): Removed.
(preferredSize): Removed.
(reshape): Removed.
(show): Removed.
* java/awt/peer/ListPeer.java (addItem): Removed.
(clear): Removed.
(minimumSize): Removed.
(preferredSize): Removed.
(setMultipleSelections): Removed.
* java/awt/peer/MenuBarPeer.java (add): Renamed from addMenu.
(remove): Renamed from removeMenu.
* java/awt/peer/MenuItemPeer.java (disable): Removed.
(enable): Removed.
* java/awt/peer/MenuPeer.java (add): Renamed from addItem.
(remove): Renamed from removeItem.
* java/awt/peer/TextAreaPeer.java (insertText): Removed.
(getMinimumSize): Removed.
(getPreferredSize): Removed.
(minimumSize): Removed.
(preferredSize): Removed.
(replaceText): Removed.
* java/awt/peer/TextFieldPeer.java (minimumSize): Removed.
(preferredSize): Removed.
(getMinimumSize): Removed.
(getPreferredSize): Removed.
(setEchoCharacter): Removed.

From-SVN: r36836

23 years agoDaily bump.
Jeff Law [Wed, 11 Oct 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36835

23 years ago000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Benjamin Kosnik [Tue, 10 Oct 2000 23:56:33 +0000 (23:56 +0000)]
000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
* libsupc++/include: Remove
* libsupc++/include/*: Move to ...
* libsupc++: Here.
* libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
(glibcppinstalldir): New.

* src/Makefile.am (c_base_headers): New.
(c_shadow_headers): New
(c_headers): New.
(myinstallheaders): Correct install issues.
* src/Makefile.in: Regenerate.

* Makefile.am (CSHADOW_INCLUDES): Simplify.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
* aclocal.m4: Regenerate.
* mkcheck.in (SRC_DIR): Use it.

* include/bits/std_stdexcept.h: And here.
* include/bits/std_ios.h: Change std_exception.h to exception.
* src/locale.cc: And here.
* src/locale-inst.cc: And here.

* include/bits/valarray_array.h: And here.
* include/bits/stl_alloc.h: And here.
* include/bits/stl_algobase.h: And here.
* include/bits/pthread_allocimpl.h: And here.
* include/bits/stl_construct.h: Change to std_new.h to new.

* include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.

* src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
(headers): Remove duplicated headers.
(std_headers): And here.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (LIBSUPCXX_INCLUDES): Add here.
(AM_MAKEFLAGS): And here.
* Makefile.in: Regenerate.
* include/bits/std_typeinfo.h: Remove.
* include/bits/std_new.h: Remove
* include/bits/std_exception.h: Remove.
* std/new: Remove.
* std/typeinfo: Remove.
* std/exception: Remove.

* libio/_G_config.h (__need_ptrdiff_t): Add.

* libsupc++/include/new: Change stddef.h to cstddef.
* libsupc++/tinfo.h: Change limits.h to climits.
* libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
renders the file uncompilable. Add copyright.

* include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
namespace, as it is a fundamental type.

From-SVN: r36834

23 years agoMakefile.am (LIBSUPCXX_INCLUDES): Adjust.
Benjamin Kosnik [Tue, 10 Oct 2000 23:50:39 +0000 (23:50 +0000)]
Makefile.am (LIBSUPCXX_INCLUDES): Adjust.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
* libsupc++/include: Remove
* libsupc++/include/*: Move to ...
* libsupc++: Here.
* libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
(glibcppinstalldir): New.

* src/Makefile.am (c_base_headers): New.
(c_shadow_headers): New
(c_headers): New.
(myinstallheaders): Correct install issues.
* src/Makefile.in: Regenerate.

* Makefile.am (CSHADOW_INCLUDES): Simplify.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
* aclocal.m4: Regenerate.
* mkcheck.in (SRC_DIR): Use it.

* include/bits/std_stdexcept.h: And here.
* include/bits/std_ios.h: Change std_exception.h to exception.
* src/locale.cc: And here.
* src/locale-inst.cc: And here.

* include/bits/valarray_array.h: And here.
* include/bits/stl_alloc.h: And here.
* include/bits/stl_algobase.h: And here.
* include/bits/pthread_allocimpl.h: And here.
* include/bits/stl_construct.h: Change to std_new.h to new.

* include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.

* src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
(headers): Remove duplicated headers.
(std_headers): And here.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (LIBSUPCXX_INCLUDES): Add here.
(AM_MAKEFLAGS): And here.
* Makefile.in: Regenerate.
* include/bits/std_typeinfo.h: Remove.
* include/bits/std_new.h: Remove
* include/bits/std_exception.h: Remove.
* std/new: Remove.
* std/typeinfo: Remove.
* std/exception: Remove.

* libio/_G_config.h (__need_ptrdiff_t): Add.

* libsupc++/include/new: Change stddef.h to cstddef.
* libsupc++/tinfo.h: Change limits.h to climits.
* libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
renders the file uncompilable. Add copyright.

* include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
namespace, as it is a fundamental type.

From-SVN: r36833

23 years agoMakefile.am (LIBSUPCXX_INCLUDES): Adjust.
Benjamin Kosnik [Tue, 10 Oct 2000 23:43:26 +0000 (23:43 +0000)]
Makefile.am (LIBSUPCXX_INCLUDES): Adjust.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
* libsupc++/include: Remove
* libsupc++/include/*: Move to ...
* libsupc++: Here.
* libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
(glibcppinstalldir): New.

* src/Makefile.am (c_base_headers): New.
(c_shadow_headers): New
(c_headers): New.
(myinstallheaders): Correct install issues.
* src/Makefile.in: Regenerate.

* Makefile.am (CSHADOW_INCLUDES): Simplify.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
* aclocal.m4: Regenerate.
* mkcheck.in (SRC_DIR): Use it.

* include/bits/std_stdexcept.h: And here.
* include/bits/std_ios.h: Change std_exception.h to exception.
* src/locale.cc: And here.
* src/locale-inst.cc: And here.

* include/bits/valarray_array.h: And here.
* include/bits/stl_alloc.h: And here.
* include/bits/stl_algobase.h: And here.
* include/bits/pthread_allocimpl.h: And here.
* include/bits/stl_construct.h: Change to std_new.h to new.

* include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.

* src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
(headers): Remove duplicated headers.
(std_headers): And here.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (LIBSUPCXX_INCLUDES): Add here.
(AM_MAKEFLAGS): And here.
* Makefile.in: Regenerate.
* include/bits/std_typeinfo.h: Remove.
* include/bits/std_new.h: Remove
* include/bits/std_exception.h: Remove.
* std/new: Remove.
* std/typeinfo: Remove.
* std/exception: Remove.

* libio/_G_config.h (__need_ptrdiff_t): Add.

* libsupc++/include/new: Change stddef.h to cstddef.
* libsupc++/tinfo.h: Change limits.h to climits.
* libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
renders the file uncompilable. Add copyright.

* include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
namespace, as it is a fundamental type.

From-SVN: r36832

23 years agoLocaleData_en.java (monetarySeparator): Added.
Warren Levy [Tue, 10 Oct 2000 23:09:08 +0000 (23:09 +0000)]
LocaleData_en.java (monetarySeparator): Added.

* gnu/gcj/text/LocaleData_en.java (monetarySeparator): Added.
* java/sql/Date.java (serialVersionUID): New field.
* java/sql/Time.java (serialVersionUID): New field.
* java/sql/Timestamp.java (serialVersionUID): New field.
* java/text/ChoiceFormat.java (serialVersionUID): New field.
* java/text/DateFormat.java (getDateTimeInstance (int)): Removed.
* java/text/DateFormatSymbols.java (serialVersionUID): New field.
* java/text/DecimalFormat.java (serialVersionOnStream): New field.
(readObject): New serialization method.
* java/text/DecimalFormatSymbols.java (monetarySeparator): New field.
(serialVersionOnStream): New field.
(readObject): New serialization method.
(getMonetaryDecimalSeparator): New method.
(setMonetaryDecimalSeparator): New method.
* java/text/NumberFormat.java (maxFractionDigits): New field.
(maxIntegerDigits): New field.
(minFractionDigits): New field.
(minIntegerDigits): New field.
(serialVersionOnStream): New field.
(serialVersionUID): New field.
(readObject): New serialization method.
(writeObject): New serialization method.
* java/text/SimpleDateFormat.java (defaultCenturyStart): Initialized.
(serialVersionOnStream): New field.
(serialVersionUID): New field.
(readObject): New serialization method.

Serialization mods.

From-SVN: r36831

23 years agolex.c (java_new_lexer): Initialize out_first and out_last fields.
Tom Tromey [Tue, 10 Oct 2000 22:02:12 +0000 (22:02 +0000)]
lex.c (java_new_lexer): Initialize out_first and out_last fields.

* lex.c (java_new_lexer): Initialize out_first and out_last
fields.
* lex.h (java_lexer): Added out_buffer, out_first, out_last.

From-SVN: r36830

23 years agoavr.c (valid_machine_decl_attribute): Allow `extern' declaration for data with "progm...
Denis Chertykov [Tue, 10 Oct 2000 19:29:10 +0000 (19:29 +0000)]
avr.c (valid_machine_decl_attribute): Allow `extern' declaration for data with "progmem" attribute.

* config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
declaration for data with "progmem" attribute.

From-SVN: r36829

23 years agoavr.c (out_shift_with_cnt): Use AS2 macro.
Marek Michalkiewicz [Tue, 10 Oct 2000 18:41:18 +0000 (20:41 +0200)]
avr.c (out_shift_with_cnt): Use AS2 macro.

* config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
Correct insn length if shift count is a memory operand.
* config/avr/avr.md: New define_peephole2 to use *reload_inqi.
(*iorhi3_clobber): Change lo8 to hi8.
(zero_extendhisi2): Change %B0 to %A1.
(ashlhi3, ashrhi3): Correct insn length.
(andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
from "clobber" to "set_n" in some alternatives.

From-SVN: r36828

23 years ago[multiple changes]
Alexandre Petit-Bianco [Tue, 10 Oct 2000 17:54:59 +0000 (17:54 +0000)]
[multiple changes]

2000-10-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        Patch contributed by Corey Minyard.
        * decl.c (check_local_named_variable): New function.
        (tree check_local_unnamed_variable): Likewise.
        (find_local_variable): Splitted. Call check_local_{un}named_variable.

2000-08-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (variable_declarator_id:): Better error message.
        (expression_statement:): Use YYNOT_TWICE.
        (cast_expression:): Likewise.
        (assignment:): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00286.html)

From-SVN: r36827

23 years ago991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi does not error on it.
Jakub Jelinek [Tue, 10 Oct 2000 15:37:59 +0000 (17:37 +0200)]
991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi does not error on it.

* gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
does not error on it.

From-SVN: r36826

23 years agoOops, forgot to commit testcase.
Hans-Peter Nilsson [Tue, 10 Oct 2000 14:52:31 +0000 (14:52 +0000)]
Oops, forgot to commit testcase.

From-SVN: r36825

23 years agoreload1.c (calculate_needs_all_insns): If deleting an instruction, remove its insn_ch...
Jakub Jelinek [Tue, 10 Oct 2000 13:48:00 +0000 (15:48 +0200)]
reload1.c (calculate_needs_all_insns): If deleting an instruction, remove its insn_chain structure as well.

* reload1.c (calculate_needs_all_insns): If deleting an instruction,
remove its insn_chain structure as well.

* gcc.dg/20001009-1.c: New test.

From-SVN: r36824

23 years agoconfigure.in (zlib_basedir): Cope with empty with_target_subdir
Alexandre Oliva [Tue, 10 Oct 2000 11:01:30 +0000 (11:01 +0000)]
configure.in (zlib_basedir): Cope with empty with_target_subdir

* configure.in (zlib_basedir): Cope with empty with_target_subdir
* configure: Rebuilt.

From-SVN: r36823

23 years agoDaily bump.
Jeff Law [Tue, 10 Oct 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36822

23 years ago* dbxout.c (dbxout_source_line): Remove extra tab.
J. David Anglin [Tue, 10 Oct 2000 00:13:09 +0000 (00:13 +0000)]
* dbxout.c (dbxout_source_line): Remove extra tab.

From-SVN: r36821

23 years ago* config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
Hans-Peter Nilsson [Mon, 9 Oct 2000 23:55:50 +0000 (23:55 +0000)]
* config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.

From-SVN: r36820

23 years agoMon Oct 9 23:32:06 MET DST 2000 Jan Hubicka <jh@suse.cz>
Jan Hubicka [Mon, 9 Oct 2000 21:34:38 +0000 (21:34 +0000)]
Mon Oct  9 23:32:06 MET DST 2000  Jan Hubicka  <jh@suse.cz>

* gcc.c-torture/compile/20001009-1.c: Move from here ....
* gcc.c-torture/execute/20001009-2.c: ... to here.

From-SVN: r36818

23 years agoMakefile.in (LANG_LIB2FUNCS): Remove.
Richard Henderson [Mon, 9 Oct 2000 21:13:04 +0000 (14:13 -0700)]
Makefile.in (LANG_LIB2FUNCS): Remove.

        * Makefile.in (LANG_LIB2FUNCS): Remove.
        (LIB2FUNCS): Remove _pure.
        (LIB2ADD): Remove LANG_LIB2FUNCS.
        (stage_a): Don't set LANG_LIB2FUNCS.
        * libgcc2.c (__terminate): Mark noreturn.
        (__pure_virtual): Remove.
        * mklibgcc.in: Remove LIB2ADD .txt processing.

From-SVN: r36817

23 years agoMake-lang.in (CXX_EXTRA_HEADERS): Remove.
Richard Henderson [Mon, 9 Oct 2000 21:12:45 +0000 (14:12 -0700)]
Make-lang.in (CXX_EXTRA_HEADERS): Remove.

        * Make-lang.in (CXX_EXTRA_HEADERS): Remove.
        (c++ language support bits for libgcc): Remove.
        (c++.clean): Remove cplib2.txt cleanup.
        * config-lang.in (headers, lib2funcs): Remove.

        * exception.cc, new.cc, new1.cc, new2.cc: Remove files.
        * tinfo.cc, tinfo.h, tinfo2.cc, vec.cc: Remove files.
        * inc/cxxabi.h, inc/exception, inc/new: Remove files.
        * inc/new.h, inc/typeinfo: Remove files.

From-SVN: r36816

23 years agopure.cc: New file.
Richard Henderson [Mon, 9 Oct 2000 21:04:58 +0000 (14:04 -0700)]
pure.cc: New file.

        * libsupc++/pure.cc: New file.
        * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
        (sources): Add pure.cc.
        * libsupc++/Makefile.in: Regenerate.

From-SVN: r36815

23 years ago20001009-1.c: New testcase.
Geoff Keating [Mon, 9 Oct 2000 20:34:02 +0000 (20:34 +0000)]
20001009-1.c: New testcase.

* gcc.c-torture/compile/20001009-1.c: New testcase.
* gcc.c-torture/execute/20001009-1.c: New testcase.
Testcases provided by Jan Hubicka <jh@suse.cz>.

From-SVN: r36814

23 years ago* arm.md (push_multi): Revert unintended change.
Richard Earnshaw [Mon, 9 Oct 2000 20:04:18 +0000 (20:04 +0000)]
* arm.md (push_multi): Revert unintended change.

From-SVN: r36813

23 years agoarm.c: Miscellaneous white space and comment clean-ups.
Richard Earnshaw [Mon, 9 Oct 2000 18:42:34 +0000 (18:42 +0000)]
arm.c: Miscellaneous white space and comment clean-ups.

* arm.c: Miscellaneous white space and comment clean-ups.  No
functional change.
* arm.md: Likewise.

From-SVN: r36812

23 years ago[multiple changes]
Tom Tromey [Mon, 9 Oct 2000 17:19:49 +0000 (17:19 +0000)]
[multiple changes]

2000-10-09  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (GCJ): Avoid bogus error message when looking for
(and not finding) gcj in the build tree.
* configure: Rebuilt.

2000-10-09  Tom Tromey  <tromey@cygnus.com>

* configure: Rebuilt.
* configure.in: Include sys/types.h when checking for socklen_t.
From Arno J. Klaassen.

From-SVN: r36811

23 years agoc-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new STRING_CST by callin...
Kaveh R. Ghazi [Mon, 9 Oct 2000 16:30:43 +0000 (16:30 +0000)]
c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new STRING_CST by calling combine_strings.

* c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
STRING_CST by calling combine_strings.

From-SVN: r36810

23 years agoarm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
Richard Earnshaw [Mon, 9 Oct 2000 14:04:33 +0000 (14:04 +0000)]
arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.

* arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
(thumb_output_move_mem_multiple): Support new insn format.
* arm.md (movmem12b): Use SSA compatible format.
(movmem8b): Likewise.

From-SVN: r36809

23 years agoarm.md (predicable): New attribute, default to "no".
Richard Earnshaw [Mon, 9 Oct 2000 13:43:20 +0000 (13:43 +0000)]
arm.md (predicable): New attribute, default to "no".

* arm.md (predicable): New attribute, default to "no".
(all patterns): Mark as predicable if appropriate.
(conditional execution splits): Split using predication format.
(define_cond_exec): Define.
* arm.c (arm_print_operand): handle insn predicate.

From-SVN: r36808

23 years agoREADME.NS32K: Remove file.
Gerald Pfeifer [Mon, 9 Oct 2000 13:19:20 +0000 (15:19 +0200)]
README.NS32K: Remove file.

* README.NS32K: Remove file.
* README-bugs: Remove file.

From-SVN: r36807

23 years ago0-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Benjamin Kosnik [Mon, 9 Oct 2000 09:03:36 +0000 (09:03 +0000)]
0-10-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/configopts.html: Edit.

* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.

* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.

* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.

From-SVN: r36806

23 years agoconfigopts.html: Edit.
Benjamin Kosnik [Mon, 9 Oct 2000 08:55:06 +0000 (08:55 +0000)]
configopts.html: Edit.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/configopts.html: Edit.

* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.

* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.

* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.

From-SVN: r36805

23 years agoconfigopts.html: Edit.
Benjamin Kosnik [Mon, 9 Oct 2000 08:49:57 +0000 (08:49 +0000)]
configopts.html: Edit.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/configopts.html: Edit.

* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.

* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.

* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.

From-SVN: r36804

23 years agoconfigopts.html: Edit.
Benjamin Kosnik [Mon, 9 Oct 2000 08:44:42 +0000 (08:44 +0000)]
configopts.html: Edit.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/configopts.html: Edit.

* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.

* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.

* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.

From-SVN: r36803

23 years agoconfigopts.html: Edit.
Benjamin Kosnik [Mon, 9 Oct 2000 08:43:31 +0000 (08:43 +0000)]
configopts.html: Edit.

2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/configopts.html: Edit.

* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.

* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.

* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.

From-SVN: r36802

23 years agoaclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator for test.
Philipp Thomas [Mon, 9 Oct 2000 08:36:36 +0000 (08:36 +0000)]
aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator for test.

2000-10-08  Philipp Thomas  <pthomas@suse.de>
* aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
for test.
* configure: Rebuilt.

From-SVN: r36801

23 years agoaclocal.m4 (AM_WITH_NLS): When not using included gettext...
Philipp Thomas [Mon, 9 Oct 2000 08:12:35 +0000 (08:12 +0000)]
aclocal.m4 (AM_WITH_NLS): When not using included gettext...

2000-10-08  Philipp Thomas  <pthomas@suse.de>
* aclocal.m4 (AM_WITH_NLS): When not using included gettext,
disable catalog building if no suitable program was found.
Move warning message from here
(AM_GNU_GETTEXT): To here.
* configure: Rebuilt.

From-SVN: r36800

23 years agoDaily bump.
Jeff Law [Mon, 9 Oct 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36799

23 years agoMakefile.am (INCLUDES): Add toplevel include directory.
Benjamin Kosnik [Mon, 9 Oct 2000 03:35:36 +0000 (03:35 +0000)]
Makefile.am (INCLUDES): Add toplevel include directory.

2000-10-08   Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
(INCLUDES): Add glibcpp_includedir.
* libsupc++/Makefile.in: Regenerate.

* acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
* aclocal.m4: Regenerate.
* config/os/*/bits/os_defintes: Adjust copyright dates.

From-SVN: r36798

23 years agoaclocal.m4 (GCC_PATH_PROG): New.
Philipp Thomas [Mon, 9 Oct 2000 03:19:37 +0000 (03:19 +0000)]
aclocal.m4 (GCC_PATH_PROG): New.

2000-10-08  Philipp Thomas  <pthomas@suse.de>
* aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
different cache variables.
(GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
uses different cache variables.
(AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
* configure: Regenerated.

From-SVN: r36797

23 years agoNew test code
Anthony Green [Mon, 9 Oct 2000 02:20:28 +0000 (02:20 +0000)]
New test code

From-SVN: r36796

23 years agoupdate
Bryce McKinlay [Mon, 9 Oct 2000 01:55:35 +0000 (02:55 +0100)]
update

From-SVN: r36795

23 years agore GNATS libgcj/341 (Throwable.printStackTrace() isn't working)
Bryce McKinlay [Mon, 9 Oct 2000 01:54:50 +0000 (01:54 +0000)]
re GNATS libgcj/341 (Throwable.printStackTrace() isn't working)

2000-10-09  Bryce McKinlay  <bryce@albatross.co.nz>

* include/jvm.h: Enable __builtin_expect().

* name-finder.cc (lookup): Don't trust dladdr() if the address is from
the main program. Fix for PR libgcj/341.

From-SVN: r36794

23 years agoc++config: Include <bits/os_defines.h>
Phil Edwards [Mon, 9 Oct 2000 00:42:23 +0000 (00:42 +0000)]
c++config: Include <bits/os_defines.h>

2000-10-08  Phil Edwards  <pme@sources.redhat.com>

* include/bits/c++config:  Include <bits/os_defines.h>
* config/os/aix/bits/os_defines.h:  New file.
* config/os/bsd/bits/os_defines.h:  Ditto.
* config/os/generic/bits/os_defines.h:  Ditto.
* config/os/gnu-linux/bits/os_defines.h:  Ditto.
* config/os/irix/bits/os_defines.h:  Ditto.
* config/os/newlib/bits/os_defines.h:  Ditto.
* config/os/solaris/solaris2.5/bits/os_defines.h:  Ditto.
* config/os/solaris/solaris2.6/bits/os_defines.h:  Ditto.
* config/os/solaris/solaris2.7/bits/os_defines.h:  Ditto.

From-SVN: r36793

23 years agoMakefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
Richard Henderson [Sun, 8 Oct 2000 23:20:18 +0000 (16:20 -0700)]
Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.

        * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
        * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
        * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
        Use SHLIB_EXT.

        * config/t-linux (SHLIB_EXT): New.
        (SHLIB_LINK): Use the entire build command, with substitutions.
        (SHLIB_LIBS): Remove.
        * config/alpha/t-osf4: Likewise.
        * config/mips/t-iris6: Likewise.
        * config/sparc/t-sol2: Likewise, but move shlib stuff...
        * config/sparc/t-slibgcc-sld: ...here.
        * config/sparc/t-slibgcc: New file.

From-SVN: r36792

23 years agotm.texi (INTMAX_TYPE, [...]): Define.
Joseph Myers [Sun, 8 Oct 2000 21:20:45 +0000 (22:20 +0100)]
tm.texi (INTMAX_TYPE, [...]): Define.

* tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
* c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
CTI_UINTMAX_TYPE.
(intmax_type_node, uintmax_type_node): Define.
* c-common.c (decl_attributes): If pedantic, warn if `mode'
attributes create a type wider than intmax_t.
(T_IM, T_UIM): Define properly.
* c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
defined.
(init_decl_processing): Initialize intmax_type_node and
uintmax_type_node.
* c-lex.c (lex_number): When pedantic and warning for integer
constants that are too large, in C99 mode warn for those that have
a type wider than long long.

cp:
* decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
defined.
(init_decl_processing): Initialize intmax_type_node and
uintmax_type_node.

testsuite:
* gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Define intmax_t and
uintmax_t using <limits.h> to emulate the compiler's internal
logic.  No longer XFAIL %j tests.

From-SVN: r36791

23 years agoc-common.c (FMT_FLAG_ARG_CONVERT, [...]): Define.
Joseph Myers [Sun, 8 Oct 2000 21:12:33 +0000 (22:12 +0100)]
c-common.c (FMT_FLAG_ARG_CONVERT, [...]): Define.

* c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
FMT_FLAG_FANCY_PERCENT_OK): Define.
(format_char_info): Add flag "4" to comment.
(format_flag_spec, format_flag_pair): New structures.
(format_kind_info): Add additional fields to control format
checking.
(printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
arrays.
(time_char_table): Use "4" flag to handle %Ey.
(format_types): Add entries for new fields.
(get_flag_spec): New function.
(check_format_info): Increase size of flag_chars[] to 256.
Control format checking using the new fields of a format_kind_info
and the new tables; remove all conditionals on printf_format_type,
scanf_format_type or strftime_format_type.  Handle all details of
bad combinations of flags (including width, precision and strftime
modifiers) through data rather than ad hoc code.  Handle all
details of standard versions in which flags appeared through
data.  Use the "4" flag.

testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c,
gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
gcc.dg/c99-strftime-1.c, gcc.dg/format-ext-3.c: Adjust error
regexps and details of expected handling of some bad formats.
* gcc.dg/format-xopen-1.c: Add test for $ format with assignment
suppression.

From-SVN: r36790

23 years agoclass.c (layout_class): Handle case where superclass can't be layed out yet.
Anthony Green [Sun, 8 Oct 2000 19:14:32 +0000 (19:14 +0000)]
class.c (layout_class): Handle case where superclass can't be layed out yet.

2000-10-07  Anthony Green  <green@redhat.com>

* class.c (layout_class): Handle case where superclass can't be
layed out yet.

From-SVN: r36789

23 years ago* test_installed: Change EGCS references to refer to GCC.
Joseph Myers [Sun, 8 Oct 2000 18:39:27 +0000 (19:39 +0100)]
* test_installed: Change EGCS references to refer to GCC.

From-SVN: r36788

23 years agoh8300.md: Remove the memory alternative and correct the insn lengths in the templates...
Will Cohen [Sun, 8 Oct 2000 13:10:20 +0000 (13:10 +0000)]
h8300.md: Remove the memory alternative and correct the insn lengths in the templates for...

2000-10-07  Will Cohen  <wcohen@redhat.com>, Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.md: Remove the memory alternative and correct
the insn lengths in the templates for sign extention and zero
extention.

From-SVN: r36787

23 years agoDaily bump.
Jeff Law [Sun, 8 Oct 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36786

23 years agoMakefile.in (piclist): Fix sed command to also accept numbers in filenames.
Philipp Thomas [Sun, 8 Oct 2000 03:09:38 +0000 (03:09 +0000)]
Makefile.in (piclist): Fix sed command to also accept numbers in filenames.

2000-10-08  Philipp Thomas  <pthomas@suse.de>

* Makefile.in (piclist): Fix sed command to also accept
numbers in filenames.

From-SVN: r36785

23 years ago[multiple changes]
Alexandre Petit-Bianco [Sun, 8 Oct 2000 02:22:39 +0000 (19:22 -0700)]
[multiple changes]

Tue Oct  3 13:44:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (find_local_variable): Removed uncessary type check and
        fixed range check typo. From Corey Minyard.

Wed Sep 13 16:06:52 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (give_name_to_locals): New local `code_offset'. Call
        `maybe_adjust_start_pc.'
        * expr.c (note_instructions): New function.
        (expand_byte_code): Don't collect insn starts here.
        (peek_opcode_at_pc): New function.
        (maybe_adjust_start_pc): Likewise.
        * java-tree.h (maybe_adjust_start_pc): Declare.
        (note_instructions): Likewise.
        * jcf-parse.c (parse_class_file): Call `note_instructions.'

Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (field_access:): Fixed indentation.
        (qualify_ambiguous_name): Properly qualify `this.a[b].c'.

(Missing piece to http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00067.html)

From-SVN: r36784

23 years agoPOTFILES.in: Remove the files from the nuked dead ports.
Philipp Thomas [Sun, 8 Oct 2000 01:36:43 +0000 (01:36 +0000)]
POTFILES.in: Remove the files from the nuked dead ports.

2000-10-08  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: Remove the files from the nuked
dead ports.
* ChangeLog: Correct David's entry.

From-SVN: r36783

23 years agocond1.C, [...]: Update URLs of messages in list archives.
Joseph Myers [Sat, 7 Oct 2000 22:42:11 +0000 (23:42 +0100)]
cond1.C, [...]: Update URLs of messages in list archives.

* g++.old-deja/g++.eh/cond1.C, g++.old-deja/g++.other/bitfld3.C,
g++.old-deja/g++.other/cond5.C, g++.old-deja/g++.other/decl3.C,
g++.old-deja/g++.other/decl5.C, gcc.dg/cast-qual-1.c,
gcc.dg/return-type-1.c, gcc.dg/unused-1.c: Update URLs of messages
in list archives.

From-SVN: r36782

23 years agocalls.c (expand_call): Disallow sibcalls to noreturn functions.
Richard Henderson [Sat, 7 Oct 2000 20:53:21 +0000 (13:53 -0700)]
calls.c (expand_call): Disallow sibcalls to noreturn functions.

        * calls.c (expand_call): Disallow sibcalls to noreturn functions.
        * flow.c (make_edges): Revert last change.

        * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
        TREE_THIS_VOLATILE.
        * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.

From-SVN: r36781

23 years agodel_op.cc, [...]: New files.
Richard Henderson [Sat, 7 Oct 2000 19:21:05 +0000 (12:21 -0700)]
del_op.cc, [...]: New files.

        * del_op.cc, del_opnt.cc, del_opv.cc, del_opvnt.cc: New files.
        * exception.cc, new_handler.cc, new_op.cc, new_opnt.cc: New files.
        * new_opv.cc, new_opvnt.cc, tinfo.cc, tinfo2.cc, vec.cc: New files.
        * cxxabi.h, exception, new, new.h, typeinfo, pure.c: New files.
        * tinfo.hP: New file.

        * Makefile.in (OBJS, HEADERS): Add new files.
        * configure.in (XCXXINCLUDES): Add ../include and ../gcc.

From-SVN: r36780

23 years ago[multiple changes]
Benjamin Kosnik [Sat, 7 Oct 2000 18:57:18 +0000 (18:57 +0000)]
[multiple changes]

2000-10-07  David Edelsohn  <dje@watson.ibm.com>

* config/os/aix/bits/atomicity.h: New file.

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * acinclude.m4: Remove CPU_FLAGS
        * libio/Makefile.am: Here too.
        * Makefile.am: Here too.

        * src/Makefile.am (CONFIG_INCLUDES): Remove.
        (INCLUDES): Remove CONFIG_INCLUDES.
        (cpu_headers): Remove.
        (myinstallheaders): Remove cpu_headers.
        (generated_headers): Rename to build_headers.
        (build_headers): Add atomicity.h, ctype_base.h,
        ctype_specializations.h.

        * config/os: New directory.
        * config/aix: Move to...
        * config/bsd: Move to...
        * config/generic: Move to...
        * config/gnu-linux: Move to...
        * config/irix: Move to...
        * config/newlib: Move to...
        * config/solaris: Move to...

From-SVN: r36779

23 years ago[multiple changes]
Benjamin Kosnik [Sat, 7 Oct 2000 18:54:08 +0000 (18:54 +0000)]
[multiple changes]

2000-10-07  David Edelsohn  <dje@watson.ibm.com>

* config/os/aix/bits/atomicity.h: New file.

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

From-SVN: r36778

23 years agoacinclude.m4: Remove CPU_FLAGS
Benjamin Kosnik [Sat, 7 Oct 2000 18:49:33 +0000 (18:49 +0000)]
acinclude.m4: Remove CPU_FLAGS

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

From-SVN: r36777

23 years agoacinclude.m4: Remove CPU_FLAGS
Benjamin Kosnik [Sat, 7 Oct 2000 18:39:06 +0000 (18:39 +0000)]
acinclude.m4: Remove CPU_FLAGS

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

From-SVN: r36776

23 years ago* java/util/Properties.java: Merged with Classpath version.
Tom Tromey [Sat, 7 Oct 2000 18:13:11 +0000 (18:13 +0000)]
* java/util/Properties.java: Merged with Classpath version.

From-SVN: r36775

23 years agoMakefile.in ($(srcdir)/hash.h): Refer to GNU FTP site for updated gperf.
Joseph Myers [Sat, 7 Oct 2000 12:39:35 +0000 (13:39 +0100)]
Makefile.in ($(srcdir)/hash.h): Refer to GNU FTP site for updated gperf.

ch:
* Makefile.in ($(srcdir)/hash.h): Refer to GNU FTP site for
updated gperf.

java:
* Makefile.in (keyword.h): Refer to GNU FTP site for updated
gperf.

From-SVN: r36774

23 years agoDaily bump.
Jeff Law [Sat, 7 Oct 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36773

23 years agoelf.h: Standardize the formatting.
David O'Brien [Sat, 7 Oct 2000 06:56:14 +0000 (06:56 +0000)]
elf.h: Standardize the formatting.

2000-10-06  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h: Standardize the formatting.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001006233422.D23128@cygnus.com>

From-SVN: r36772

23 years agoelf.h: Protect the ASM_OUTPUT_IDENT definition with an #undef.
David O'Brien [Sat, 7 Oct 2000 06:37:16 +0000 (06:37 +0000)]
elf.h: Protect the ASM_OUTPUT_IDENT definition with an #undef.

2000-10-06  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an #undef.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001006231829.C23128@cygnus.com>

From-SVN: r36771

23 years agocp-tree.h (struct cp_language_function): Remove x_result_rtx.
Richard Henderson [Sat, 7 Oct 2000 01:46:42 +0000 (18:46 -0700)]
cp-tree.h (struct cp_language_function): Remove x_result_rtx.

        * cp/cp-tree.h (struct cp_language_function): Remove x_result_rtx.
        (original_result_rtx): Remove.
        * cp/decl.c (save_function_data): Don't clear x_result_rtx.
        (mark_lang_function): Don't mark it either.
        * cp/expr.c (fixup_result_decl): Remove.
        * cp/semantics.c (genrtl_named_return_value): Frob the return decl
        before calling emit_local_var.
        (genrtl_finish_function): Don't call fixup_result_decl.
        Always emit the jump to return_label.

From-SVN: r36770

23 years agofunction.c (diddle_return_value): Examine current_function_return_rtx instead of...
Richard Henderson [Sat, 7 Oct 2000 01:45:21 +0000 (18:45 -0700)]
function.c (diddle_return_value): Examine current_function_return_rtx instead of the DECL_RESULT.

        * function.c (diddle_return_value): Examine
        current_function_return_rtx instead of the DECL_RESULT.
        (expand_function_end): Handle reloading DECL_RESULT from memory
        into a hard register.  Query promote_mode for sign of mismatched
        modes.

From-SVN: r36769

23 years agocrash13.C: Pass -Wreturn-type.
Richard Henderson [Sat, 7 Oct 2000 01:44:36 +0000 (18:44 -0700)]
crash13.C: Pass -Wreturn-type.

        * g++.old-deja/g++.brendan/crash13.C: Pass -Wreturn-type.
        * g++.old-deja/g++.brendan/crash52.C: Likewise.
        * g++.old-deja/g++.jason/report.C: Likewise.
        * g++.old-deja/g++.law/friend5.C: Likewise.
        * g++.old-deja/g++.mike/p646.C: Likewise.  Adjust the spelling
        of the expected warnings.

From-SVN: r36768

23 years agoMakefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here,...
Benjamin Kosnik [Sat, 7 Oct 2000 01:05:37 +0000 (01:05 +0000)]
Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here, and move to...

2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

From-SVN: r36767

23 years agoMakefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here,...
Benjamin Kosnik [Sat, 7 Oct 2000 01:01:45 +0000 (01:01 +0000)]
Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here, and move to...

2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

From-SVN: r36766

23 years agoMakefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here,...
Benjamin Kosnik [Sat, 7 Oct 2000 01:00:26 +0000 (01:00 +0000)]
Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here, and move to...

2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

From-SVN: r36765

23 years agolibsupc++: New directory.
Benjamin Kosnik [Fri, 6 Oct 2000 23:34:32 +0000 (23:34 +0000)]
libsupc++: New directory.

2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
            Richard Henderson  <rth@cygnus.com>
    Alexandre Oliva  <aoliva@redhat.com>

* libsupc++: New directory.
* libsupc++/*: Populate.
* libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
eh-common.h, gansidecl.h.
* configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libsupc++.
* Makefile.in: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
* src/Makefile.in: Regenerate.
* libio/Makefile.am: Remove extraneous, confusing bits.
* libio/Makefile.in: Regenerate.

From-SVN: r36764

23 years agolibsupc++: New directory.
Benjamin Kosnik [Fri, 6 Oct 2000 23:31:22 +0000 (23:31 +0000)]
libsupc++: New directory.

2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
            Richard Henderson  <rth@cygnus.com>
    Alexandre Oliva  <aoliva@redhat.com>

* libsupc++: New directory.
* libsupc++/*: Populate.
* libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
eh-common.h, gansidecl.h.
* configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libsupc++.
* Makefile.in: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
* src/Makefile.in: Regenerate.
* libio/Makefile.am: Remove extraneous, confusing bits.
* libio/Makefile.in: Regeneate.

From-SVN: r36763

23 years agohaifa-sched.c (schedule_insns): Fix typo in freeing forward_dependency_cache.
Vladimir Makarov [Fri, 6 Oct 2000 21:01:06 +0000 (21:01 +0000)]
haifa-sched.c (schedule_insns): Fix typo in freeing forward_dependency_cache.

2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>

* haifa-sched.c (schedule_insns): Fix typo in freeing
forward_dependency_cache.

From-SVN: r36762

23 years agosh.md (calli_pcrel, [...]): Add `TARGET_SH2' as a condition.
Alexandre Oliva [Fri, 6 Oct 2000 19:55:48 +0000 (19:55 +0000)]
sh.md (calli_pcrel, [...]): Add `TARGET_SH2' as a condition.

* config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
`TARGET_SH2' as a condition.

From-SVN: r36761

23 years agohaifa-sched.c (anti_dependency_cache, [...]): New variables.
Vladimir Makarov [Fri, 6 Oct 2000 19:12:53 +0000 (19:12 +0000)]
haifa-sched.c (anti_dependency_cache, [...]): New variables.

2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>

* haifa-sched.c (anti_dependency_cache, output_dependency_cache,
forward_dependency_cache): New variables.
(add_dependence, remove_dependence): Use anti_dependency_cache and
output_dependency_cache.
(compute_block_forward_dependences): Use forward_dependency_cache.
(schedule_insns): Allocate and free memory for anti/output/forward
dependencies caches.

From-SVN: r36760

23 years agosh.md (call, call_value): Use `TARGET_SH2' instead of `! TARGET_SH1'.
Alexandre Oliva [Fri, 6 Oct 2000 18:12:07 +0000 (18:12 +0000)]
sh.md (call, call_value): Use `TARGET_SH2' instead of `! TARGET_SH1'.

* config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
`! TARGET_SH1'.  Reindent.

From-SVN: r36759

23 years agobuiltins.c (is_valid_printf_arglist, [...]): Move functions from here ...
Kaveh R. Ghazi [Fri, 6 Oct 2000 14:59:56 +0000 (14:59 +0000)]
builtins.c (is_valid_printf_arglist, [...]): Move functions from here ...

* builtins.c (is_valid_printf_arglist, expand_builtin_printf):
Move functions from here ...

* c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
... to here.
(c_expand_builtin): New function.
(init_function_format_info): Don't set `check_function_format_ptr'.
(c_common_nodes_and_builtins): Set built_in_class type for
printf/__builtin_printf to BUILT_IN_FRONTEND.
(c_expand_expr): Handle CALL_EXPRs that are front-end builtins.

* c-common.h (build_function_call): Declare.

* expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
to `lang_expand_expr' rather than `expand_builtin'.

* tree.c (check_function_format_ptr): Delete.

* tree.h (check_function_format_ptr): Likewise.

From-SVN: r36758

23 years agodwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or DW_OP_bregx when cfa->reg...
Hans-Peter Nilsson [Fri, 6 Oct 2000 11:37:31 +0000 (11:37 +0000)]
dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or DW_OP_bregx when cfa->reg > 31.

* dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
DW_OP_bregx when cfa->reg > 31.

* frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
break.

From-SVN: r36757

23 years ago* g++.old-deja/g++.pt/enum14.C: New test.
Nathan Sidwell [Fri, 6 Oct 2000 09:13:11 +0000 (09:13 +0000)]
* g++.old-deja/g++.pt/enum14.C: New test.

From-SVN: r36756

23 years agopt.c (lookup_template_class): Set current access for enum.
Nathan Sidwell [Fri, 6 Oct 2000 09:12:44 +0000 (09:12 +0000)]
pt.c (lookup_template_class): Set current access for enum.

* pt.c (lookup_template_class): Set current access for enum.
(tsubst_enum): Set file & line for enum decl.

* spew.c (yylex): Remove unused variable.

From-SVN: r36755

23 years agoDaily bump.
Jeff Law [Fri, 6 Oct 2000 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36754

23 years agoREADME (file): Adjust directory structures.
Benjamin Kosnik [Fri, 6 Oct 2000 07:13:29 +0000 (07:13 +0000)]
README (file): Adjust directory structures.

2000-10-05  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* README (file): Adjust directory structures.
* mkcheck.in (INC_PATH): Adjust for header changes.

From-SVN: r36753

23 years agoistream.tcc: Removed test for _M_gcount < in_avail()...
Brent Verner [Fri, 6 Oct 2000 07:12:32 +0000 (07:12 +0000)]
istream.tcc: Removed test for _M_gcount < in_avail()...

2000-10-05  Brent Verner  <brent@rcfile.org>

        * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
test for _M_gcount < in_avail(), as in_avail() only reports info
for current buffer, causing method to return at end of buffer.
* testsuite/27_io/istream_unformatted.cc [test07()]: New test.
* testsuite/27_io/istream_unformatted-3.txt: New file.
* testsuite/27_io/istream_unformatted-3.tst: New file.

From-SVN: r36752

23 years agoistream.tcc: Removed test for _M_gcount < in_avail()...
Brent Verner [Fri, 6 Oct 2000 07:11:26 +0000 (07:11 +0000)]
istream.tcc: Removed test for _M_gcount < in_avail()...

2000-10-03  Brent Verner  <brent@rcfile.org>

        * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
test for _M_gcount < in_avail(), as in_avail() only reports info
for current buffer, causing method to return at end of buffer.
* testsuite/27_io/istream_unformatted.cc [test07()]: New test.
* testsuite/27_io/istream_unformatted-3.txt: New file.
* testsuite/27_io/istream_unformatted-3.tst: New file.

From-SVN: r36751

23 years agoc-decl.c (warn_missing_noreturn): Remove.
Richard Henderson [Fri, 6 Oct 2000 06:01:27 +0000 (23:01 -0700)]
c-decl.c (warn_missing_noreturn): Remove.

        * c-decl.c (warn_missing_noreturn): Remove.
        (c_expand_body): Don't set or check can_reach_end.
        * c-tree.h (warn_missing_noreturn): Move ...
        * flags.h: ... here.
        (can_reach_end): Remove.
        * flow.c (check_function_return_warnings): New.
        (make_edges): No edge to exit for noreturn sibcalls.
        * function.c (expand_function_end): Save the return value
        clobber instruction.
        (mark_function_status): Mark it.
        * function.h (struct function): Add x_clobber_return_insn.
        * jump.c (can_reach_end): Remove.
        (calculate_can_reach_end): Remove.
        (jump_optimize_1): Don't call it.
        * output.h (check_function_return_warnings): Declare.
        * toplev.c (warn_missing_noreturn): Move from c-decl.c
        (rest_of_compilation): Call check_function_return_warnings.

From-SVN: r36750

23 years agosemantics.c (genrtl_finish_function): Don't init or check can_reach_end; remove noret...
Richard Henderson [Fri, 6 Oct 2000 06:00:59 +0000 (23:00 -0700)]
semantics.c (genrtl_finish_function): Don't init or check can_reach_end; remove noreturn and return value checks.

        * semantics.c (genrtl_finish_function): Don't init or check
        can_reach_end; remove noreturn and return value checks.

From-SVN: r36749

23 years ago* decl.c (finish_chill_function): Don't init can_reach_end.
Richard Henderson [Fri, 6 Oct 2000 06:00:40 +0000 (23:00 -0700)]
* decl.c (finish_chill_function): Don't init can_reach_end.

From-SVN: r36748

23 years ago* com.c (finish_function): Don't init can_reach_end.
Richard Henderson [Fri, 6 Oct 2000 06:00:21 +0000 (23:00 -0700)]
* com.c (finish_function): Don't init can_reach_end.

From-SVN: r36747

23 years agoMakefile.in (NM_FOR_TARGET): New.
Richard Henderson [Fri, 6 Oct 2000 05:46:02 +0000 (22:46 -0700)]
Makefile.in (NM_FOR_TARGET): New.

        * Makefile.in (NM_FOR_TARGET): New.
        (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
        (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
        * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map.  Depend the
        shared library build on that and EXTRA_MULTILIB_PARTS.
        * mkmap-flat.awk: New file.
        * mkmap-symver.awk: New file.
        * libgcc-std.ver: New file.
        * config/libgcc-glibc.ver: New file.
        * config/ia64/libgcc-ia64.ver: New file.
        * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        (SHLIB_LINK): Add --version-script.
        * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
        * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        (SHLIB_LINK): Add -M.

From-SVN: r36746

23 years agolonglong.h [alpha] (count_leading_zeros): Use cmpbge with a zero instead of -1.
Richard Henderson [Fri, 6 Oct 2000 05:32:59 +0000 (22:32 -0700)]
longlong.h [alpha] (count_leading_zeros): Use cmpbge with a zero instead of -1.

        * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
        a zero instead of -1.
        (count_trailing_zeros): Likewise.

From-SVN: r36745

23 years agoMakefile.in (LIB2FUNCS): Add _clz.
Richard Henderson [Fri, 6 Oct 2000 05:29:56 +0000 (22:29 -0700)]
Makefile.in (LIB2FUNCS): Add _clz.

        * Makefile.in (LIB2FUNCS): Add _clz.
        * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
        (__clz_tab): Put in its own unit, non-static.
        * libgcc2.h: Always include longlong.h.

From-SVN: r36744

23 years agoalpha.c (alpha_emit_setcc): Don't swap GT tests when second op1 is const0_rtx.
Richard Henderson [Fri, 6 Oct 2000 05:19:40 +0000 (22:19 -0700)]
alpha.c (alpha_emit_setcc): Don't swap GT tests when second op1 is const0_rtx.

        * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
        when second op1 is const0_rtx.  Validate op0 as a register.
        * config/alpha/alpha.md (setcc_internal): Don't allow constants
        in the first argument of the compare.
        (setcc_swapped_internal): Likewise.
        (setne_internal): Likewise.

From-SVN: r36743

23 years agotree.c (tree_size): New function split out of copy_node.
Geoff Keating [Fri, 6 Oct 2000 04:51:47 +0000 (04:51 +0000)]
tree.c (tree_size): New function split out of copy_node.

        * tree.c (tree_size): New function split out of copy_node.
        (make_node): Remove obstack handling.  Use tree_size.
        (copy_node): Use tree_size.
        * tree.h: Prototype tree_size.

From-SVN: r36742

23 years agoRebuilt Makefile.ins
Tom Tromey [Fri, 6 Oct 2000 01:57:45 +0000 (01:57 +0000)]
Rebuilt Makefile.ins

From-SVN: r36741

23 years agonatField.cc (BooleanClass): Don't define.
Tom Tromey [Fri, 6 Oct 2000 01:49:32 +0000 (01:49 +0000)]
natField.cc (BooleanClass): Don't define.

* java/lang/reflect/natField.cc (BooleanClass): Don't define.
* java/lang/reflect/natArray.cc (BooleanClass): Don't define.
* java/lang/Class.h (Object): Added `class$' field.
* java/lang/Object.h (Object): Added `class$' field.
* defineclass.cc (ClassClass): Use `class$' form.
(ClassObject): Likewise.
* resolve.cc (ClassObject): Use `class$' form.
(ObjectClass): Likewise.
* interpret.cc (ClassError): Removed.
* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Use
`class$' form.
(IntegerClass): Likewise.
* java/net/natPlainSocketImpl.cc (BooleanClass): Use `class$'
form.
* java/lang/natClassLoader.cc (CloneableClass): Use `class$' form.
(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
SerializableClass): Likewise.
Include Serializable.h, Cloneable.h.
* java/lang/natSystem.cc (SystemClass): Removed.
(init_properties): Use `class$' form.
* java/lang/natObject.cc (CloneableClass): Removed.
(clone): Use `class$' form.
* java/lang/natClass.cc (CloneableClass): Use `class$' form.
(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
ConstructorClass): Likewise.
* java/lang/reflect/natMethod.cc (ObjectClass): Use `class$' form.
(ClassClass, VoidClass, ByteClass, ShortClass, CharacterClass,
IntegerClass, LongClass, FloatClass, DoubleClass): Likewise.
* java/io/natObjectInputStream.cc (ObjectClass): Use `class$'
form.
(ClassClass): Likewise.
* include/jvm.h (StringClass): Use `class$' form.
* prims.cc (ObjectClass): Removed.
(_Jv_RunMain): Use `class$' form.
(_Jv_AllocObject): Likewise.
* jni.cc (ClassClass): Use `class$' form.
(ThrowableClass): Likewise.
(ObjectClass): Likewise.
(MethodClass): Likewise.
(ThreadGroupClass): Likewise.
(NativeThreadClass): Likewise.
* boehm.cc (ObjectClass): Removed.
(ClassClass): Removed.
(_Jv_MarkObj): Use `class$' form.
* gcj/field.h (JvFieldIsRef): Use `class$' form.
Include RawData.h.

From-SVN: r36740

23 years ago* diagnostic.c (output_format): Add missing break.
Richard Henderson [Fri, 6 Oct 2000 01:46:50 +0000 (18:46 -0700)]
* diagnostic.c (output_format): Add missing break.

From-SVN: r36739

23 years agojvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.
Tom Tromey [Fri, 6 Oct 2000 01:45:47 +0000 (01:45 +0000)]
jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.

* jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.
* jvgenmain.c (class_mangling_prefix): Removed.
(class_mangling_suffix): New global.
(main): Use it.
* gjavah.c (cxx_keyword_subst): Mangle C++ keywords by appending
`$'.
(print_method_info): Handle overrides for static and final
methods.
(process_file): Generate declaration for class object field.
* class.c (cxx_keywords): New array.
(utf8_cmp): New function.
(cxx_keyword_p): New function.
(layout_class_method): Mangle C++ keywords by appending `$'.
(mangle_field): New function.
(mangle_class_field): Use mangle_field.  Mangle class name as
`class$'.
(mangle_static_field): Use mangle_field.

From-SVN: r36738