Alexandre Oliva [Sat, 9 Jun 2001 20:31:13 +0000 (20:31 +0000)]
configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.
From-SVN: r43103
Peter Jakubek [Sat, 9 Jun 2001 19:11:22 +0000 (19:11 +0000)]
* config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
From-SVN: r43100
Benjamin Kosnik [Sat, 9 Jun 2001 18:53:35 +0000 (18:53 +0000)]
std_cwchar.h: Remove size_t injection, include std_cstddef.
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwchar.h: Remove size_t injection,
include std_cstddef.
* include/c_std/bits/std_ctime.h: Same.
* include/c_std/bits/std_cstring.h: Same.
* include/c_std/bits/std_cstdlib.h: Same.
* include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
* include/c_std/bits/std_cctype.h: Remove isblank.
From-SVN: r43097
Alexandre Oliva [Sat, 9 Jun 2001 18:50:20 +0000 (18:50 +0000)]
config.guess: Import CVS version 1.195.
* config.guess: Import CVS version 1.195.
* config.sub: Import CVS version 1.212.
From-SVN: r43096
John David Anglin [Sat, 9 Jun 2001 18:30:12 +0000 (18:30 +0000)]
vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags for integer operations that don't update...
* vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
for integer operations that don't update C bit.
From-SVN: r43094
Nicola Pero [Sat, 9 Jun 2001 18:06:54 +0000 (18:06 +0000)]
gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
* gthr-posix.h (__gthread_objc_init_thread_system): If
pthread_key_create fails, it's not clear what the return value is.
This obvious fix makes sure it always returns -1 if a problem
occurs.
From-SVN: r43092
Nicola Pero [Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)]
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
not clear what the return value is. This obvious fix makes sure it
always returns -1 if a problem occurs.
From-SVN: r43091
Joseph Myers [Sat, 9 Jun 2001 18:03:11 +0000 (19:03 +0100)]
gcc.texi: Use @defcodeindex for the index of options.
* doc/gcc.texi: Use @defcodeindex for the index of options. Add
more index entries. Use more logical markup where appropriate.
Use TeX quotes and dashes.
From-SVN: r43089
Benjamin Kosnik [Sat, 9 Jun 2001 18:00:34 +0000 (18:00 +0000)]
unwind-pe.h: Conditionally qualify references to abort with std::.
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* unwind-pe.h: Conditionally qualify references to abort with
std::.
From-SVN: r43087
Benjamin Kosnik [Sat, 9 Jun 2001 17:55:10 +0000 (17:55 +0000)]
unwind-pe.h: Conditionally qualify references to abort with std::.
2001-06-09 Benjamin Kosnik <bkoz@fillmore.constant.com>
* unwind-pe.h: Conditionally qualify references to abort with
std::.
From-SVN: r43082
Ovidiu Predescu [Sat, 9 Jun 2001 17:55:05 +0000 (17:55 +0000)]
load-3.m: Added.
2001-06-09 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/load-3.m: Added. Check sending +load to categories,
in addition to classes.
From-SVN: r43081
Ovidiu Predescu [Sat, 9 Jun 2001 17:54:21 +0000 (17:54 +0000)]
Added. Check sending +load to categories, in addition to classes.
From-SVN: r43080
Benjamin Kosnik [Sat, 9 Jun 2001 17:39:29 +0000 (17:39 +0000)]
std_cctype.h: Remove isblank.
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cctype.h: Remove isblank.
From-SVN: r43078
Julian Foad [Sat, 9 Jun 2001 13:32:45 +0000 (13:32 +0000)]
* invoke.texi: Remove superfluous text.
From-SVN: r43075
GCC Administrator [Sat, 9 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43072
Benjamin Kosnik [Sat, 9 Jun 2001 06:49:13 +0000 (06:49 +0000)]
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws.
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
fgetws.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
injection, guard fgetwc, fgetws.
* include/c_std/bits/std_cstdio.h: Remove superfluous includes.
* include/c_std/bits/std_clocale.h: And here.
* include/c_std/bits/std_cctype.h: And here.
* include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
* config/basic_file_stdio.h: Don't include unistd.h.
* config/c_io_stdio.h: Don't use compatibility headers.
* libsupc++/eh_terminate.cc: Qualify abort.
(__terminate): And here.
* libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
From-SVN: r43070
Benjamin Kosnik [Sat, 9 Jun 2001 04:24:10 +0000 (04:24 +0000)]
std_cstdlib.h: Remove _Exit, strtof injections.
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
From-SVN: r43069
Richard Henderson [Sat, 9 Jun 2001 00:39:04 +0000 (17:39 -0700)]
linux.h (CPLUSPLUS_CPP_SPEC): New.
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
(LIB_SPEC): Mirror config/linux.h version.
From-SVN: r43067
Tom Tromey [Fri, 8 Jun 2001 23:40:17 +0000 (23:40 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Compute new aux dir using `pwd'.
From-SVN: r43064
Benjamin Kosnik [Fri, 8 Jun 2001 23:22:26 +0000 (23:22 +0000)]
*: Add copyright notice.
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2767
libstdc++/2989
libstdc++/2992
* include/std/*: Add copyright notice.
* include/c_std/bits/*: Use using statements instead of extern "C".
* include/c_std/bits/std_cmath.h: Don't overload double versions
of math functions with __buitin versions, use global version to
prevent ambiguities. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Using declarations for "C"
functions that have changed signatures and std::
declarations. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
__builtins in std::. Remove define hacks.
* testsuite/17_intro/headers_c.cc: Add tests.
* testsuite/17_intro/headers_c++.cc: Add test.
From-SVN: r43061
Richard Henderson [Fri, 8 Jun 2001 22:57:23 +0000 (15:57 -0700)]
except.c (get_exception_pointer, [...]): Take a struct function.
* except.c (get_exception_pointer, get_exception_filter): Take a
struct function. Update all callers.
* except.h (get_exception_pointer): Update declaration.
* expr.c (expand_expr): Update get_exception_pointer call.
* integrate.c (expand_inline_function): Remap the exception pointer
from callee to caller.
From-SVN: r43060
Nicola Pero [Fri, 8 Jun 2001 22:42:59 +0000 (00:42 +0200)]
THREADS: Explain that when we compile libobjc inside GCC...
2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
* THREADS: Explain that when we compile libobjc inside GCC, we
always use thr-objc.c as a backend, which uses GCC's thread code.
From-SVN: r43058
Mark Mitchell [Fri, 8 Jun 2001 22:33:46 +0000 (22:33 +0000)]
c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations accurately reflect its cv-qualification.
* c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
accurately reflect its cv-qualification.
* c-typeck.c (type_lists_compatible_p): Ignore the top-levl
cv-qualifiers on function types.
From-SVN: r43056
Richard Frith-Macdonald [Fri, 8 Jun 2001 22:19:47 +0000 (22:19 +0000)]
init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key...
2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
* init.c (__objc_send_message_in_list): When setting a new entry
in __objc_load_methods use the method IMP as key, but check to see
if the method is in the hashtable by looking at the IMP also.
Also ... call the method after adding it to the hashtable rather
than before ... thus preventing an obscure possibility of infinite
recursion if a +load method itself loads a subclass.
From-SVN: r43052
Stan Shebs [Fri, 8 Jun 2001 22:16:58 +0000 (22:16 +0000)]
load-2.m: New test.
* objc/execute/load-2.m: New test. From Nicola Pero
<n.pero@mi.flashnet.it>.
From-SVN: r43051
Tom Tromey [Fri, 8 Jun 2001 22:12:28 +0000 (22:12 +0000)]
re PR libgcj/2874 (libjava testsuite disk space usage)
Fix for PR libgcj/2874:
* libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc.
(test_mauve): Return 0 on failure.
* lib/libjava.exp (test_libjava_from_source): Remove generated
files if test is successful.
(test_libjava_from_javac): Likewise.
(gcj_cleanup): New proc.
From-SVN: r43050
Mark Mitchell [Fri, 8 Jun 2001 21:54:11 +0000 (21:54 +0000)]
basic-block.h: Improve comments.
* basic-block.h: Improve comments.
* except.c (expand_eh_region_end_allowed): Remove redundant call
to do_pending_stack_adjust.
* flow.c (life_analysis): Fix typo in comment.
(calculate_global_regs_live): Add documentation.
(mark_set_1): Likewise.
(debug_regset): Likewise.
* doc/rtl.texi (cond_exec): Document it.
From-SVN: r43049
Jan Hubicka [Fri, 8 Jun 2001 19:53:59 +0000 (21:53 +0200)]
i386.h (CONST_COSTS): set cost of constants representable in immediate fields to 0.
* i386.h (CONST_COSTS): set cost of constants representable in
immediate fields to 0.
From-SVN: r43045
Jan Hubicka [Fri, 8 Jun 2001 19:52:06 +0000 (21:52 +0200)]
function.c (diddle_return_value): Kill code to determine return value before expand_function_end.
* function.c (diddle_return_value): Kill code to determine
return value before expand_function_end.
(expand_function_end): Delay call to clobber_return_register
after fucntion return value is computed.
Re-install temporary reverted patch:
* toplev.c (rest_of_compilation): Call split_all_insns
before reg-stack and shorten-branches. Do shorten-branches
after reg-stack.
* final.c (shorten_branches): Remove insn splitting code.
From-SVN: r43044
Joseph Myers [Fri, 8 Jun 2001 19:42:28 +0000 (20:42 +0100)]
gcc.texi, [...]: Add index of command line options.
* doc/gcc.texi, doc/invoke.texi: Add index of command line
options. Use @opindex to index them rather than other indexing
commands. Use @var{...} instead of <...>. Avoid spaces in names
inside @var. Don't use @kindex to index escape sequences in
source code.
From-SVN: r43041
Tom Tromey [Fri, 8 Jun 2001 19:09:04 +0000 (19:09 +0000)]
re PR libgcj/3059 (System doesn't set java.home property)
Fix for PR libgcj/3059:
* java/lang/natSystem.cc (init_properties): Define `java.home'.
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Define PREFIX.
From-SVN: r43040
Jason Merrill [Fri, 8 Jun 2001 18:14:27 +0000 (14:14 -0400)]
conflict
From-SVN: r43038
Jason Merrill [Fri, 8 Jun 2001 18:12:54 +0000 (14:12 -0400)]
stmt.c (current_nesting_level): New fn.
* stmt.c (current_nesting_level): New fn.
* tree.h: Declare it.
* c-semantics.c (genrtl_compound_stmt): Use it.
* dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
From-SVN: r43037
Jason Merrill [Fri, 8 Jun 2001 18:03:52 +0000 (14:03 -0400)]
duplicate
From-SVN: r43036
Jason Merrill [Fri, 8 Jun 2001 18:03:52 +0000 (14:03 -0400)]
duplicate
[[Split portion of a mixed commit.]]
From-SVN: r43035.2
Tom Tromey [Fri, 8 Jun 2001 18:02:03 +0000 (18:02 +0000)]
For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.am: Rebuilt.
* configure.in: Pass `--with-auxdir' to subdir configure. Don't
call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h
relative to libgcj_basedir.
* acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and
AC_CANONICAL_SYSTEM here.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
libgcj_basedir.
($(extra_headers)): New target.
From-SVN: r43034
Tom Tromey [Fri, 8 Jun 2001 17:59:57 +0000 (17:59 +0000)]
For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.in: Rebuilt.
* configure.in: Don't call AC_CONFIG_AUX_DIR or
AC_CANONICAL_SYSTEM.
* acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
AC_CANONICAL_SYSTEM here.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
boehm_gc_basedir.
From-SVN: r43033
Jakub Jelinek [Fri, 8 Jun 2001 17:43:09 +0000 (19:43 +0200)]
jump.c (mark_modified_reg): Allow jump threading if condition codes are represented by a hard register.
* jump.c (mark_modified_reg): Allow jump threading if condition
codes are represented by a hard register.
From-SVN: r43030
Jakub Jelinek [Fri, 8 Jun 2001 17:42:25 +0000 (19:42 +0200)]
ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode for complex floats passed to unprototyped functions.
* config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
for complex floats passed to unprototyped functions.
* gcc.c-torture/execute/
20010605-2.c: New test.
From-SVN: r43029
Mark Mitchell [Fri, 8 Jun 2001 16:19:45 +0000 (16:19 +0000)]
except.c (expand_eh_region_end_allowed): Call do_pending_stack_adjust as necessary.
* except.c (expand_eh_region_end_allowed): Call
do_pending_stack_adjust as necessary.
From-SVN: r43020
Nathan Sidwell [Fri, 8 Jun 2001 14:30:47 +0000 (14:30 +0000)]
vbase2.C: New test.
* g++.old-deja/g++.abi/vbase2.C: New test.
* g++.old-deja/g++.abi/vbase3.C: New test.
From-SVN: r43016
Nathan Sidwell [Fri, 8 Jun 2001 13:49:09 +0000 (13:49 +0000)]
decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko in previous change.
* decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko
in previous change.
From-SVN: r43014
Nathan Sidwell [Fri, 8 Jun 2001 12:49:02 +0000 (12:49 +0000)]
re PR c++/2929 (gcc crash when compiling a sample)
cp:
PR c++/2929
* friend.c (do_friend): Use push_decl_namespace for classes at
namespace scope.
testsuite:
* g++.old-deja/g++.pt/friend49.C: New test.
From-SVN: r43013
Jan Hubicka [Fri, 8 Jun 2001 12:26:51 +0000 (14:26 +0200)]
function.c (clobber_return_register): Clobber the pseudo return register too.
* function.c (clobber_return_register): Clobber the pseudo return
register too.
From-SVN: r43011
Jan Hubicka [Fri, 8 Jun 2001 12:24:30 +0000 (14:24 +0200)]
sibcall.c (skip_unreturned_value): New function.
* sibcall.c (skip_unreturned_value): New function.
(call_ends_block_p): Use it.
From-SVN: r43010
Jan Hubicka [Fri, 8 Jun 2001 12:19:12 +0000 (14:19 +0200)]
recog.c (split_insn): Break out from ...
* recog.c (split_insn): Break out from ...
(split_all_insns): ... here; do not use basic block information
when it is broken.
From-SVN: r43009
Jan Hubicka [Fri, 8 Jun 2001 12:02:24 +0000 (12:02 +0000)]
simplify-rtx.c (simplify_subreg): Fix verification of combined subreg.
* simplify-rtx.c (simplify_subreg): Fix verification of
combined subreg.
From-SVN: r43008
Rainer Orth [Fri, 8 Jun 2001 11:52:56 +0000 (11:52 +0000)]
mips.h (CPP_SPEC): Simplify .s/.S handling.
* config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
Move definition of _LANGUAGE_C_PLUS_PLUS ...
(CPLUSPLUS_CPP_SPEC): ... here.
Fixes PRs c++/3047, target/441.
From-SVN: r43007
Nathan Sidwell [Fri, 8 Jun 2001 11:10:29 +0000 (11:10 +0000)]
re PR c++/3061 (kde2/artsd miscompilation (part 2))
PR c++/3061
* class.c (build_secondary_vtable): Use assert, rather than an error
message.
(dfs_fixup_binfo_vtbls): BINFO_VTABLE might be NULL.
(dfs_accumulate_vtbl_inits): A lost primary virtual base may
be between ORIG_BINFO and RTTI_BINFO, but neither of them.
Don't set BINFO_VTABLE for a primary virtual base.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r43006
GCC Administrator [Fri, 8 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43002
Gerald Pfeifer [Fri, 8 Jun 2001 07:08:06 +0000 (09:08 +0200)]
* doc/install.texi2html (MAKEINFO): Keep value if set already.
From-SVN: r43001
Gerald Pfeifer [Fri, 8 Jun 2001 06:27:47 +0000 (08:27 +0200)]
update_web_docs: Only update the install documentation for the CVS HEAD.
* update_web_docs: Only update the install documentation for the
CVS HEAD.
From-SVN: r43000
Loren J. Rittle [Fri, 8 Jun 2001 03:55:43 +0000 (03:55 +0000)]
eh_alloc.cc: Ensure that required macros are defined before including gthr.h.
* libsupc++/eh_alloc.cc: Ensure that required macros are
defined before including gthr.h. Ensure that we get the
version of gthr.h for which we know how to provide a
configuration.
* libsupc++/eh_globals.cc: Likewise. And, bring the threading
code path into line with the current EH model. Use std, where
appropriate.
Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
From-SVN: r42999
Loren J. Rittle [Fri, 8 Jun 2001 03:53:35 +0000 (03:53 +0000)]
threads-no.h: Remove file.
* config/threads-no.h: Remove file.
* config/threads-posix.h: Remove file.
* acconfig.h (_GLIBCPP_USE_THREADS): Remove.
(_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
(_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
setup and use gthr*.h files. In particular, make gthr.h files
namespace-clean in the staging area (they don't have to be for
libgcc.a).
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (build_headers): Remove bits/c++threads.h
and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
* src/Makefile.in: Regenerate.
* include/bits/c++config: Cleanup threading configuration macros.
In particular, define __STL_GTHREADS macro which controls...
* include/bits/stl_threads.h: ...a brand new gthr.h-based
configuration here.
* config/c_io_stdio.h: Include staged gthr.h instead of local
thread configuration file. Always use __gthread_mutex_t
instead of __mutext_type (or int).
* include/bits/std_fstream.h: Likewise.
* docs/html/17_intro/howto.html: Remove placeholder comment in
case this configuration patch didn't make it. Add advice that
section only applies if configured with --enable-threads.
* docs/html/23_containers/howto.html: Reword to make clear
that _PTHREADS is no longer required for any port to be
correctly using STL with threads. Add advice that section
only applies if configured with --enable-threads.
Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
From-SVN: r42998
Alexandre Oliva [Fri, 8 Jun 2001 03:21:07 +0000 (03:21 +0000)]
Makefile.in (AS_FOR_TARGET, [...]): If gcc/xgcc is built, use -print-prog-name to find out the program name to use.
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.
From-SVN: r42996
Joseph Myers [Fri, 8 Jun 2001 02:43:47 +0000 (03:43 +0100)]
* doc/gcc.texi: Add trailing slash to URL.
From-SVN: r42995
Stan Shebs [Fri, 8 Jun 2001 02:28:04 +0000 (02:28 +0000)]
darwin.h (ENCODE_SECTION_INFO): Define.
* config/darwin.h (ENCODE_SECTION_INFO): Define.
(REDO_SECTION_INFO_P): Ditto.
(STRIP_NAME_ENCODING): Ditto.
(ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
(ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
(GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
* config/darwin.c: No longer include c-tree.h.
(machopic_classify_ident): Rewrite to use symbol encoding.
(lookup_name_darwin): Remove.
(machopic_non_lazy_ptr_name): Handle encoded symbols.
(machopic_stub_name): Use STRIP_NAME_ENCODING.
(machopic_validate_stub_or_non_lazy_ptr): Ditto.
(machopic_finish): Ditto, remove test of decl.
(update_non_lazy_ptrs): New function.
(darwin_encode_section_info): New function.
* config/darwin-protos.h: Declare it.
* config/rs6000/rs6000.c (machopic_output_stub): Use
STRIP_NAME_ENCODING.
From-SVN: r42994
Mark Mitchell [Fri, 8 Jun 2001 02:05:04 +0000 (02:05 +0000)]
tree.h (DECL_SOURCE_FILE): Improve documentation.
* tree.h (DECL_SOURCE_FILE): Improve documentation.
(DECL_SOURCE_LINE): Likewise.
* decl.c (duplicate_decls): Update source position information
when a template function is defined.
From-SVN: r42993
Loren J. Rittle [Fri, 8 Jun 2001 00:47:58 +0000 (00:47 +0000)]
elf.h (MAKE_DECL_ONE_ONLY): Copy definition from config/elfos.h.
* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
from config/elfos.h.
From-SVN: r42991
Phil Edwards [Thu, 7 Jun 2001 23:54:24 +0000 (23:54 +0000)]
lang-specs.h: Move -D_GNU_SOURCE to config/linux.h.
2001-06-07 Phil Edwards <pme@sources.redhat.com>
* cp/lang-specs.h: Move -D_GNU_SOURCE to config/linux.h.
* config/linux.h (CPLUSPLUS_CPP_SPEC): Move -D_GNU_SOURCE to here.
* config/pa/pa-linux.h: Allow CPLUSPLUS_CPP_SPEC to remain.
From-SVN: r42989
Joseph Myers [Thu, 7 Jun 2001 23:38:07 +0000 (00:38 +0100)]
* doc/contrib.texi: Add copyright notice.
From-SVN: r42987
Joseph Myers [Thu, 7 Jun 2001 23:36:01 +0000 (00:36 +0100)]
* doc/md.texi: Use four digit years in copyright notice.
From-SVN: r42985
Joseph Myers [Thu, 7 Jun 2001 23:21:29 +0000 (00:21 +0100)]
config.gcc: For $target_alias of athlon-*, set target_cpu_default2=5.
* config.gcc: For $target_alias of athlon-*, set
target_cpu_default2=5.
From-SVN: r42984
DJ Delorie [Thu, 7 Jun 2001 21:43:18 +0000 (17:43 -0400)]
Fix entry - forgot to mention *.1 moved to doc
From-SVN: r42981
Richard Kenner [Thu, 7 Jun 2001 20:17:28 +0000 (20:17 +0000)]
global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after end of last block if...
* global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
end of last block if last real insn is a JUMP_INSN.
From-SVN: r42977
Joseph Myers [Thu, 7 Jun 2001 18:17:38 +0000 (19:17 +0100)]
gennews: Update for GCC 3.0.
contrib:
* gennews: Update for GCC 3.0.
gcc:
* NEWS: Regenerate.
From-SVN: r42975
Rainer Orth [Thu, 7 Jun 2001 17:22:20 +0000 (17:22 +0000)]
gthr-posix.h (__gthread_objc_thread_detach): Simply cast pthread_t to objc_thread_t.
* gthr-posix.h (__gthread_objc_thread_detach): Simply cast
pthread_t to objc_thread_t.
(__gthread_objc_thread_id): Likewise.
From-SVN: r42974
Rainer Orth [Thu, 7 Jun 2001 17:04:51 +0000 (17:04 +0000)]
osf5.h (CPP_XFLOAT_SPEC): Override default definition.
* alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
(ASM_OLDAS_SPEC): Likewise.
* alpha/osf.h (CPP_XFLOAT_SPEC): Define.
(CPP_SUBTARGET_SPEC): Use it.
(ASM_OLDAS_SPEC): Define.
(ASM_SPEC): Use it.
(SUBTARGET_EXTRA_SPECS): Define, declare the new specs above.
From-SVN: r42971
Rainer Orth [Thu, 7 Jun 2001 16:56:31 +0000 (16:56 +0000)]
alpha.c (alpha_va_arg): Handle TFmode, TCmode args, passed by reference.
* config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
passed by reference.
From-SVN: r42969
Joseph Myers [Thu, 7 Jun 2001 16:41:27 +0000 (17:41 +0100)]
tm.texi (TARGET_SWITCHES, [...]): Adjust markup.
* doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
Document use of N_(...), and show it in examples. Note that
documentation should be added to invoke.texi. Avoid an overfull
hbox.
From-SVN: r42965
Nathan Sidwell [Thu, 7 Jun 2001 16:15:45 +0000 (16:15 +0000)]
re PR c++/2914 (gcc 3.0 crashes on xalan DoubleSupport.cpp)
cp:
PR c++/2914
* decl.c (pushtag): Don't push into a complete type's scope.
testsuite:
* g++.old-deja/g++.ext/anon3.C: New test.
From-SVN: r42962
Jan Hubicka [Thu, 7 Jun 2001 15:10:58 +0000 (17:10 +0200)]
toplev.c (rest_of_compilation): Revert previous patch.
* toplev.c (rest_of_compilation): Revert previous patch.
* final.c (shorten_branches): Likewise.
From-SVN: r42961
Gerald Pfeifer [Thu, 7 Jun 2001 13:58:25 +0000 (15:58 +0200)]
pself.c, [...]: Remove.
* pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
Remove.
From-SVN: r42959
Joseph Myers [Thu, 7 Jun 2001 11:38:06 +0000 (12:38 +0100)]
* doc/install-old.texi: Remove more obsolete documentation.
From-SVN: r42957
Jan Hubicka [Thu, 7 Jun 2001 11:23:34 +0000 (13:23 +0200)]
Thu Jun 7 13:20:14 CEST 2001 Jan Hubicka <jh@suse.cz>
* expr.c (copy_blkmode_from_reg): Fix operand_subword_force call.
Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_compilation): Call split_all_insns
before reg-stack and shorten-branches. Do shorten-branches
after reg-stack.
* final.c (shorten_branches): Remove insn splitting code.
From-SVN: r42956
Nathan Sidwell [Thu, 7 Jun 2001 08:32:03 +0000 (08:32 +0000)]
configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.
From-SVN: r42955
Andreas Jaeger [Thu, 7 Jun 2001 07:54:54 +0000 (09:54 +0200)]
* emit-rtl.c (operand_subword): Remove unused variable.
From-SVN: r42953
Joseph Myers [Thu, 7 Jun 2001 07:27:49 +0000 (08:27 +0100)]
update_web_docs, [...]: Check out files that may be in the Attic.
* update_web_docs, doc_exclude: Check out files that may be in the
Attic. Check out texinfo.tex. Don't generate anything from
c-tree.texi. Generate PostScript output from manuals.
From-SVN: r42952
GCC Administrator [Thu, 7 Jun 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42950
Jason Merrill [Wed, 6 Jun 2001 21:52:52 +0000 (17:52 -0400)]
cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose.
* cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose.
(struct lang_decl_flags): Lose generate_with_vtable_p.
(BV_GENERATE_THUNK_WITH_VTABLE_P): Lose.
* class.c (copy_virtuals): Adjust.
* decl2.c (mark_vtable_entries): Adjust.
* method.c (make_thunk, build_vtable_entry): Adjust.
* class.c (update_vtable_entry_for_fn): Only look as far as the
first defining class.
(build_vtbl_initializer): Put nothing in the slot for a function only
defined in a lost primary virtual base.
(add_vcall_offset_vtbl_entries_1): Use the same code for
the lost primary case and the normal case.
(dfs_unshared_virtual_bases): Don't lose a non-virtual primary base.
(get_vfield_offset, get_derived_offset): Lose.
(dfs_find_final_overrider): Use look_for_overrides_here.
(get_matching_virtual): New fn.
* semantics.c (emit_associated_thunks): Check BV_USE_VCALL_INDEX_P,
not BV_VCALL_INDEX.
* search.c (look_for_overrides_here): Split out from...
(look_for_overrides_r): Here.
* class.c (find_final_overrider): Return error_mark_node on error.
From-SVN: r42949
John David Anglin [Wed, 6 Jun 2001 17:10:52 +0000 (17:10 +0000)]
call.c (convert_default_arg): Use INTEGRAL_TYPE_P.
* call.c (convert_default_arg): Use INTEGRAL_TYPE_P.
(build_over_call): Likewise.
* decl.c (grokparms): Likewise.
* pt.c (tsubst_decl): Likewise.
* typeck.c (convert_arguments): Likewise.
From-SVN: r42947
Jan Hubicka [Wed, 6 Jun 2001 12:57:31 +0000 (14:57 +0200)]
i386.md (floatdi?f): Avoid usinf of SSE instructions if TARGET_64BIT is false.
* i386.md (floatdi?f): Avoid usinf of SSE instructions
if TARGET_64BIT is false.
(floatdi?f_i386_only): New insn.
(floatdi?f_i386): Disable for !TARGET_64BIT.
* (min?f, max?f splitters): Handle case where
operands are cross-matched.
* i386.h (HI_REGISTER_NAMES): Remove redundant definition
(MMX_REGISTER_NAMES): Kill.
(PRINT_OPERAND): Fix comment.
(PRINT_REG): Likewise.
* i386.c (print_reg): Kill support for 'm' CODE; simplify.
(print_operand): Update comment; kill 'm'.
* i386.c (x86_branch_hints): New global variable
(print_operand): Support outputting of branch prediction hints.
* i386.md (conditional jump patterns): Add branch prediction hints
to the template.
* i386.h (x86_branch_hints): Declare
(TARGET_BRANCH_PREDICTION_HINTS): New macro.
(PRINT_OPERAND_FUNCT_VALID_P): New.
* final.c (final_forward_branch_p): New function.
From-SVN: r42945
Benjamin Kosnik [Wed, 6 Jun 2001 08:49:10 +0000 (08:49 +0000)]
string-inst.cc (_Rep::_S_max_size): Add instantiation.
2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
* src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
From-SVN: r42943
Richard Henderson [Wed, 6 Jun 2001 07:33:57 +0000 (00:33 -0700)]
flow.c (mark_used_reg): Clean up looping over multiple hard registers.
* flow.c (mark_used_reg): Clean up looping over multiple hard
registers. Do conditional life bits across multiple hard regs.
From-SVN: r42942
GCC Administrator [Wed, 6 Jun 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42939
Mark Mitchell [Wed, 6 Jun 2001 07:03:03 +0000 (07:03 +0000)]
* semantics.c (begin_class_definition): Robustify.
From-SVN: r42937
Jeffrey D. Oldham [Wed, 6 Jun 2001 03:32:54 +0000 (03:32 +0000)]
reload1.c (reload): Revert Schmidt's change so all USEs are not deleted during reload.
2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com>
* reload1.c (reload): Revert Schmidt's change so all USEs are not
deleted during reload.
From-SVN: r42935
Mark Mitchell [Wed, 6 Jun 2001 03:15:33 +0000 (03:15 +0000)]
pt.c (instantiate_decl): Tell the repository code about the clones, not the cloned functions.
* pt.c (instantiate_decl): Tell the repository code about the
clones, not the cloned functions.
* repo.c (repo_template_used): Explicitly instantiate the cloned
function, not the clones.
From-SVN: r42931
Mark Mitchell [Wed, 6 Jun 2001 03:08:21 +0000 (03:08 +0000)]
c-semantics.c (genrtl_scope_stmt): Write out nested inline functions here, instead of ...
* c-semantics.c (genrtl_scope_stmt): Write out nested inline
functions here, instead of ...
* c-decl.c (c_expand_body): ... here.
From-SVN: r42930
Jeff Sturm [Wed, 6 Jun 2001 02:53:52 +0000 (02:53 +0000)]
libjava.exp (libjava_arguments): Build with `-no-install' when $mode == "link".
* lib/libjava.exp (libjava_arguments): Build with `-no-install'
when $mode == "link".
From-SVN: r42928
David O'Brien [Wed, 6 Jun 2001 02:13:37 +0000 (02:13 +0000)]
config.gcc, bsd.h: Do not directly include sparc/sparc.h.
2001-06-05 David O'Brien <obrien@FreeBSD.org>
* config.gcc, config/sparc/bsd.h: Do not directly include
sparc/sparc.h. Instead do it via tm_file.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20010604154759.G25044@redhat.com>
From-SVN: r42927
Richard Henderson [Wed, 6 Jun 2001 01:57:49 +0000 (18:57 -0700)]
dwarf2.h (DW_EH_PE_aligned): New.
* dwarf2.h (DW_EH_PE_aligned): New.
* dwarf2asm.c (eh_data_format_name): Name it.
(dw2_asm_output_encoded_addr_rtx): Align for it.
* dwarf2out.c (output_call_frame_info): Handle it for personality
routine and LSDA pointers.
* unwind-pe.h (DW_EH_PE_aligned): New.
(base_of_encoded_value): Handle it.
(read_encoded_value_with_base): Likewise.
* unwind-dw2-fde.c (base_from_object): Likewise.
(get_cie_encoding): Likewise.
* config/alpha/elf.h: Remove ecoff commentary.
* config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
From-SVN: r42926
David O'Brien [Wed, 6 Jun 2001 01:54:45 +0000 (01:54 +0000)]
config.gcc, bsd386.h: Do not directly include i386/386bsd.h.
2001-06-05 David O'Brien <obrien@FreeBSD.org>
* config.gcc, config/i386/bsd386.h: Do not directly include
i386/386bsd.h. Instead do it via tm_file.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20010604154739.F25044@redhat.com>
From-SVN: r42925
Benjamin Kosnik [Wed, 6 Jun 2001 01:31:58 +0000 (01:31 +0000)]
basic_ios.tcc: Formatting tweaks.
2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3045
* include/bits/basic_ios.tcc: Formatting tweaks.
* include/bits/ios_base.h: Formatting tweaks.
* src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
(ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
* src/globals.cc: Allocate filebufs for standard streams here.
(buf_cout, buf_cin, buf_cerr): Like so.
(buf_wcout, buf_wcin, buf_wcerr): And so.
* testsuite/27_io/ios_init.cc: Add.
From-SVN: r42922
David O'Brien [Wed, 6 Jun 2001 00:46:01 +0000 (00:46 +0000)]
elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same way svr4.h does.
2001-06-05 David O'Brien <obrien@FreeBSD.org>
* elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same
way svr4.h does.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20010604154656.E25044@redhat.com>
From-SVN: r42921
Pascal Obry [Tue, 5 Jun 2001 22:00:22 +0000 (00:00 +0200)]
configure.in: Quote $enable_win32_registry in case the value has spaces in it.
* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.
From-SVN: r42920
Mark Mitchell [Tue, 5 Jun 2001 20:32:41 +0000 (20:32 +0000)]
print-rtl.c (xspaces): Remove.
* print-rtl.c (xspaces): Remove.
(print_rtx): Use printf field-width, rather than xpsaces, to
indent.
* toplev.c (main): Disable sibling-call optimization if we are
handling exceptions.
* reload1.c (reload): Delete all USEs generated during reload.
From-SVN: r42917
Scott Snyder [Tue, 5 Jun 2001 18:38:44 +0000 (18:38 +0000)]
gccbug.in: Fix typo.
2001-06-05 scott snyder <snyder@fnal.gov>
* gccbug.in: Fix typo.
From-SVN: r42913
Andreas Jaeger [Tue, 5 Jun 2001 16:02:56 +0000 (18:02 +0200)]
builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value.
* builtins.def: Fix definition of __builtin_cosf, it uses float as
parameter and return value.
From-SVN: r42911
Alexandre Petit-Bianco [Tue, 5 Jun 2001 15:48:58 +0000 (08:48 -0700)]
expr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments accordingly.
2001-06-04 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (force_evaluation_order): Match wrapped ctor calls, locate
arguments accordingly.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00214.html)
From-SVN: r42910