Gabriel Dos Reis [Thu, 24 May 2001 20:51:33 +0000 (20:51 +0000)]
c++config (__NO_MATH_INLINES): Move to...
* include/bits/c++config(__NO_MATH_INLINES): Move to...
* config/os/gnu-linux/bits/os_defines.h: ...here.
From-SVN: r42538
Geoffrey Keating [Thu, 24 May 2001 20:15:13 +0000 (20:15 +0000)]
linux.h (SIGNAL_FRAMESIZE): Define.
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.
From-SVN: r42534
Gabriel Dos Reis [Thu, 24 May 2001 18:38:20 +0000 (18:38 +0000)]
c++config (__NO_MATH_INLINES): New macro.
* include/bits/c++config (__NO_MATH_INLINES): New macro.
* testsuite/26_numerics/fabs_inline.cc (main): New test.
From-SVN: r42533
Tom Tromey [Thu, 24 May 2001 18:06:03 +0000 (18:06 +0000)]
natString.cc (init): Throw ArrayIndexOutOfBoundsException.
* java/lang/natString.cc (init): Throw
ArrayIndexOutOfBoundsException.
(getChars): Likewise.
(getBytes): Likewise.
(valueOf): Likewise.
From-SVN: r42531
Tom Tromey [Thu, 24 May 2001 18:03:47 +0000 (18:03 +0000)]
configure.in: Only allow hash synchronization when POSIX threads are enabled.
* 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
Jan Hubicka [Thu, 24 May 2001 17:48:42 +0000 (19:48 +0200)]
simplify-rtx.c (simplify_subreg): Fix CONCAT simplification; fix hard register simplification.
* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
fix hard register simplification.
From-SVN: r42529
Rainer Orth [Thu, 24 May 2001 15:59:43 +0000 (15:59 +0000)]
sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead of just copying CPP_CPU_SPEC.
* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
of just copying CPP_CPU_SPEC.
From-SVN: r42528
Jan Hubicka [Thu, 24 May 2001 13:59:09 +0000 (15:59 +0200)]
* i386.c (incdec_operand): Accept only 1 and -1.
From-SVN: r42527
Nathan Sidwell [Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)]
re PR c++/2184 (using declarations for classes in function templates)
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
Bryce McKinlay [Thu, 24 May 2001 07:28:39 +0000 (07:28 +0000)]
Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
* 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
GCC Administrator [Thu, 24 May 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42523
Tom Tromey [Thu, 24 May 2001 05:43:46 +0000 (05:43 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.
From-SVN: r42521
Tom 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.
From-SVN: r42520
Tom Tromey [Thu, 24 May 2001 05:40:37 +0000 (05:40 +0000)]
[multiple changes]
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
Bruce Korb [Thu, 24 May 2001 04:37:54 +0000 (04:37 +0000)]
This is still broken. Do not use it yet
From-SVN: r42518
Kelley Cook [Wed, 23 May 2001 22:58:41 +0000 (22:58 +0000)]
Makefile.in: Move many of the *_H definitions eariler in the file...
* 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
Richard Henderson [Wed, 23 May 2001 22:53:54 +0000 (15:53 -0700)]
* integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
From-SVN: r42515
Neil Booth [Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)]
cpp.texi: Update for handling of charconsts.
* 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
Richard Henderson [Wed, 23 May 2001 21:33:30 +0000 (14:33 -0700)]
* doc/install.texi (alpha-linux): Require binutils 2.11.
From-SVN: r42513
David Billinghurst [Wed, 23 May 2001 19:53:00 +0000 (19:53 +0000)]
linkage.exp: Pass appropriate flags to native compiler for irix6.5.
* gcc.misc-tests/linkage.exp: Pass appropriate flags to
native compiler for irix6.5.
From-SVN: r42511
Neil Booth [Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)]
c-lex.c (read_escape, read_ucs): Delete.
* 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
Joseph Myers [Wed, 23 May 2001 18:44:13 +0000 (19:44 +0100)]
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 [Wed, 23 May 2001 18:10:30 +0000 (19:10 +0100)]
jv-scan.c (version): Update copyright year.
gcc/java:
* jv-scan.c (version): Update copyright year.
libjava:
* gij.cc (version): Update copyright year.
From-SVN: r42505
Jason Merrill [Wed, 23 May 2001 17:37:50 +0000 (13:37 -0400)]
* dbxout.c (dbxout_type_methods): Do still group methods by name.
From-SVN: r42504
Anthony Green [Wed, 23 May 2001 17:24:49 +0000 (17:24 +0000)]
Fix typo applying previous patch.
From-SVN: r42503
Zack Weinberg [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.
* POTFILES.in: Remove config/rs6000/xm-darwin.h and
config/pa/pa-gas.h.
From-SVN: r42502
Anthony Green [Wed, 23 May 2001 17:19:40 +0000 (17:19 +0000)]
Missed hunk from old GCJ_FOR_TARGET patch.
From-SVN: r42501
Zack Weinberg [Wed, 23 May 2001 17:15:07 +0000 (17:15 +0000)]
diagnostic.c (vnotice): Kill.
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.
From-SVN: r42498
Anthony Green [Wed, 23 May 2001 17:13:27 +0000 (17:13 +0000)]
Fix cross builds.
From-SVN: r42497
Jeffrey D. 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.
From-SVN: r42495
Gerald Pfeifer [Wed, 23 May 2001 12:15:03 +0000 (14:15 +0200)]
* gcc_update (UPDATE_OPTIONS): Add -d to the default settings.
From-SVN: r42493
Mark Mitchell [Wed, 23 May 2001 07:56:45 +0000 (07:56 +0000)]
* jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
From-SVN: r42491
GCC Administrator [Wed, 23 May 2001 07:17:19 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r42490
Benjamin Kosnik [Wed, 23 May 2001 07:05:14 +0000 (07:05 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init): Set ld_library_path.
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.
From-SVN: r42487
Richard Henderson [Wed, 23 May 2001 07:01:43 +0000 (00:01 -0700)]
function.c (expand_function_start): Always use a pseudo for the function result value.
* function.c (expand_function_start): Always use a pseudo
for the function result value.
From-SVN: r42486
Richard Henderson [Wed, 23 May 2001 06:54:21 +0000 (23:54 -0700)]
iris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment.
* config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
section pointer alignment.
From-SVN: r42484
Richard Henderson [Wed, 23 May 2001 06:41:48 +0000 (23:41 -0700)]
* doc/install.texi (alpha-linux): Require binutils >= 2.10.
From-SVN: r42483
Mark Mitchell [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.
* optimize.c (initialize_inlined_parameters): Don't set
TREE_READONLY for a VAR_DECL taking the place of an inlined
PARM_DECL.
From-SVN: r42480
Phil Edwards [Wed, 23 May 2001 02:00:05 +0000 (02:00 +0000)]
documentation.html: Point to doxygen output.
2001-05-22 Phil Edwards <pme@sources.redhat.com>
* docs/html/documentation.html: Point to doxygen output.
From-SVN: r42477
Richard Henderson [Wed, 23 May 2001 01:26:01 +0000 (18:26 -0700)]
unwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__.
* unwind-dw2-fde.c (__deregister_frame_info): Stringize use
of __USER_LABEL_PREFIX__.
From-SVN: r42475
Richard Henderson [Tue, 22 May 2001 23:01:33 +0000 (16:01 -0700)]
unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
* 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.
From-SVN: r42473
Toon Moene [Tue, 22 May 2001 21:43:33 +0000 (23:43 +0200)]
g77.texi: Update last-changed date.
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.
From-SVN: r42471
Loren J. Rittle [Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)]
freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK for this case but not in general).
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
instead of #elif (which is OK for this case but not in general).
From-SVN: r42469
Toon Moene [Tue, 22 May 2001 20:32:16 +0000 (22:32 +0200)]
g77.texi: Update maintenance information for GNU Fortran.
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.
From-SVN: r42468
Andrew MacLeod [Tue, 22 May 2001 20:04:58 +0000 (20:04 +0000)]
builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
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.
From-SVN: r42467
Jason Merrill [Tue, 22 May 2001 19:42:30 +0000 (15:42 -0400)]
class.c, [...]: Remove com_interface attribute support.
* 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.
From-SVN: r42465
Loren J. Rittle [Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)]
freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target version of FreeBSD.
* 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.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42464
Loren J. Rittle [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*.
* 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.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42463
Loren J. Rittle [Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)]
t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
-pthread instead setting macro.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42461
Benjamin Kosnik [Tue, 22 May 2001 18:48:19 +0000 (18:48 +0000)]
mkcheck.in (static_fail): Remove S_FLAG decoration on output.
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.
From-SVN: r42458
Joseph Myers [Tue, 22 May 2001 17:58:43 +0000 (18:58 +0100)]
parse.y: Refer to compound literals as such, not as constructor-expressions.
* parse.y: Refer to compound literals as such, not as
constructor-expressions.
From-SVN: r42455
Richard Henderson [Tue, 22 May 2001 16:57:40 +0000 (09:57 -0700)]
crtstuff.c (__register_frame_info_bases): Declare.
* 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.
From-SVN: r42453
Richard Henderson [Tue, 22 May 2001 16:42:41 +0000 (09:42 -0700)]
rtl.c (read_string): Break out from ...
* rtl.c (read_string): Break out from ...
(read_rtx): ... here.
From-SVN: r42452
Gerald Pfeifer [Tue, 22 May 2001 14:54:01 +0000 (16:54 +0200)]
install.texi (Specific): Remove a bogus and duplicate part copied from the end of the document.
* doc/install.texi (Specific): Remove a bogus and duplicate part
copied from the end of the document.
From-SVN: r42450
Bernd Schmidt [Tue, 22 May 2001 14:16:58 +0000 (14:16 +0000)]
Fix ia64 build problems
From-SVN: r42448
Gerald Pfeifer [Tue, 22 May 2001 13:14:11 +0000 (15:14 +0200)]
install.texi: Remove obsolete information on SunOS as well as i386-sun-sunos4...
* 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.
From-SVN: r42447
Alexandre Oliva [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.
* cppfiles.c (remove_component_p): Don't assume lstat/stat will
keep errno unchanged on success.
From-SVN: r42445
Loren J. Rittle [Tue, 22 May 2001 11:16:51 +0000 (11:16 +0000)]
Makefile.in (stamp-h): Create in $(objdir) instead of $(srcdir).
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
of $(srcdir).
From-SVN: r42442
Joseph Myers [Tue, 22 May 2001 11:02:17 +0000 (12:02 +0100)]
c-lex.c (lex_number): If pedantic and not C99...
* 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.
From-SVN: r42440
Alexandre Oliva [Tue, 22 May 2001 10:40:41 +0000 (10:40 +0000)]
ltcf-cxx.sh (allow_undefined_flag, [...]): Prepend blank.
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.
From-SVN: r42438
Gerald Pfeifer [Tue, 22 May 2001 10:07:31 +0000 (12:07 +0200)]
* README.ACORN: Remove obsolete file.
From-SVN: r42436
Jan Hubicka [Tue, 22 May 2001 07:40:26 +0000 (09:40 +0200)]
combine.c (gen_binary): Use swap_commutative_operands_p
* 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.
From-SVN: r42433
Neil Booth [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.
* 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.
From-SVN: r42432
GCC Administrator [Tue, 22 May 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42430
Richard Henderson [Tue, 22 May 2001 06:58:17 +0000 (23:58 -0700)]
combine.c (subst): Do not substitute for a register as a destination...
* combine.c (subst): Do not substitute for a register as
a destination subreg/strict_low_part/zero_extract.
From-SVN: r42429
Per Bothner [Tue, 22 May 2001 06:47:48 +0000 (23:47 -0700)]
Implement invocation interface; don't create new thread for main.
From-SVN: r42428
Richard Henderson [Tue, 22 May 2001 06:46:20 +0000 (23:46 -0700)]
combine.c (simplify_comparison): Update op1 after constant extension.
* 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.
From-SVN: r42427
Mark Mitchell [Tue, 22 May 2001 06:45:44 +0000 (06:45 +0000)]
* gcc_build: Use -d when invoking gcc_update.
From-SVN: r42426
Per Bothner [Tue, 22 May 2001 06:40:06 +0000 (23:40 -0700)]
Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
* Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
(libgcj_la_LIBADD): Likewise.
(libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files).
From-SVN: r42424
Richard Henderson [Tue, 22 May 2001 06:29:39 +0000 (23:29 -0700)]
emit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE.
* emit-rtl.c (init_emit_once): Zero unused memory in a
CONST_DOUBLE.
From-SVN: r42423
Benjamin Kosnik [Tue, 22 May 2001 04:58:45 +0000 (04:58 +0000)]
std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.
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.
From-SVN: r42421
Benjamin Kosnik [Tue, 22 May 2001 04:58:14 +0000 (04:58 +0000)]
c_strings.cc (main): Fix.
2001-05-21 Benjamin Kosnik <bkoz@kredhat.com>
* testsuite/21_strings/c_strings.cc (main): Fix.
From-SVN: r42420
Per Bothner [Tue, 22 May 2001 04:38:37 +0000 (21:38 -0700)]
javaprims.h (_Jv_FormatInt): New declaration.
* 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.
From-SVN: r42419
Mark Mitchell [Tue, 22 May 2001 03:03:26 +0000 (03:03 +0000)]
tree.h (type_num_arguments): Declare it.
* tree.h (type_num_arguments): Declare it.
* tree.c (type_num_arguments): New function.
From-SVN: r42418
Jason Merrill [Tue, 22 May 2001 01:17:23 +0000 (21:17 -0400)]
* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
From-SVN: r42415
Jason Merrill [Tue, 22 May 2001 00:52:58 +0000 (20:52 -0400)]
lose START_CATCH_STMT
From-SVN: r42414
Mark Mitchell [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.
* 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.
From-SVN: r42413
Richard Henderson [Mon, 21 May 2001 23:30:51 +0000 (16:30 -0700)]
dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
* dwarf2out.c (current_funcdef_number): Move outside dwarf2
conditional ifdef.
From-SVN: r42411
Per Bothner [Mon, 21 May 2001 21:37:36 +0000 (14:37 -0700)]
jcf-parse.c (read_class): If class is from .class or .zip file and it's already been read...
* 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.
From-SVN: r42407
Geoffrey Keating [Mon, 21 May 2001 20:38:05 +0000 (20:38 +0000)]
920520-1.x: Merge previous contents into this file.
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
this file.
From-SVN: r42406
Tom Tromey [Mon, 21 May 2001 19:27:10 +0000 (19:27 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
From-SVN: r42405
Geoffrey Keating [Mon, 21 May 2001 18:38:25 +0000 (18:38 +0000)]
rs6000.md (maxsf3): Use rs6000_emit_minmax.
* 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.
From-SVN: r42404
Mark Mitchell [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.
* 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.
From-SVN: r42403
Andrew Haley [Mon, 21 May 2001 16:59:42 +0000 (16:59 +0000)]
dwarf2-signal.h: New file.
2001-05-18 Andrew Haley <aph@cambridge.redhat.com>
* include/dwarf2-signal.h: New file.
* configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC.
* configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC.
* configure: Rebuilt.
From-SVN: r42400
Jason Merrill [Mon, 21 May 2001 16:06:37 +0000 (12:06 -0400)]
fix comment
From-SVN: r42396
Jason Merrill [Mon, 21 May 2001 15:55:40 +0000 (11:55 -0400)]
class.c (build_vtable_entry_ref): Lose vtbl parm.
* class.c (build_vtable_entry_ref): Lose vtbl parm. Fix for new abi.
(build_vtbl_ref): Adjust.
(dfs_accumulate_vtbl_inits): Set TREE_CONSTANT on the vtable address.
* decl2.c (lang_f_options): Remove huge-objects, vtable-thunks.
Re-add vtable-gc.
(unsupported_options): Correspondingly.
* decl2.c (maybe_make_one_only): Check flag_weak, not
supports_one_only().
From-SVN: r42393
Jason Merrill [Mon, 21 May 2001 15:54:33 +0000 (11:54 -0400)]
class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
* class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
(get_vtable_decl, build_vtt): Not here.
From-SVN: r42392
Jason Merrill [Mon, 21 May 2001 15:48:49 +0000 (11:48 -0400)]
dbxout.c (MINIMAL_DEBUG, [...]): Lose.
* dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
(dbxout_type_fields): Lose minimal_debug support.
(dbxout_type_methods, dbxout_type): Likewise.
From-SVN: r42391
Jason Merrill [Mon, 21 May 2001 15:41:05 +0000 (11:41 -0400)]
add vague linkage node
From-SVN: r42389
Jason Merrill [Mon, 21 May 2001 15:39:19 +0000 (11:39 -0400)]
cp-tree.def (START_CATCH_STMT): Lose.
* cp-tree.def (START_CATCH_STMT): Lose.
* dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS.
* tree.c (cp_statement_code_p): Don't case it.
* semantics.c (cp_expand_stmt): Likewise.
* except.c (expand_start_catch_block): Don't start any blocks.
Return the type.
(expand_end_catch_block): Don't end any blocks.
* parse.y (handler): Don't pass anything from finish_handler_parms
to finish_handler.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_handler): Call note_level_for_catch here.
(finish_handler_parms): Don't return anything.
(genrtl_catch_block, begin_catch_block): Lose.
(genrtl_handler): Call expand_start_catch here.
* cp-tree.h (START_CATCH_TYPE): Lose.
(HANDLER_TYPE): New.
From-SVN: r42388
Jason Merrill [Mon, 21 May 2001 13:17:58 +0000 (09:17 -0400)]
tweak formatting
From-SVN: r42387
Andrew Haley [Mon, 21 May 2001 12:31:14 +0000 (12:31 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2001-05-17 Andrew Haley <aph@redhat.com>
* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r42386
Stephane Carrez [Mon, 21 May 2001 12:20:51 +0000 (14:20 +0200)]
msp.c (A_SIZE): Define according to STACK_SIZE;
* gcc.c-torture/unsorted/msp.c (A_SIZE): Define according to
STACK_SIZE;
* gcc.c-torture/compile/991214-2.c (HISTO_SIZE): Define according
to STACK_SIZE; Use it to define size of add_histo array.
* gcc.c-torture/compile/920723-1.c (GITT_SIZE): Define according
to STACK_SIZE.
(f): Use GITT_SIZE to define size of gitt local table.
* gcc.c-torture/compile/930621-1.c (BYTEMEM_SIZE): Define according
to STACK_SIZE; Use it to define size of bytemem array.
From-SVN: r42384
Stephane Carrez [Mon, 21 May 2001 12:06:52 +0000 (14:06 +0200)]
20000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20000804-1.x: New file, this test fails
on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20001205-1.x: New file, ditto.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/
20001226-1.x: New file, this test fails
on 68HC11/HC12 because the function is larger than 64K.
* gcc.c-torture/compile/961203-1.x: New file, this test fails
on 68HC11/HC12 because the structure is too large.
From-SVN: r42381
Bryce McKinlay [Mon, 21 May 2001 08:37:04 +0000 (08:37 +0000)]
configure.in: Update boehm-gc include dir for new GC version.
* configure.in: Update boehm-gc include dir for new GC version.
* configure: Rebuilt.
* exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and
extern "C" wrapper.
* boehm.cc: Update includes for new GC version. MAKE_PROC is now
GC_MAKE_PROC. mark_proc is now GC_mark_proc.
* posix-threads.cc: Only include <gc.h>. Don't need to wrap with
extern "C".
From-SVN: r42380
Bryce McKinlay [Mon, 21 May 2001 08:35:14 +0000 (08:35 +0000)]
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
GCC Administrator [Mon, 21 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42378
Richard Henderson [Mon, 21 May 2001 07:03:42 +0000 (00:03 -0700)]
dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
* dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
Update all users.
From-SVN: r42376
Bryce McKinlay [Mon, 21 May 2001 06:39:25 +0000 (07:39 +0100)]
This commit was generated by cvs2svn to compensate for changes in r42373,
which included commits to RCS files with non-trunk default branches.
From-SVN: r42374
Bryce McKinlay [Mon, 21 May 2001 06:39:23 +0000 (07:39 +0100)]
Initial revision
From-SVN: r42370