platform/upstream/gcc.git
22 years ago[multiple changes]
Benjamin Kosnik [Mon, 21 Jan 2002 04:08:54 +0000 (04:08 +0000)]
[multiple changes]

2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>::classic_table):
Remove definition.
(ctype<char>::_S_ctable): Remove.
* config/os/gnu-linux/bits/ctype_noninline.h
(ctype<char>::_S_table): Remove definition.
(ctype<char>::classic_table): Define.
(ctype<char>::ctype): Replace _S_ctable with classic_table().
* config/os/aix/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
of _pctype. Use to define _S_ctable.  Add definition for alternate
ctor.  Initialise _M_ctable to _S_ctable in ctors.
(do_toupper, do_tolower): Use inline code appropriate for C-locale
rather than ::toupper, ::tolower.

From-SVN: r49032

22 years agoh8300.h: Fix comment formatting.
Kazu Hirata [Mon, 21 Jan 2002 02:24:02 +0000 (02:24 +0000)]
h8300.h: Fix comment formatting.

* config/h8300/h8300.h: Fix comment formatting.
* config/ia64/aix.h: Likewise.
* config/ia64/ia64-protos.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/ia64intrin.h: Likewise.
* config/ia64/linux.h: Likewise.
* config/ia64/unwind-aix.c: Likewise.
* config/ia64/unwind-ia64.c: Likewise.

From-SVN: r49031

22 years ago* config/h8300/h8300.c: Revise comments about shift code.
Kazu Hirata [Mon, 21 Jan 2002 02:04:46 +0000 (02:04 +0000)]
* config/h8300/h8300.c: Revise comments about shift code.

From-SVN: r49030

22 years ago* config/h8300/h8300.c (function_arg): Update a comment.
Kazu Hirata [Mon, 21 Jan 2002 01:12:35 +0000 (01:12 +0000)]
* config/h8300/h8300.c (function_arg): Update a comment.

From-SVN: r49026

22 years agoh8300.md: Update the comments at the beginning of the file.
Kazu Hirata [Mon, 21 Jan 2002 00:34:29 +0000 (00:34 +0000)]
h8300.md: Update the comments at the beginning of the file.

* config/h8300/h8300.md: Update the comments at the beginning
of the file.

From-SVN: r49025

22 years ago* reg-stack.c (subst_stack_regs): Properly check for deleted insn.
Richard Kenner [Sun, 20 Jan 2002 23:50:07 +0000 (23:50 +0000)]
* reg-stack.c (subst_stack_regs): Properly check for deleted insn.

From-SVN: r49024

22 years agoi370.c: Fix comment formatting.
Kazu Hirata [Sun, 20 Jan 2002 23:48:11 +0000 (23:48 +0000)]
i370.c: Fix comment formatting.

* config/i370/i370.c: Fix comment formatting.
* config/i370/i370.h: Likewise.
* config/i370/i370.md: Likewise.
* config/i370/linux.h: Likewise.

From-SVN: r49023

22 years agodwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
Richard Kenner [Sun, 20 Jan 2002 23:46:30 +0000 (23:46 +0000)]
dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.

* dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
(gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
in incomplete case.

From-SVN: r49022

22 years agoMakefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.
Toon Moene [Sun, 20 Jan 2002 19:58:42 +0000 (20:58 +0100)]
Makefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.

2002-01-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: $(MULTISUBDIR) has an implied leading `/';
remove duplicates.
Use libtool for removing libg2c{a|la|so} for the `uninstall' target.

From-SVN: r49021

22 years agonatPlainSocketImpl.cc (_Jv_recv): Change return type of function and of parameter...
Andreas Schwab [Sun, 20 Jan 2002 16:34:07 +0000 (16:34 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Change return type of function and of parameter recv_func to ssize_t...

* java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
function and of parameter recv_func to ssize_t, as specified by
POSIX.

From-SVN: r49020

22 years ago* cfgloop.c (flow_loop_preheader_scan): Fix typo.
Graham Stott [Sun, 20 Jan 2002 09:32:27 +0000 (09:32 +0000)]
* cfgloop.c (flow_loop_preheader_scan): Fix typo.

From-SVN: r49019

22 years agoDaily bump.
GCC Administrator [Sun, 20 Jan 2002 08:16:10 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49017

22 years agoFix regression introduced with patch for c++/775
Nathan Sidwell [Sat, 19 Jan 2002 20:55:35 +0000 (20:55 +0000)]
Fix regression introduced with patch for c++/775

cp:
Fix regression introduced with patch for c++/775
* parse.y (class_head_defn): Check for template specializations
with a different class-key.
testsuite:
* g++.dg/template/access1.C: New test.

From-SVN: r49016

22 years agoZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next...
Per Bothner [Sat, 19 Jan 2002 20:51:48 +0000 (12:51 -0800)]
ZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next entry.

* java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
uncompressed_size in readiness for next entry.

From-SVN: r49014

22 years ago* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
John David Anglin [Sat, 19 Jan 2002 20:42:33 +0000 (20:42 +0000)]
* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.

From-SVN: r49013

22 years agoFix for DF split
Tom Rix [Sat, 19 Jan 2002 15:40:35 +0000 (15:40 +0000)]
Fix for DF split

From-SVN: r49011

22 years agoDaily bump.
GCC Administrator [Sat, 19 Jan 2002 08:17:41 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r49010

22 years ago20020118-1.c: New.
Aldy Hernandez [Sat, 19 Jan 2002 03:08:40 +0000 (03:08 +0000)]
20020118-1.c: New.

2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

From-SVN: r49007

22 years ago20020118-1.c: New.
Aldy Hernandez [Sat, 19 Jan 2002 03:06:55 +0000 (03:06 +0000)]
20020118-1.c: New.

2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

        * tm.texi (STARTING_FRAME_PHASE): Document.

        * function.c (assign_stack_local_1): Adjust x_frame_offset with
        STARTING_FRAME_PHASE.
        (STARTING_FRAME_PHASE): New.
        (instantiate_virtual_regs): Check saneness of
        STARTING_FRAME_PHASE.

        * rs6000.h (STARTING_FRAME_PHASE): New.

From-SVN: r49006

22 years ago* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
Alexandre Oliva [Sat, 19 Jan 2002 02:54:14 +0000 (02:54 +0000)]
* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.

From-SVN: r49005

22 years agoinstall.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapp...
Craig Rodrigues [Sat, 19 Jan 2002 00:06:49 +0000 (00:06 +0000)]
install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapping GCC 3.0.

2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
        be used for bootstrapping GCC 3.0.

From-SVN: r49001

22 years agonumeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems...
Loren J. Rittle [Fri, 18 Jan 2002 22:07:27 +0000 (22:07 +0000)]
numeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems only to avoid losing test only due to...

* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
Add specialization for FreeBSD systems only to avoid losing test
only due to extra precision unmentioned in system headers.

From-SVN: r48997

22 years agoMakefile.in: Add missing `/' separator in last change.
Toon Moene [Fri, 18 Jan 2002 20:07:36 +0000 (21:07 +0100)]
Makefile.in: Add missing `/' separator in last change.

2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Add missing `/' separator in last change.

From-SVN: r48995

22 years agoMakefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...
Toon Moene [Fri, 18 Jan 2002 19:58:48 +0000 (20:58 +0100)]
Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...

2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR)
instead of $(libsubdir)$(MULTISUBDIR).

From-SVN: r48994

22 years ago- Symmetrically define ffi_call_DARWIN for AIX.
David Edelsohn [Fri, 18 Jan 2002 18:41:11 +0000 (18:41 +0000)]
- Symmetrically define ffi_call_DARWIN for AIX.

From-SVN: r48993

22 years agonatPlainSocketImpl.cc: Include IllegalArgumentException.h.
Tom Tromey [Fri, 18 Jan 2002 17:23:23 +0000 (17:23 +0000)]
natPlainSocketImpl.cc: Include IllegalArgumentException.h.

* java/net/natPlainSocketImpl.cc: Include
IllegalArgumentException.h.
(_Jv_recv): New template function.
(BooleanClass): Removed.
(read): Use _Jv_recv.
(setOption): Use Boolean::class$.  Throw exception if object is
not Boolean or Integer.

From-SVN: r48992

22 years ago* testsuite/gcc.c-torture/execute/20020118-1.c: New test.
Kazu Hirata [Fri, 18 Jan 2002 17:21:40 +0000 (17:21 +0000)]
* testsuite/gcc.c-torture/execute/20020118-1.c: New test.

From-SVN: r48991

22 years ago* config/h8300/h8300.md: Fix an insn length.
Kazu Hirata [Fri, 18 Jan 2002 17:19:59 +0000 (17:19 +0000)]
* config/h8300/h8300.md: Fix an insn length.

From-SVN: r48990

22 years ago- Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.
David Edelsohn [Fri, 18 Jan 2002 16:22:34 +0000 (16:22 +0000)]
- Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.

From-SVN: r48989

22 years agobitmap.h: Fix comment formatting.
Kazu Hirata [Fri, 18 Jan 2002 13:40:36 +0000 (13:40 +0000)]
bitmap.h: Fix comment formatting.

* bitmap.h: Fix comment formatting.
* combine.c: Likewise.
* cppfiles.c: Likewise.
* c-pragma.h: Likewise.
* c-typeck.c: Likewise.
* df.c: Likewise.
* dwarf2out.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* gthr-win32.h: Likewise.
* haifa-sched.c: Likewise.
* predict.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r48987

22 years agotweak so adjustment is necessary in v3 abi
Jason Merrill [Fri, 18 Jan 2002 13:30:17 +0000 (08:30 -0500)]
tweak so adjustment is necessary in v3 abi

From-SVN: r48986

22 years agosemantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template.
Jason Merrill [Fri, 18 Jan 2002 13:25:27 +0000 (08:25 -0500)]
semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template.

        * semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER
        if we're in a template.

From-SVN: r48985

22 years agoalso test with inlining
Jason Merrill [Fri, 18 Jan 2002 13:24:04 +0000 (08:24 -0500)]
also test with inlining

From-SVN: r48984

22 years agoC++ ABI change: destroy value arguments in caller.
Jason Merrill [Fri, 18 Jan 2002 13:23:23 +0000 (08:23 -0500)]
C++ ABI change: destroy value arguments in caller.

        * calls.c (initialize_argument_information): Pass the address of
        the TARGET_EXPR temporary rather than storing it into another.

From-SVN: r48983

22 years agore PR c++/3242 (Forwarding using 'using' of base members broken?)
Jason Merrill [Fri, 18 Jan 2002 13:21:35 +0000 (08:21 -0500)]
re PR c++/3242 (Forwarding using 'using' of base members broken?)

        PR c++/3242
        * class.c (add_method): Do compare 'this' quals when trying to match a
        used function.  Don't defer to another used function.

From-SVN: r48982

22 years agoDaily bump.
GCC Administrator [Fri, 18 Jan 2002 08:16:20 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48980

22 years agoctype_noninline.h: Fix typo
David Billinghurst [Fri, 18 Jan 2002 04:29:28 +0000 (04:29 +0000)]
ctype_noninline.h: Fix typo

2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo

From-SVN: r48979

22 years agoMakefile.in (all-fastjar): Also depend on all-libiberty.
H.J. Lu [Fri, 18 Jan 2002 01:15:47 +0000 (01:15 +0000)]
Makefile.in (all-fastjar): Also depend on all-libiberty.

2002-01-17  H.J. Lu <hjl@gnu.org>

* Makefile.in (all-fastjar): Also depend on all-libiberty.
(all-target-fastjar): Also depend on all-target-libiberty.

From-SVN: r48976

22 years agoMenuComponent.java: Merged with Classpath.
Tom Tromey [Fri, 18 Jan 2002 01:01:58 +0000 (01:01 +0000)]
MenuComponent.java: Merged with Classpath.

* java/awt/MenuComponent.java: Merged with Classpath.
* java/awt/MenuItem.java: Merged with Classpath.
* java/awt/Button.java: Merged with Classpath.

From-SVN: r48975

22 years agooops - incorrect changelog for previous delta
Nick Clifton [Thu, 17 Jan 2002 23:40:23 +0000 (23:40 +0000)]
oops - incorrect changelog for previous delta

From-SVN: r48974

22 years agofix typo in comment
Nick Clifton [Thu, 17 Jan 2002 23:37:43 +0000 (23:37 +0000)]
fix typo in comment

From-SVN: r48973

22 years ago* java/awt/ActiveEvent.java: Updated copyright.
Tom Tromey [Thu, 17 Jan 2002 23:23:29 +0000 (23:23 +0000)]
* java/awt/ActiveEvent.java: Updated copyright.

From-SVN: r48972

22 years agodeprecated.C: Fix FAIL from "At global scope" message
David Billinghurst [Thu, 17 Jan 2002 22:48:08 +0000 (22:48 +0000)]
deprecated.C: Fix FAIL from "At global scope" message

2001-01-17  David Billinghurst <David.Billinghurst@riotinto.com>

* g++.dg/other/deprecated.C: Fix FAIL from
"At global scope" message
* g++.dg/ext/align1.C: Fix fail on cygwin from maximum
alignment warnings

From-SVN: r48971

22 years ago- Add more information about interposing functions using runtime-linking.
David Edelsohn [Thu, 17 Jan 2002 22:45:21 +0000 (17:45 -0500)]
- Add more information about interposing functions using runtime-linking.

From-SVN: r48970

22 years agoi386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops
David Billinghurst [Thu, 17 Jan 2002 22:37:04 +0000 (22:37 +0000)]
i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops

2001-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

* gcc.misc-tests/i386-prefetch.exp: Save and restore
torture_with_loops and torture_without_loops

From-SVN: r48968

22 years agoctor_copy_dtor.cc: Remove check.
Peter Schmid [Thu, 17 Jan 2002 22:29:44 +0000 (22:29 +0000)]
ctor_copy_dtor.cc: Remove check.

2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.

From-SVN: r48967

22 years agoAdded my name (Ira Ruben) to write-after-approval list.
Ira Ruben [Thu, 17 Jan 2002 22:03:36 +0000 (22:03 +0000)]
Added my name (Ira Ruben) to write-after-approval list.

From-SVN: r48966

22 years agoattribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE if type_required and passe...
Richard Kenner [Thu, 17 Jan 2002 20:34:40 +0000 (20:34 +0000)]
attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE if type_required and passed decl.

* attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
if type_required and passed decl.

From-SVN: r48964

22 years agoconfig.gcc (cpu_type): Include altivec.h in powerpc extra_headers.
Aldy Hernandez [Thu, 17 Jan 2002 20:07:06 +0000 (20:07 +0000)]
config.gcc (cpu_type): Include altivec.h in powerpc extra_headers.

2002-01-17  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc (cpu_type): Include altivec.h in powerpc
        extra_headers.
        Same for darwin.

        * config/rs6000/altivec.h: New.

From-SVN: r48963

22 years agoinstall.texi (*-ibm-aix*): Update assembler and exception handling information.
David Edelsohn [Thu, 17 Jan 2002 20:01:49 +0000 (20:01 +0000)]
install.texi (*-ibm-aix*): Update assembler and exception handling information.

        * doc/install.texi (*-ibm-aix*): Update assembler and exception
        handling information.
        * doc/trouble.texi (Interoperation): Add libstdc++ information
        for AIX.
        (Misunderstandings): Add template instantiation and static template
        member information for AIX.

From-SVN: r48962

22 years agoAWTError.java: Replaced with Classpath version.
Tom Tromey [Thu, 17 Jan 2002 17:35:28 +0000 (17:35 +0000)]
AWTError.java: Replaced with Classpath version.

* java/awt/AWTError.java: Replaced with Classpath version.
* java/awt/AWTException.java: Replaced with Classpath version.
* java/awt/IllegalComponentStateException.java: Replaced with
Classpath version.

From-SVN: r48961

22 years ago* configure.target: Define OPT_LDFLAGS for AIX case.
David Edelsohn [Thu, 17 Jan 2002 16:14:08 +0000 (16:14 +0000)]
* configure.target: Define OPT_LDFLAGS for AIX case.

From-SVN: r48958

22 years ago- acsectionLDflags fix omitted from previous commit.
David Edelsohn [Thu, 17 Jan 2002 16:11:26 +0000 (11:11 -0500)]
- acsectionLDflags fix omitted from previous commit.

From-SVN: r48957

22 years agoMakefile.am (EXTRA_DIST): Add Darwin and AIX files.
David Edelsohn [Thu, 17 Jan 2002 16:04:21 +0000 (16:04 +0000)]
Makefile.am (EXTRA_DIST): Add Darwin and AIX files.

        * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
        (TARGET_SRC_POWERPC_AIX): New.
        (POWERPC_AIX): New stanza.
        * Makefile.in: Regenerate.
        * configure.in: Add AIX case.
        * configure: Regenerate.
        * include/ffi.h.in (ffi_abi): Add FFI_AIX.
        * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
        size.  Fix "long double" support.
        (ffi_call): Add FFI_AIX case.
        * src/powerpc/aix.S: New.

From-SVN: r48956

22 years agostd_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.
Gabriel Dos Reis [Thu, 17 Jan 2002 15:46:48 +0000 (15:46 +0000)]
std_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.

       * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
       __glibcpp_double_has_quiet_NaN): Correct mispelling.

From-SVN: r48955

22 years ago* dbxout.c (dbxout_type): Support const and volatile.
Jason Merrill [Thu, 17 Jan 2002 15:35:28 +0000 (10:35 -0500)]
* dbxout.c (dbxout_type): Support const and volatile.

From-SVN: r48954

22 years agoexcept.c (add_partial_entry): Remove backwards compatibility code.
Jason Merrill [Thu, 17 Jan 2002 14:21:54 +0000 (09:21 -0500)]
except.c (add_partial_entry): Remove backwards compatibility code.

        * except.c (add_partial_entry): Remove backwards compatibility code.
        (end_protect_partials): Likewise.

From-SVN: r48951

22 years agodecl.c (begin_constructor_body, [...]): New fns.
Jason Merrill [Thu, 17 Jan 2002 13:07:27 +0000 (08:07 -0500)]
decl.c (begin_constructor_body, [...]): New fns.

        * decl.c (begin_constructor_body, begin_destructor_body): New fns.
        (begin_function_body): Call them and keep_next_level.
        * init.c (emit_base_init): Call keep_next_level.
        * semantics.c (setup_vtbl_ptr): Lose.
        * cp-tree.h (struct cp_language_function): Remove vtbls_set_up_p.
        (vtbls_set_up_p): Lose.
        * pt.c (tsubst_expr, CTOR_INITIALIZER): Call emit_base_init.
        * method.c (do_build_copy_constructor): Likewise.
        (synthesize_method): Call finish_mem_initializers.
        * parse.y (nodecls): Likewise.

From-SVN: r48948

22 years agoerror.c (dump_type_suffix): Print the exception specs before recursing.
Jason Merrill [Thu, 17 Jan 2002 12:54:36 +0000 (07:54 -0500)]
error.c (dump_type_suffix): Print the exception specs before recursing.

        * error.c (dump_type_suffix): Print the exception specs before
        recursing.
        (dump_function_decl): Here, too.

        * cp-tree.h (TMPL_PARMS_DEPTH): Cast to signed HOST_WIDE_INT.

From-SVN: r48947

22 years agoia64.md (prologue_use): New.
Jakub Jelinek [Thu, 17 Jan 2002 12:07:58 +0000 (13:07 +0100)]
ia64.md (prologue_use): New.

* config/ia64/ia64.md (prologue_use): New.
* config/ia64/ia64.c (ia64_expand_prologue): Use
gen_prologue_use instead of gen_rtx_USE.
(group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
as CODE_FOR_pred_rel_mutex.
(ia64_sched_reorder2): Likewise.

* gcc.c-torture/compile/20020116-1.c: New test.

From-SVN: r48946

22 years agoctype_noninline.h: Fix.
Andreas Tobler [Thu, 17 Jan 2002 09:56:42 +0000 (10:56 +0100)]
ctype_noninline.h: Fix.

2002-01-17  Andreas Tobler  <toa@pop.agri.ch>

* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.

From-SVN: r48945

22 years agoDaily bump.
GCC Administrator [Thu, 17 Jan 2002 08:16:32 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48943

22 years agor3900.h: Reformat.
Eric Christopher [Thu, 17 Jan 2002 07:53:56 +0000 (07:53 +0000)]
r3900.h: Reformat.

2002-01-16  Eric Christopher  <echristo@redhat.com>

* config/mips/r3900.h: Reformat.
(SUBTARGET_CPP_SIZE_SPEC): Remove.
* config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
* config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
(SUBTARGET_CPP_SIZE_SPEC): Rewrite.
* config/mips/t-elf: Remove mips3 multilib.

From-SVN: r48942

22 years agoacinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LD...
David Edelsohn [Thu, 17 Jan 2002 07:33:29 +0000 (07:33 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LDFLAGS.

2002-01-16  David Edelsohn  <dje@watson.ibm.com>

* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r48941

22 years agoMakefile.am (c_base_headers_rename): New.
Benjamin Kosnik [Thu, 17 Jan 2002 07:18:33 +0000 (07:18 +0000)]
Makefile.am (c_base_headers_rename): New.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (c_base_headers_rename): New.
(c_base_headers_extra): New.
(stamp-c_base): Modify.
(install-data-local): Use both.
* include/Makefile.in: Regenerate.
* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c/std_*: Here.
* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c_std/std_*: Here.

Alexandre Oliva  <aoliva@redhat.com>
* include/Makefile.am (.PRECIOUS): Add rule.
* include/Makefile.in: Regenerate.

From-SVN: r48940

22 years agostl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.
Benjamin Kosnik [Thu, 17 Jan 2002 03:59:42 +0000 (03:59 +0000)]
stl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/bits/stl_iterator.h (reverse_iterator::_M_current):
Deuglify, should be current.
(back_insert_iterator::_M_container): Deuglify, should be container.
(front_insert_iterator::_M_container): Same.
(insert_iterator::_M_container): Same.
* testsuite/24_iterators/reverse_iterator.cc: Add check.
* testsuite/24_iterators/back_insert_iterator.cc: Add check.
* testsuite/24_iterators/front_insert_iterator.cc: Same.
* testsuite/24_iterators/insert_iterator.cc: Same.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>::classic_table): Make
static.
(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/aix/bits/ctype_noninline.h: Same.

Testcase by Dietmar K�hl via Peter Schmid
* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
classic_table().

Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
From-SVN: r48938

22 years agolinux.h: Include "mips/abi64.h".
H.J. Lu [Thu, 17 Jan 2002 01:37:52 +0000 (01:37 +0000)]
linux.h: Include "mips/abi64.h".

2002-01-16  H.J. Lu <hjl@gnu.org>

* config/mips/linux.h: Include "mips/abi64.h".

From-SVN: r48937

22 years agot-linux: New.
H.J. Lu [Thu, 17 Jan 2002 01:22:02 +0000 (01:22 +0000)]
t-linux: New.

2002-01-16  H.J. Lu <hjl@gnu.org>

* config/mips/t-linux: New.

* config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.

* config/mips/linux.h: Don't include "gofast.h".
(INIT_SUBTARGET_OPTABS): Removed.

From-SVN: r48936

22 years agoh8300-protos.h: Replace emit_a_shift with output_a_shift.
Kazu Hirata [Thu, 17 Jan 2002 00:25:29 +0000 (00:25 +0000)]
h8300-protos.h: Replace emit_a_shift with output_a_shift.

* config/h8300/h8300-protos.h: Replace emit_a_shift with
output_a_shift.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.md: Likewise.

From-SVN: r48935

22 years agoCanvas.java (serialVersionUID): New constant.
Tom Tromey [Wed, 16 Jan 2002 23:56:25 +0000 (23:56 +0000)]
Canvas.java (serialVersionUID): New constant.

* java/awt/Canvas.java (serialVersionUID): New constant.
Updated copyright.  Added javadoc from Classpath.
* java/awt/ItemSelectable.java: Replaced with Classpath version.

From-SVN: r48934

22 years agoCheckboxGroup.java: Merged with Classpath.
Tom Tromey [Wed, 16 Jan 2002 23:40:04 +0000 (23:40 +0000)]
CheckboxGroup.java: Merged with Classpath.

* java/awt/CheckboxGroup.java: Merged with Classpath.
* java/awt/Checkbox.java: Merged with Classpath.

From-SVN: r48933

22 years agoDimension.java: Updated copyright.
Tom Tromey [Wed, 16 Jan 2002 23:10:11 +0000 (23:10 +0000)]
Dimension.java: Updated copyright.

* java/awt/Dimension.java: Updated copyright.  Added javadoc from
Classpath.
* java/awt/Point.java: Updated copyright.

From-SVN: r48932

22 years agogennews (files): Replace egcs-1.1/egcs-1.1.2.html...
Gerald Pfeifer [Wed, 16 Jan 2002 22:42:13 +0000 (23:42 +0100)]
gennews (files): Replace egcs-1.1/egcs-1.1.2.html...

* gennews (files): Replace egcs-1.1/egcs-1.1.2.html,
egcs-1.1/egcs-1.1.1.html, and egcs-1.1/egcs-1.1.html by
egcs-1.1/index.html.

From-SVN: r48930

22 years agoPoint.java (toString): Use getClass().getName().
Tom Tromey [Wed, 16 Jan 2002 21:35:51 +0000 (21:35 +0000)]
Point.java (toString): Use getClass().getName().

* java/awt/Point.java (toString): Use getClass().getName().
Added javadoc.

From-SVN: r48929

22 years agoMore for PR java/5365:
Tom Tromey [Wed, 16 Jan 2002 21:18:36 +0000 (21:18 +0000)]
More for PR java/5365:

* gjavah.c (print_stub_or_jni): Cause exception to be thrown by
default.
(process_file): Generate include for
java.lang.UnsupportedOperationExceptions.

From-SVN: r48928

22 years agoh8300.md (pushqi1_h8300): Use a tab instead of spaces after an opcode name.
Kazu Hirata [Wed, 16 Jan 2002 21:06:31 +0000 (21:06 +0000)]
h8300.md (pushqi1_h8300): Use a tab instead of spaces after an opcode name.

* config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
spaces after an opcode name.
(pushqi1_h8300hs): Likewise.
(pushhi1_h8300hs): Likewise.

From-SVN: r48927

22 years agoextend.texi: Replace "option" with "attribute" appropriately.
Kazu Hirata [Wed, 16 Jan 2002 21:00:15 +0000 (21:00 +0000)]
extend.texi: Replace "option" with "attribute" appropriately.

* doc/extend.texi: Replace "option" with "attribute"
appropriately.

From-SVN: r48926

22 years agoIdentityHashMap.java (IdentityHashMap): Removed commented code.
Tom Tromey [Wed, 16 Jan 2002 20:56:38 +0000 (20:56 +0000)]
IdentityHashMap.java (IdentityHashMap): Removed commented code.

* java/util/IdentityHashMap.java (IdentityHashMap): Removed
commented code.
(hash): Correctly compute initial value for `h'.

From-SVN: r48925

22 years agoconfig.guess: Import from master sources, rev 1.225.
H.J. Lu [Wed, 16 Jan 2002 20:34:20 +0000 (20:34 +0000)]
config.guess: Import from master sources, rev 1.225.

2002-01-16  H.J. Lu  (hjl@gnu.org)

* config.guess: Import from master sources, rev 1.225.
* config.sub: Import from master sources, rev 1.238.

From-SVN: r48924

22 years agosignbitl.c: Copyright years as list, not range.
Benjamin Kosnik [Wed, 16 Jan 2002 19:57:39 +0000 (19:57 +0000)]
signbitl.c: Copyright years as list, not range.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* libmath/signbitl.c: Copyright years as list, not range.
* libmath/Makefile.am: Same.
* libmath/Makefie.in: Regenerate.
* libmath/signbit.c: Same.
* libmath/nan.c: Same.
* libmath/copysignf.c: Same.
* libmath/signbitf.c: Same.
* testsuite/22_locale/money_get_members_char.cc: Same.
* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
* testsuite/22_locale/money_put_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
* testsuite/22_locale/time_get_members_char.cc: Same.
* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
* testsuite/22_locale/time_put_members_char.cc: Same.
* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
* testsuite/21_strings/nonmember.cc: Same.
* testsuite/21_strings/compare.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/ios_manip_basefield.cc: Same.
* testsuite/27_io/ios_manip_fmtflags.cc: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/generic_shadow.h: Same.
* include/bits/gslice_array.h: Same.
* include/bits/gslice.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/slice_array.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/streambuf_iterator.h: Same.
* include/bits/valarray_array.tcc: Same.
* include/bits/valarray_meta.h: Same.
* include/bits/valarray_array.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_base.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_base.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_base.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_base.h: Same.

* libsupc++/tinfo.h: Tweaks.

From-SVN: r48922

22 years ago* MAINTAINERS (Write After Approval): Remove myself.
Kazu Hirata [Wed, 16 Jan 2002 19:37:27 +0000 (19:37 +0000)]
* MAINTAINERS (Write After Approval): Remove myself.

From-SVN: r48921

22 years agoalpha.c (some_small_symbolic_mem_operand): Look into (and:DI () (const_int -8)).
Jakub Jelinek [Wed, 16 Jan 2002 19:01:31 +0000 (20:01 +0100)]
alpha.c (some_small_symbolic_mem_operand): Look into (and:DI () (const_int -8)).

* config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
(and:DI () (const_int -8)).
(split_small_symbolic_mem_operand): Split
(mem (and:DI () (const_int -8)).

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

From-SVN: r48920

22 years agore PR target/5309 (Infinite loop in cc1 on sparcv9-sun-solaris2.8 with -m64, short...
Jakub Jelinek [Wed, 16 Jan 2002 17:44:24 +0000 (18:44 +0100)]
re PR target/5309 (Infinite loop in cc1 on sparcv9-sun-solaris2.8 with -m64, short example)

PR target/5309:
        * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
same way as TYPE_IMUL.
(ultrasparc_sched_reorder): Likewise.
* config/sparc/sparc.md (type): Add comment to update
ultrasparc_sched_reorder when making changes.

* gcc.dg/ultrasp4.c: New test.

From-SVN: r48917

22 years agoinvoke.texi: Change the dump file name of block reordering pass from 28.bbro to 29...
Kazu Hirata [Wed, 16 Jan 2002 17:23:32 +0000 (17:23 +0000)]
invoke.texi: Change the dump file name of block reordering pass from 28.bbro to 29.bbro.

* doc/invoke.texi: Change the dump file name of block
reordering pass from 28.bbro to 29.bbro.
Mention -dk option.

From-SVN: r48916

22 years ago* i386.md (minsf splitter): Fix pasto.
Jan Hubicka [Wed, 16 Jan 2002 17:16:54 +0000 (18:16 +0100)]
* i386.md (minsf splitter): Fix pasto.

From-SVN: r48915

22 years agoDo not accept the IP register as a DFmode operand
Nick Clifton [Wed, 16 Jan 2002 16:54:21 +0000 (16:54 +0000)]
Do not accept the IP register as a DFmode operand

From-SVN: r48914

22 years ago* java/awt/Label.java: Merged with Classpath.
Tom Tromey [Wed, 16 Jan 2002 16:50:03 +0000 (16:50 +0000)]
* java/awt/Label.java: Merged with Classpath.

From-SVN: r48913

22 years agoAdd REG_MAYBE_DEAD note to frame pointer initialisation instruction.
Nick Clifton [Wed, 16 Jan 2002 16:37:20 +0000 (16:37 +0000)]
Add REG_MAYBE_DEAD note to frame pointer initialisation instruction.

From-SVN: r48912

22 years ago* .cvsignore: Add man pages.
Andreas Jaeger [Wed, 16 Jan 2002 16:08:54 +0000 (17:08 +0100)]
* .cvsignore: Add man pages.

From-SVN: r48911

22 years agoTypo.
Jakub Jelinek [Wed, 16 Jan 2002 15:39:56 +0000 (16:39 +0100)]
Typo.

From-SVN: r48910

22 years agore PR target/5357 (SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes...
Jakub Jelinek [Wed, 16 Jan 2002 15:21:51 +0000 (16:21 +0100)]
re PR target/5357 (SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE)

PR target/5357:
* config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
MASK_V8 being both set.

* gcc.dg/20020116-2.c: New test.

From-SVN: r48909

22 years agos390.c (s390_emit_prologue): Do not emit USE insn for GOT register; add REG_MAYBE_DEA...
Ulrich Weigand [Wed, 16 Jan 2002 14:15:25 +0000 (14:15 +0000)]
s390.c (s390_emit_prologue): Do not emit USE insn for GOT register; add REG_MAYBE_DEAD notes instead.

* config/s390/s390.c (s390_emit_prologue): Do not emit USE
insn for GOT register; add REG_MAYBE_DEAD notes instead.
config/s390/s390.md (call, call_value): Add GOT register to
CALL_INSN_FUNCTION_USAGE where needed.
(call_exp, call_value_exp): New.

From-SVN: r48908

22 years agoGeneral formatting tidy up.
Nick Clifton [Wed, 16 Jan 2002 12:25:53 +0000 (12:25 +0000)]
General formatting tidy up.

From-SVN: r48907

22 years agocalls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an...
Graham Stott [Wed, 16 Jan 2002 09:24:00 +0000 (09:24 +0000)]
calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx"...

        * calls.c (try_to_integrate): Use "(size_t)" intermediate
        cast and when casting an integer literal to "rtx" pointer.
        (expand_call): Likewise.
        * flow.c (try_pre_increment): Likewise.
        (find_use_as_address): Likewise.
        * integrate.c (expand_iline_function): Likewise.
        * regmove.c (try_auto_increment): Likewise.

From-SVN: r48906

22 years agosched-rgn.c (passed): Use sbitmap_free.
Graham Stott [Wed, 16 Jan 2002 08:43:21 +0000 (08:43 +0000)]
sched-rgn.c (passed): Use sbitmap_free.

        * sched-rgn.c (passed): Use sbitmap_free.
        (header): Likewise.
        (inner): Likewise.
        (in_queue): Likewise.
        (in_stack): Likewise.

From-SVN: r48905

22 years agoDaily bump.
GCC Administrator [Wed, 16 Jan 2002 08:16:13 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48903

22 years agonum_put_members_wchar_t.cc (test02): Same.
Benjamin Kosnik [Wed, 16 Jan 2002 06:11:41 +0000 (06:11 +0000)]
num_put_members_wchar_t.cc (test02): Same.

2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
* testsuite/22_locale/ctype_members_char.cc: Tweak.

From-SVN: r48902

22 years agonum_put_members_wchar_t.cc (test02): Same.
Benjamin Kosnik [Wed, 16 Jan 2002 06:06:59 +0000 (06:06 +0000)]
num_put_members_wchar_t.cc (test02): Same.

2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.

From-SVN: r48901

22 years ago* java/awt/AWTPermission.java: Updated copyright.
Tom Tromey [Wed, 16 Jan 2002 05:48:49 +0000 (05:48 +0000)]
* java/awt/AWTPermission.java: Updated copyright.

From-SVN: r48900

22 years agoflow.c (propagate_one_insn): Change to use fatal_insn.
Eric Christopher [Wed, 16 Jan 2002 05:39:10 +0000 (05:39 +0000)]
flow.c (propagate_one_insn): Change to use fatal_insn.

2002-01-15  Eric Christopher  <echristo@redhat.com>

* flow.c (propagate_one_insn): Change to use fatal_insn.

From-SVN: r48899