- 25 May, 2001 6 commits
-
-
* c-typeck.c (digest_init): Issue error messages about invalid constants, not warnings. From-SVN: r42560
Mark Mitchell committed -
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. From-SVN: r42557
Benjamin Kosnik committed -
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. From-SVN: r42556
Phil Edwards committed -
* 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'. From-SVN: r42555
Mark Mitchell committed -
* 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. From-SVN: r42554
Mark Mitchell committed -
* 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. From-SVN: r42553
Mark Mitchell committed
-
- 24 May, 2001 22 commits
-
-
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. From-SVN: r42547
Benjamin Kosnik committed -
2001-05-24 Philip Blundell <philb@gnu.org> * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required. From-SVN: r42546
Phil Blundell committed -
2001-05-24 Philip Blundell <philb@gnu.org> * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required. [[Split portion of a mixed commit.]] From-SVN: r42545.2
Phil Blundell committed -
2001-05-24 Philip Blundell <philb@gnu.org> * config/arm/arm.c (output_return_instruction): Correctly handle interworking and interrupt functions. From-SVN: r42543
Philip Blundell committed -
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. From-SVN: r42542
Phil Blundell committed -
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. [[Split portion of a mixed commit.]] From-SVN: r42541.2
Phil Blundell committed -
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. From-SVN: r42539
Philip Blundell committed -
* include/bits/c++config(__NO_MATH_INLINES): Move to... * config/os/gnu-linux/bits/os_defines.h: ...here. From-SVN: r42538
Gabriel Dos Reis committed -
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define. (MD_FALLBACK_FRAME_STATE_FOR): Use it. From-SVN: r42534
Geoffrey Keating committed -
* include/bits/c++config (__NO_MATH_INLINES): New macro. * testsuite/26_numerics/fabs_inline.cc (main): New test. From-SVN: r42533
Gabriel Dos Reis committed -
* java/lang/natString.cc (init): Throw ArrayIndexOutOfBoundsException. (getChars): Likewise. (getBytes): Likewise. (valueOf): Likewise. From-SVN: r42531
Tom Tromey committed -
* 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. From-SVN: r42530
Tom Tromey committed -
* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification; fix hard register simplification. From-SVN: r42529
Jan Hubicka committed -
* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead of just copying CPP_CPU_SPEC. From-SVN: r42528
Rainer Orth committed -
From-SVN: r42527
Jan Hubicka committed -
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. From-SVN: r42526
Nathan Sidwell committed -
* 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. From-SVN: r42524
Bryce McKinlay committed -
From-SVN: r42523
GCC Administrator committed -
* Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks. From-SVN: r42521
Tom Tromey committed -
* Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files. (libgcj_la_LIBADD): Likewise. (libgcjx_la_DEPENDENCIES): Removed x_nat_files. (libgcjx_la_LIBADD): Likewise. From-SVN: r42520
Tom Tromey committed -
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. From-SVN: r42519
Tom Tromey committed -
From-SVN: r42518
Bruce Korb committed
-
- 23 May, 2001 12 commits
-
-
* 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). From-SVN: r42516
Kelley Cook committed -
From-SVN: r42515
Richard Henderson committed -
* 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. From-SVN: r42514
Neil Booth committed -
From-SVN: r42513
Richard Henderson committed -
* gcc.misc-tests/linkage.exp: Pass appropriate flags to native compiler for irix6.5. From-SVN: r42511
David Billinghurst committed -
* 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. From-SVN: r42509
Neil Booth committed -
extend.texi (Attribute Syntax): Clarify application of attributes to parameters declared as functions or arrays. * extend.texi (Attribute Syntax): Clarify application of attributes to parameters declared as functions or arrays. From-SVN: r42507
Joseph Myers committed -
gcc/java: * jv-scan.c (version): Update copyright year. libjava: * gij.cc (version): Update copyright year. From-SVN: r42505
Joseph Myers committed -
From-SVN: r42504
Jason Merrill committed -
From-SVN: r42503
Anthony Green committed -
* POTFILES.in: Remove config/rs6000/xm-darwin.h and config/pa/pa-gas.h. From-SVN: r42502
Zack Weinberg committed -
From-SVN: r42501
Anthony Green committed
-