OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * config/i386/i386.md: Make sure cmpstr peepholes do not
mmitchel [Fri, 25 May 2001 09:09:17 +0000 (09:09 +0000)]
* config/i386/i386.md: Make sure cmpstr peepholes do not
affect liveness information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42568 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 25 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42566 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Fri, 25 May 2001 07:14:10 +0000 (07:14 +0000)]
2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>

* init.c (__objc_send_message_in_list): When setting a new entry
in __objc_load_methods use the method name as key, not the method
IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42562 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago(__objc_send_message_in_list): When setting a new entry in
ovidiu [Fri, 25 May 2001 07:12:17 +0000 (07:12 +0000)]
(__objc_send_message_in_list): When setting a new entry in
__objc_load_methods use the method name as key, not the method IMP
(reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42561 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-typeck.c (digest_init): Issue error messages about
mmitchel [Fri, 25 May 2001 06:34:16 +0000 (06:34 +0000)]
* c-typeck.c (digest_init): Issue error messages about
invalid constants, not warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42560 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 25 May 2001 04:24:12 +0000 (04:24 +0000)]
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2830
* testsuite/21_strings/inserters_extractors.cc (test09): New test.
* include/bits/ostream.tcc: Format to match istream.tcc.
(operator<<(basic_ostream __out, const basic_string __s)): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42557 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 25 May 2001 02:10:55 +0000 (02:10 +0000)]
2001-05-24  Phil Edwards  <pme@sources.redhat.com>

* libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
malloc with std:: .
(__cxa_free_exception):  Likewise with free.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42556 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/c_std/bin/std_cstring.h: #define away all global
mmitchel [Fri, 25 May 2001 01:33:21 +0000 (01:33 +0000)]
* include/c_std/bin/std_cstring.h: #define away all global
functions we will redeclare in namespace `std'.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
std::memset, instead of memset.
* testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
not plain `strcmp'.
* testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
plain `strcpy'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42555 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago G++ no longer defines builtins that do not begin with __builtin.
mmitchel [Fri, 25 May 2001 01:30:57 +0000 (01:30 +0000)]
G++ no longer defines builtins that do not begin with __builtin.
* g++.old-deja/g++.abi/bitfields.C: Update accordingly.
* g++.old-deja/g++.brendand/misc13.C: Likewise.
* g++.old-deja/g++.law/builtin1.C: Likewise.
* g++.old-deja/g++.law/cvt2.C: Likewise.
* g++.old-deja/g++.mike/net5.C: Likewise.
* g++.old-deja/g++.other/builtins1.C: Likewise.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.
* g++.old-deja/g++.other/inline8.C: Likewise.
* g++.old-deja/g++.robertl/eb39.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42554 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * invoke.texi (-fno-builtin): Document that this is always on
mmitchel [Fri, 25 May 2001 01:27:08 +0000 (01:27 +0000)]
* invoke.texi (-fno-builtin): Document that this is always on
in C++.

* decl.c (duplicate_decls): Tidy.
(init_decl_processing): Always set flag_no_builtin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42553 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 24 May 2001 23:09:53 +0000 (23:09 +0000)]
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2832
* include/bits/basic_ios.tcc: Small tweak.
* include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
ctors and dtors, and rdbuf settings.
(ofstream): Same.
(fstream): Same.
* include/bits/std_sstream.h: Same, but for stringstream classes.
* testsuite/27_io/ostringstream_members.cc: New.
* testsuite/27_io/stringstream_members.cc: New.
* testsuite/27_io/fstream_members.cc: New.
* testsuite/27_io/ifstream_members.cc: Add test.
* testsuite/27_io/istringstream_members.cc: Add test.
* testsuite/27_io/ofstream_members.cc: Add test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42547 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:16:41 +0000 (21:16 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42546 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:16:36 +0000 (21:16 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42545 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:09:05 +0000 (21:09 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (output_return_instruction): Correctly handle
interworking and interrupt functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42543 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:06:36 +0000 (21:06 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
-m{no-}sched-prolog.  Fix typos and improve formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42542 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:06:35 +0000 (21:06 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
-m{no-}sched-prolog.  Fix typos and improve formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42541 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 20:54:59 +0000 (20:54 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* invoke.texi (ARM Options): Improve wording slightly.  Add
documentation for more options, including those for Thumb mode.
Don't mention options that don't exist or are unimplemented.
(Thumb Options): Delete; merged into above section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42539 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/bits/c++config(__NO_MATH_INLINES): Move to...
gdr [Thu, 24 May 2001 20:51:33 +0000 (20:51 +0000)]
  * include/bits/c++config(__NO_MATH_INLINES): Move to...
      * config/os/gnu-linux/bits/os_defines.h: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42538 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
geoffk [Thu, 24 May 2001 20:15:13 +0000 (20:15 +0000)]
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42534 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/bits/c++config (__NO_MATH_INLINES): New macro.
gdr [Thu, 24 May 2001 18:38:20 +0000 (18:38 +0000)]
  * include/bits/c++config (__NO_MATH_INLINES): New macro.
      * testsuite/26_numerics/fabs_inline.cc (main): New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42533 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/natString.cc (init): Throw
tromey [Thu, 24 May 2001 18:06:03 +0000 (18:06 +0000)]
* java/lang/natString.cc (init): Throw
ArrayIndexOutOfBoundsException.
(getChars): Likewise.
(getBytes): Likewise.
(valueOf): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42531 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Only allow hash synchronization when POSIX threads
tromey [Thu, 24 May 2001 18:03:47 +0000 (18:03 +0000)]
* configure.in: Only allow hash synchronization when POSIX threads
are enabled.
* java/lang/natObject.cc (alloc_heavy): Properly find `init' field
of sync info object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42530 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
hubicka [Thu, 24 May 2001 17:48:42 +0000 (17:48 +0000)]
* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
fix hard register simplification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42529 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
mmitchel [Thu, 24 May 2001 15:59:43 +0000 (15:59 +0000)]
* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
of just copying CPP_CPU_SPEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42528 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.c (incdec_operand): Accept only 1 and -1.
hubicka [Thu, 24 May 2001 13:59:09 +0000 (13:59 +0000)]
* i386.c (incdec_operand): Accept only 1 and -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42527 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)]
cp:
PR c++/2184
* decl2.c (do_local_using_decl): Push the decls, even in a
template.
testsuite:
* g++.old-deja/g++.pt/using1.C: Adjust.
* g++.old-deja/g++.pt/using2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42526 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
bryce [Thu, 24 May 2001 07:28:39 +0000 (07:28 +0000)]
* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
(libgcjgc_la_SOURCES): Remove typo.
* tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42524 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 24 May 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42523 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Rebuilt.
tromey [Thu, 24 May 2001 05:43:46 +0000 (05:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42521 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Revert patch of 2001-05-21:
tromey [Thu, 24 May 2001 05:41:53 +0000 (05:41 +0000)]
Revert patch of 2001-05-21:
* Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files.
(libgcj_la_LIBADD): Likewise.
(libgcjx_la_DEPENDENCIES): Removed x_nat_files.
(libgcjx_la_LIBADD): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42520 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-23 Tom Tromey <tromey@redhat.com>
tromey [Thu, 24 May 2001 05:40:37 +0000 (05:40 +0000)]
2001-05-23  Tom Tromey  <tromey@redhat.com>

* posix-threads.cc (_Jv_self_cache): Renamed from self_cache.
* gcj/Makefile.in: Rebuilt.
* gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h.
* gcj/javaprims.h: Include gcj/libgcj-config.h.
* gcj/libgcj-config.h.in: New file.
* libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@.
* configure: Rebuilt.
* configure.in: Enable hash synchronization by default on some
platforms.
(HASH_SYNC_SPEC): New subst.
(AC_CONFIG_HEADER): Added gcj/libgcj-config.h.
Correctly use `test -z' instead of `test -n' in a couple places.
(JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to
LIBGCJ_CXXFLAGS.
* configure.host (enable_java_net_default): Initialize.
(enable_hash_synchronization_default): New variable.

2001-05-23  Hans Boehm <Hans_Boehm@hp.com>

* boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash
synchronization in use.
(_Jv_MarkArray): Likewise.
(_Jv_AllocBytes): Don't check return result.
(handle_out_of_memory): New function.
(_Jv_InitGC): Set GC_oom_fn.
(trace_one_vtable): New global.
(_Jv_AllocTraceOne): New function.
* configure.in: Added --enable-hash-synchronization.
* defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc,
java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked.
* nogc.cc (_Jv_AllocObj): Throw out-of-memory.
(_Jv_AllocArray): Likewise.
(_Jv_AllocBytes): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_AllocTraceOne): Likewise.
* posix-threads.cc (_Jv_ThreadRegister): Handle slow
pthread_self().
(self_cache): New global.
(_Jv_ThreadSelf_out_of_line): New function.
* prims.cc (_Jv_AllocBytesChecked): Removed.
(_Jv_ThrowNoMemory): New function.
(_Jv_AllocObject): Don't check for null return from allocator.
(_Jv_NewObjectArray): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_NewPrimArray): Allocate pointer-free object if possible.
* include/javaprims.h (_Jv_AllocPtrFreeObject): Declare.
(_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value.
* include/boehm-gc.h (_Jv_AllocObj): Define.
(_Jv_AllocPtrFreeObj): Define.
* include/jvm.h (_Jv_AllocPtrFreeObj): Declare.
(_Jv_ThrowNoMemory): Declare.
(_Jv_AllocTraceOne): Declare.
(_Jv_AllocBytesChecked): Removed.
* include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock,
_Jv_MutexUnlock): Handle LOCK_DEBUG.
(_Jv_ThreadSelf): Handle case where system pthread_self() is
slow.
* java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as
friend.
* java/lang/Object.h (sync_info): Conditional upon presence of
hash synchronization.
* java/lang/natObject.cc: Much new code to handle thin locks and
hash synchronization.
* java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free
object if possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42519 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoThis is still broken. Do not use it yet
korbb [Thu, 24 May 2001 04:37:54 +0000 (04:37 +0000)]
This is still broken.  Do not use it yet

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42518 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* Makefile.in: Move many of the *_H definitions eariler in the
dj [Wed, 23 May 2001 22:58:41 +0000 (22:58 +0000)]
* Makefile.in: Move many of the *_H definitions eariler in the
file, so that rules in t-* files that use them for
dependencies will work in a parallel build.
* config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42516 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
rth [Wed, 23 May 2001 22:53:54 +0000 (22:53 +0000)]
    * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42515 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpp.texi: Update for handling of charconsts.
neil [Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)]
* cpp.texi: Update for handling of charconsts.
* cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
diagnostics.  Skip to the end if the UCS is too short.
(cpp_interpret_charconst): Long charconsts issue a warning
not an error.

* gcc.dg/cpp/charconst.c: New tests.
* gcc.dg/cpp/escape.c: New tests.
* gcc.dg/cpp/escape-1.c: New tests.
* gcc.dg/cpp/escape-2.c: New tests.
* gcc.dg/cpp/ucs.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42514 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (alpha-linux): Require binutils 2.11.
rth [Wed, 23 May 2001 21:33:30 +0000 (21:33 +0000)]
    * doc/install.texi (alpha-linux): Require binutils 2.11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42513 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.misc-tests/linkage.exp: Pass appropriate flags to
mmitchel [Wed, 23 May 2001 19:53:00 +0000 (19:53 +0000)]
* gcc.misc-tests/linkage.exp:  Pass appropriate flags to
native compiler for irix6.5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42511 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-lex.c (read_escape, read_ucs): Delete.
neil [Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)]
* c-lex.c (read_escape, read_ucs): Delete.
(lex_string): Use cpp_parse_escape.
* cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
if not C++ or not C99.  Warn if traditional.
(parse_escape): Rename cpp_parse_escape.  Make the bitmask
unsigned.  Warn for out-of-range escape sequences here.
Update to use maybe_read_ucs.
(cpp_interpret_charconst):  Don't warn here.
* cpplib.h (cpp_parse_escape): New exported function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42509 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * extend.texi (Attribute Syntax): Clarify application of
jsm28 [Wed, 23 May 2001 18:44:13 +0000 (18:44 +0000)]
* extend.texi (Attribute Syntax): Clarify application of
attributes to parameters declared as functions or arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42507 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agogcc/java:
jsm28 [Wed, 23 May 2001 18:10:30 +0000 (18:10 +0000)]
gcc/java:
* jv-scan.c (version): Update copyright year.

libjava:
* gij.cc (version): Update copyright year.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42505 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c (dbxout_type_methods): Do still group methods by name.
jason [Wed, 23 May 2001 17:37:50 +0000 (17:37 +0000)]
    * dbxout.c (dbxout_type_methods): Do still group methods by name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42504 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix typo applying previous patch.
green [Wed, 23 May 2001 17:24:49 +0000 (17:24 +0000)]
Fix typo applying previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42503 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * POTFILES.in: Remove config/rs6000/xm-darwin.h and
zack [Wed, 23 May 2001 17:22:19 +0000 (17:22 +0000)]
* POTFILES.in: Remove config/rs6000/xm-darwin.h and
config/pa/pa-gas.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42502 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoMissed hunk from old GCJ_FOR_TARGET patch.
green [Wed, 23 May 2001 17:19:40 +0000 (17:19 +0000)]
Missed hunk from old GCJ_FOR_TARGET patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42501 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-23 Zack Weinberg <zackw@stanford.edu>
zack [Wed, 23 May 2001 17:15:07 +0000 (17:15 +0000)]
2001-05-23  Zack Weinberg  <zackw@stanford.edu>

* diagnostic.c (vnotice): Kill.
(fnotice): Call vfprintf directly.
(diagnostic_for_decl, output_do_verbatim, output_verbatim,
verbatim, set_diagnostic_context): Rename string argument to
indicate that it is run through gettext.
(vbuild_message_string, build_message_string, output_do_printf):
Rename string argument to indicate that it is NOT run through
gettext.
(output_printf, diagnostic_for_decl, fatal_io_error, sorry,
output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
Run msgid argument through gettext.
(default_print_error_function): Run constant strings through
gettext when nothing else will.
(fatal_error, internal_error, error_recursion): Use fnotice.
Present complete sentences to gettext.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42498 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix cross builds.
green [Wed, 23 May 2001 17:13:27 +0000 (17:13 +0000)]
Fix cross builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42497 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoWed May 23 2001 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Wed, 23 May 2001 16:15:03 +0000 (16:15 +0000)]
Wed May 23 2001  Jeffrey D. Oldham  <oldham@codesourcery.com>

* lib/g++.exp (g++_include_flags): Use args to compute
  get_multilibs.
(g++_link_flags): Likewise.
(g++_init): Pass TOOL_OPTIONS as arguments to two above functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42495 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc_update (UPDATE_OPTIONS): Add -d to the default settings.
gerald [Wed, 23 May 2001 12:15:03 +0000 (12:15 +0000)]
* gcc_update (UPDATE_OPTIONS): Add -d to the default settings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42493 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
mmitchel [Wed, 23 May 2001 07:56:45 +0000 (07:56 +0000)]
* jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42491 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 23 May 2001 07:17:19 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42490 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 23 May 2001 07:05:14 +0000 (07:05 +0000)]
2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2841
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
ld_library_path.
(libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
(libstdc++-v3-finish): Remove.
(libstdc++-v3_exit): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42487 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * function.c (expand_function_start): Always use a pseudo
rth [Wed, 23 May 2001 07:01:43 +0000 (07:01 +0000)]
    * function.c (expand_function_start): Always use a pseudo
        for the function result value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42486 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
rth [Wed, 23 May 2001 06:54:21 +0000 (06:54 +0000)]
    * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
        section pointer alignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42484 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (alpha-linux): Require binutils >= 2.10.
rth [Wed, 23 May 2001 06:41:48 +0000 (06:41 +0000)]
    * doc/install.texi (alpha-linux): Require binutils >= 2.10.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42483 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * optimize.c (initialize_inlined_parameters): Don't set
mmitchel [Wed, 23 May 2001 02:14:51 +0000 (02:14 +0000)]
* optimize.c (initialize_inlined_parameters): Don't set
TREE_READONLY for a VAR_DECL taking the place of an inlined
PARM_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42480 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-22 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 23 May 2001 02:00:05 +0000 (02:00 +0000)]
2001-05-22  Phil Edwards  <pme@sources.redhat.com>

* docs/html/documentation.html:  Point to doxygen output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42477 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
rth [Wed, 23 May 2001 01:26:01 +0000 (01:26 +0000)]
    * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
        of __USER_LABEL_PREFIX__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42475 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
rth [Tue, 22 May 2001 23:01:33 +0000 (23:01 +0000)]
    * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
        (__deregister_frame_info_bases): New.
        * unwind-dw2-fde.h: Declare it.
        * libgcc-std.ver: Export it.
        * crtstuff.c (__do_global_dtors_aux): Call it if we would have
        called __register_frame_info_bases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42473 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 22 May 2001 21:43:33 +0000 (21:43 +0000)]
2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Update last-changed date.
* news.texi: Update copyright years, last-changed date.
* bugs.texi: Update copyright years, last-changed date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42471 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
ljrittle [Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)]
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
instead of #elif (which is OK for this case but not in general).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42469 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 22 May 2001 20:32:16 +0000 (20:32 +0000)]
2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Update maintenance information for
GNU Fortran.  Remove all mention of -fdebug-kludge.
* news.texi: Make more news in 0.5.26 `user visible
changes'. Acknowledge work by important contributors.
* bugs.texi: Remove all mention of -fdebug-kludge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42468 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-22 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 22 May 2001 20:04:58 +0000 (20:04 +0000)]
2001-05-22  Andrew MacLeod  <amacleod@redhat.com>

* builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
* config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
* config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
"r2" to the assembly file. Only issue allocs with non-zero parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42467 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
jason [Tue, 22 May 2001 19:42:30 +0000 (19:42 +0000)]
    * class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
        * tree.c (cp_valid_lang_attribute): Warn about use of com_interface
        attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42465 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/freebsd.h (LIB_SPEC): Key the exact setting to
ljrittle [Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)]
* config/freebsd.h (LIB_SPEC): Key the exact setting to
configure-time options and target version of FreeBSD.  Set-up
to match architectural change in threading support.  Correctly
report when -pthread option is not supported by configure-time
options.
(FBSD_CPP_PREDEFINES): Move from architecture-specific files
and extend to encode target version number in run-time setting
of __FreeBSD__ macro to match the system compiler.
(CPP_PREDEFINES): Likewise.
(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.

* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42464 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (the unlabeled system switch statement): Add
ljrittle [Tue, 22 May 2001 19:23:33 +0000 (19:23 +0000)]
* config.gcc (the unlabeled system switch statement): Add
generic configuration section to handle *-*-freebsd*.  Also,
to match the system compiler, default to threading support (it
may be disabled with the standard --disable-threads
configuration-time switch).
(i[34567]86-*-freebsd* in machine-specific section): Use it.
(alpha*-*-freebsd* in machine-specific section): Likewise.

* config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
* config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
* config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
* config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
* config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42463 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
ljrittle [Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)]
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
-pthread instead setting macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42461 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 22 May 2001 18:48:19 +0000 (18:48 +0000)]
2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (static_fail): Remove S_FLAG decoration on output.

* include/bits/std_sstream.h (stringbuf::setbuf): Require both
arguments to be non-null.
* include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
try allocations if allocated size is greater than zero.
(filebuf::_M_filebuf_init): Change to
(filebuf::_M_allocate_file): Which is what it does now.
(filebuf::_M_allocate_bufers): Change to
(filebuf::_M_allocate_internal_buffer): This, and create
(filebuf::_M_allocate_pback_buffer): New.
(filebuf::_M_destroy_internal_buffer): New.
(filebuf::_M_buf_allocated): New data member.
(filebuf::setbuf): Use new logic, allow use of external buffer.
* testsuite/27_io/stringbuf_virtuals.cc: New file.
* testsuite/27_io/filebuf_virtuals.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42458 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * parse.y: Refer to compound literals as such, not as
jsm28 [Tue, 22 May 2001 17:58:43 +0000 (17:58 +0000)]
* parse.y: Refer to compound literals as such, not as
constructor-expressions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42455 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * crtstuff.c (__register_frame_info_bases): Declare.
rth [Tue, 22 May 2001 16:57:40 +0000 (16:57 +0000)]
    * crtstuff.c (__register_frame_info_bases): Declare.
        (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
        (__do_global_dtors_aux, __do_global_dtors): Streamline.

        * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
        (CRT_GET_RFIB_DATA): New.
        * config/i386/sysv4.h: Likewise.
        * config/i386/sco5.h: Likewise.
        (ASM_PREFERRED_EH_DATA_FORMAT): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42453 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.c (read_string): Break out from ...
rth [Tue, 22 May 2001 16:42:41 +0000 (16:42 +0000)]
    * rtl.c (read_string): Break out from ...
        (read_rtx): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42452 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Specific): Remove a bogus and duplicate part
gerald [Tue, 22 May 2001 14:54:01 +0000 (14:54 +0000)]
* doc/install.texi (Specific): Remove a bogus and duplicate part
copied from the end of the document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42450 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix ia64 build problems
bernds [Tue, 22 May 2001 14:16:58 +0000 (14:16 +0000)]
Fix ia64 build problems

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42448 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * install.texi: Remove obsolete information on SunOS as well as
gerald [Tue, 22 May 2001 13:14:11 +0000 (13:14 +0000)]
* install.texi: Remove obsolete information on SunOS as well as
i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
(Installing GNU CC on the Sun): Remove section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42447 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* cppfiles.c (remove_component_p): Don't assume lstat/stat will
aoliva [Tue, 22 May 2001 11:57:21 +0000 (11:57 +0000)]
* cppfiles.c (remove_component_p): Don't assume lstat/stat will
keep errno unchanged on success.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42445 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * libI77/Makefile.in (stamp-h): Create in $(objdir) instead
ljrittle [Tue, 22 May 2001 11:16:51 +0000 (11:16 +0000)]
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
of $(srcdir).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42442 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
jsm28 [Tue, 22 May 2001 11:02:17 +0000 (11:02 +0000)]
* c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
once for hexadecimal floats, whether or not they contain a decimal
point.  Don't let the setting of pedantic otherwise affect the
parsing of hexadecimal floats.

testsuite:
* gcc.dg/c90-hexfloat-1.c: Add more tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42440 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
aoliva [Tue, 22 May 2001 10:40:41 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42438 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * README.ACORN: Remove obsolete file.
gerald [Tue, 22 May 2001 10:07:31 +0000 (10:07 +0000)]
* README.ACORN: Remove obsolete file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42436 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (gen_binary): Use swap_commutative_operands_p
rth [Tue, 22 May 2001 07:40:26 +0000 (07:40 +0000)]
    * combine.c (gen_binary): Use swap_commutative_operands_p
        (simplify_comparison): Likewise.
        * expmed.c (emit_store_flag): Likewise.
        * expr.c (compare_from_rtx): Likewise.
        (do_compare_rtx_and_jump): Likewise.
        * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
        if not emitting a branch and operands want swapping.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42433 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
neil [Tue, 22 May 2001 07:23:37 +0000 (07:23 +0000)]
* c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
* stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
(maybe_get_identifier): Update.
* tree.h (make_identifier): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42432 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 22 May 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42430 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (subst): Do not substitute for a register as
rth [Tue, 22 May 2001 06:58:17 +0000 (06:58 +0000)]
    * combine.c (subst): Do not substitute for a register as
        a destination subreg/strict_low_part/zero_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42429 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoImplement invocation interface; don't create new thread for main.
bothner [Tue, 22 May 2001 06:47:48 +0000 (06:47 +0000)]
Implement invocation interface; don't create new thread for main.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42428 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (simplify_comparison): Update op1 after constant
rth [Tue, 22 May 2001 06:46:20 +0000 (06:46 +0000)]
    * combine.c (simplify_comparison): Update op1 after constant
        extension.
        * recog.c (const_int_operand): Accept only constants valid
        for the given mode.
        * genrecog.c: Update comments wrt const_int_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42427 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc_build: Use -d when invoking gcc_update.
mmitchel [Tue, 22 May 2001 06:45:44 +0000 (06:45 +0000)]
* gcc_build: Use -d when invoking gcc_update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42426 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
bothner [Tue, 22 May 2001 06:40:06 +0000 (06:40 +0000)]
* Makefile.am (libgcj_la_DEPENDENCIES):  Add $(nat_files).
(libgcj_la_LIBADD):  Likewise.
(libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD):  Add $(x_nat_files).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42424 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (init_emit_once): Zero unused memory in a
rth [Tue, 22 May 2001 06:29:39 +0000 (06:29 +0000)]
    * emit-rtl.c (init_emit_once): Zero unused memory in a
        CONST_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42423 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
bkoz [Tue, 22 May 2001 04:58:45 +0000 (04:58 +0000)]
2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>

* include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
__glibcpp_memchr.
(strchr): Same, but to __glibcpp_strchr.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42421 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-05-21 Benjamin Kosnik <bkoz@kredhat.com>
bkoz [Tue, 22 May 2001 04:58:14 +0000 (04:58 +0000)]
2001-05-21  Benjamin Kosnik  <bkoz@kredhat.com>

* testsuite/21_strings/c_strings.cc (main): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42420 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcj/javaprims.h (_Jv_FormatInt): New declaration.
bothner [Tue, 22 May 2001 04:38:37 +0000 (04:38 +0000)]
* gcj/javaprims.h (_Jv_FormatInt):  New declaration.
* java/lang/natString.cc (_JvFormatInt):  New primitive, with logic
taken from old Integer.toString code.
(Integer::valueOf):  Use _Jv_FormatInt.
* java/lang/Integer.java (toString):  Just use call String.valueOf.
* java/lang/Long.java (toString):  Fix typo in comment.
* java/lang/String.java (valueOf(int)):  Make native.
* java/lang/StringBuffer.java (append(int)):  Make native.
* java/lang/natStringBuffer.cc:  New file, for append(jint).
* Makefile.am (ant_source_files):  Add java/lang/natStringBuffer.cc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42419 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree.h (type_num_arguments): Declare it.
mmitchel [Tue, 22 May 2001 03:03:26 +0000 (03:03 +0000)]
* tree.h (type_num_arguments): Declare it.
* tree.c (type_num_arguments): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42418 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
jason [Tue, 22 May 2001 01:17:23 +0000 (01:17 +0000)]
    * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42415 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agolose START_CATCH_STMT
jason [Tue, 22 May 2001 00:52:58 +0000 (00:52 +0000)]
lose START_CATCH_STMT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42414 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * call.c (build_op_delete_call): Ignore exception-specifications
mmitchel [Tue, 22 May 2001 00:31:36 +0000 (00:31 +0000)]
* call.c (build_op_delete_call): Ignore exception-specifications
when looking for matching delete operators.
* init.c (build_new_1): Compute whether or not the allocation
function used is a placement allocation function or not, and
communicate this information to build_op_delete_call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42413 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dwarf2out.c (current_funcdef_number): Move outside dwarf2
rth [Mon, 21 May 2001 23:30:51 +0000 (23:30 +0000)]
    * dwarf2out.c (current_funcdef_number): Move outside dwarf2
        conditional ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42411 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jcf-parse.c (read_class): If class is from .class or .zip file
bothner [Mon, 21 May 2001 21:37:36 +0000 (21:37 +0000)]
* jcf-parse.c (read_class):  If class is from .class or .zip file
and it's already been read, don't push/pop parser context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42407 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/compile/920520-1.x: Merge previous contents into
geoffk [Mon, 21 May 2001 20:38:05 +0000 (20:38 +0000)]
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
this file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42406 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
tromey [Mon, 21 May 2001 19:27:10 +0000 (19:27 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42405 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
geoffk [Mon, 21 May 2001 18:38:25 +0000 (18:38 +0000)]
* config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
(maxsf3+1): Delete.
(minsf3): Use rs6000_emit_minmax.
(minsf3+1): Generalize to handle both SMIN and SMAX.  Use
rs6000_emit_minmax.
(movsfcc): Use rs6000_emit_cmove.
(fselsfsf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fseldfsf4): Likewise.
(maxdf3): Use rs6000_emit_minmax.
(maxdf3+1): Delete.
(mindf3): Use rs6000_emit_minmax.
(mindf3+1): Generalize to handle both SMIN and SMAX.  Use
rs6000_emit_minmax.
(movdfcc): Use rs6000_emit_cmove.
(fseldfdf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fselsfdf4): Likewise.
* config/rs6000/rs6000.c (zero_fp_constant): New predicate.
(min_max_operator): New predicate.
(rs6000_emit_cmove): New function.
(rs6000_emit_minmax): New function.
* config/rs6000/rs6000-protos.h: Prototype new functions.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
and min_max_operator.

* config/rs6000/rs6000.c (output_cbranch): Handle all
conditional types in the switch statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42404 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
mmitchel [Mon, 21 May 2001 18:36:57 +0000 (18:36 +0000)]
* c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
non-register variables.
* extend.texi: Document that asm-specifications do not make sense
for non-static local variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42403 138bc75d-0d04-0410-961f-82ee72b054a4