OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * update_web_docs: Only update the install documentation for the
gerald [Fri, 8 Jun 2001 06:27:47 +0000 (06:27 +0000)]
* update_web_docs: Only update the install documentation for the
CVS HEAD.

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

19 years ago * libsupc++/eh_alloc.cc: Ensure that required macros are
ljrittle [Fri, 8 Jun 2001 03:55:43 +0000 (03:55 +0000)]
* 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.

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

19 years ago * config/threads-no.h: Remove file.
ljrittle [Fri, 8 Jun 2001 03:53:35 +0000 (03:53 +0000)]
* 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.

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

19 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
aoliva [Fri, 8 Jun 2001 03:21:07 +0000 (03:21 +0000)]
* 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.

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

19 years ago * doc/gcc.texi: Add trailing slash to URL.
jsm28 [Fri, 8 Jun 2001 02:43:47 +0000 (02:43 +0000)]
* doc/gcc.texi: Add trailing slash to URL.

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

19 years ago * config/darwin.h (ENCODE_SECTION_INFO): Define.
shebs [Fri, 8 Jun 2001 02:28:04 +0000 (02:28 +0000)]
    * 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.

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

19 years ago * tree.h (DECL_SOURCE_FILE): Improve documentation.
mmitchel [Fri, 8 Jun 2001 02:05:04 +0000 (02:05 +0000)]
* 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.

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

19 years ago * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
ljrittle [Fri, 8 Jun 2001 00:47:58 +0000 (00:47 +0000)]
* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
from config/elfos.h.

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

19 years ago2001-06-07 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 7 Jun 2001 23:54:24 +0000 (23:54 +0000)]
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.

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

19 years ago * doc/contrib.texi: Add copyright notice.
jsm28 [Thu, 7 Jun 2001 23:38:07 +0000 (23:38 +0000)]
* doc/contrib.texi: Add copyright notice.

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

19 years ago * doc/md.texi: Use four digit years in copyright notice.
jsm28 [Thu, 7 Jun 2001 23:36:01 +0000 (23:36 +0000)]
* doc/md.texi: Use four digit years in copyright notice.

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

19 years ago * config.gcc: For $target_alias of athlon-*, set
jsm28 [Thu, 7 Jun 2001 23:21:29 +0000 (23:21 +0000)]
* config.gcc: For $target_alias of athlon-*, set
target_cpu_default2=5.

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

19 years agoFix entry - forgot to mention *.1 moved to doc
dj [Thu, 7 Jun 2001 21:43:18 +0000 (21:43 +0000)]
Fix entry - forgot to mention *.1 moved to doc

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

19 years ago * global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
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 last real insn is a JUMP_INSN.

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

19 years agocontrib:
jsm28 [Thu, 7 Jun 2001 18:17:38 +0000 (18:17 +0000)]
contrib:
* gennews: Update for GCC 3.0.

gcc:
* NEWS: Regenerate.

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

19 years ago * gthr-posix.h (__gthread_objc_thread_detach): Simply cast
ro [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.
(__gthread_objc_thread_id): Likewise.

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

19 years ago * alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
ro [Thu, 7 Jun 2001 17:04:51 +0000 (17:04 +0000)]
* 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.

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

19 years ago * config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
ro [Thu, 7 Jun 2001 16:56:31 +0000 (16:56 +0000)]
* config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
passed by reference.

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

19 years ago * doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
jsm28 [Thu, 7 Jun 2001 16:41:27 +0000 (16:41 +0000)]
* 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.

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

19 years agocp:
nathan [Thu, 7 Jun 2001 16:15:45 +0000 (16:15 +0000)]
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.

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

19 years ago * toplev.c (rest_of_compilation): Revert previous patch.
hubicka [Thu, 7 Jun 2001 15:10:58 +0000 (15:10 +0000)]
* toplev.c (rest_of_compilation): Revert previous patch.
* final.c (shorten_branches): Likewise.

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

19 years ago * pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
gerald [Thu, 7 Jun 2001 13:58:25 +0000 (13:58 +0000)]
* pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
Remove.

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

19 years ago * doc/install-old.texi: Remove more obsolete documentation.
jsm28 [Thu, 7 Jun 2001 11:38:06 +0000 (11:38 +0000)]
* doc/install-old.texi: Remove more obsolete documentation.

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

19 years agoThu Jun 7 13:20:14 CEST 2001 Jan Hubicka <jh@suse.cz>
hubicka [Thu, 7 Jun 2001 11:23:34 +0000 (11:23 +0000)]
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.

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

19 years ago * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
nathan [Thu, 7 Jun 2001 08:32:03 +0000 (08:32 +0000)]
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.

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

19 years ago * emit-rtl.c (operand_subword): Remove unused variable.
aj [Thu, 7 Jun 2001 07:54:54 +0000 (07:54 +0000)]
* emit-rtl.c (operand_subword): Remove unused variable.

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

19 years ago * update_web_docs, doc_exclude: Check out files that may be in the
jsm28 [Thu, 7 Jun 2001 07:27:49 +0000 (07:27 +0000)]
* 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.

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

19 years agoDaily bump.
gccadmin [Thu, 7 Jun 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose.
jason [Wed, 6 Jun 2001 21:52:52 +0000 (21:52 +0000)]
    * 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.

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

19 years ago * call.c (convert_default_arg): Use INTEGRAL_TYPE_P.
danglin [Wed, 6 Jun 2001 17:10:52 +0000 (17:10 +0000)]
* 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.

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

19 years ago * i386.md (floatdi?f): Avoid usinf of SSE instructions
hubicka [Wed, 6 Jun 2001 12:57:31 +0000 (12:57 +0000)]
* 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.

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

19 years ago2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Jun 2001 08:49:10 +0000 (08:49 +0000)]
2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>

* src/string-inst.cc (_Rep::_S_max_size): Add instantiation.

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

19 years ago * flow.c (mark_used_reg): Clean up looping over multiple hard
rth [Wed, 6 Jun 2001 07:33:57 +0000 (07:33 +0000)]
    * flow.c (mark_used_reg): Clean up looping over multiple hard
        registers.  Do conditional life bits across multiple hard regs.

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

19 years agoDaily bump.
gccadmin [Wed, 6 Jun 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * semantics.c (begin_class_definition): Robustify.
mmitchel [Wed, 6 Jun 2001 07:03:03 +0000 (07:03 +0000)]
* semantics.c (begin_class_definition): Robustify.

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

19 years ago2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Wed, 6 Jun 2001 03:32:54 +0000 (03:32 +0000)]
2001-06-05  Jeffrey D. Oldham  <oldham@codesourcery.com>

* reload1.c (reload): Revert Schmidt's change so all USEs are not
deleted during reload.

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

19 years ago * pt.c (instantiate_decl): Tell the repository code about the
mmitchel [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.
* repo.c (repo_template_used): Explicitly instantiate the cloned
function, not the clones.

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

19 years ago * c-semantics.c (genrtl_scope_stmt): Write out nested inline
mmitchel [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-decl.c (c_expand_body): ... here.

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

19 years ago* lib/libjava.exp (libjava_arguments): Build with `-no-install'
jsturm [Wed, 6 Jun 2001 02:53:52 +0000 (02:53 +0000)]
* lib/libjava.exp (libjava_arguments): Build with `-no-install'
when $mode == "link".

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

19 years ago2001-06-05 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 6 Jun 2001 02:13:37 +0000 (02:13 +0000)]
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>

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

19 years ago * dwarf2.h (DW_EH_PE_aligned): New.
rth [Wed, 6 Jun 2001 01:57:49 +0000 (01:57 +0000)]
    * 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.

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

19 years ago2001-06-05 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 6 Jun 2001 01:54:45 +0000 (01:54 +0000)]
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>

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

19 years ago2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Jun 2001 01:31:58 +0000 (01:31 +0000)]
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.

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

19 years ago2001-06-05 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 6 Jun 2001 00:46:01 +0000 (00:46 +0000)]
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>

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

19 years ago* configure.in: Quote $enable_win32_registry in case the value has
dj [Tue, 5 Jun 2001 22:00:22 +0000 (22:00 +0000)]
* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.

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

19 years ago * print-rtl.c (xspaces): Remove.
mmitchel [Tue, 5 Jun 2001 20:32:41 +0000 (20:32 +0000)]
* 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.

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

19 years ago2001-06-05 scott snyder <snyder@fnal.gov>
pme [Tue, 5 Jun 2001 18:38:44 +0000 (18:38 +0000)]
2001-06-05  scott snyder  <snyder@fnal.gov>

* gccbug.in:  Fix typo.

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

19 years ago * builtins.def: Fix definition of __builtin_cosf, it uses float as
aj [Tue, 5 Jun 2001 16:02:56 +0000 (16:02 +0000)]
* builtins.def: Fix definition of __builtin_cosf, it uses float as
parameter and return value.

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

19 years ago2001-06-04 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Tue, 5 Jun 2001 15:48:58 +0000 (15:48 +0000)]
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)

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

19 years agoRemove -Amachine and -Acpu from here.
green [Tue, 5 Jun 2001 13:06:54 +0000 (13:06 +0000)]
Remove -Amachine and -Acpu from here.

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

19 years agocp:
nathan [Tue, 5 Jun 2001 12:53:52 +0000 (12:53 +0000)]
cp:
* call.c (build_user_type_conversion_1): Set ICS_USER_FLAG and
ICS_BAD_FLAG on created conversion.
(compare_ics): Break out rank.
testsuite:
* g++.old-deja/g++.other/conv7.C: New test.

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

19 years ago * decl.c (xref_tag): Remove extraneous %s on dependent name
nathan [Tue, 5 Jun 2001 11:57:59 +0000 (11:57 +0000)]
* decl.c (xref_tag): Remove extraneous %s on dependent name
lookup warning.

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

19 years ago * class.c (layout_vtable_decl): Fix off by one error on
nathan [Tue, 5 Jun 2001 11:53:28 +0000 (11:53 +0000)]
* class.c (layout_vtable_decl): Fix off by one error on
build_index_type.
(build_vtt): Likewise.
(build_ctor_vtbl_group): Likewise.

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

19 years ago Correct CVS resurrection of invoke.texi.
nathan [Tue, 5 Jun 2001 10:36:31 +0000 (10:36 +0000)]
Correct CVS resurrection of invoke.texi.
* doc/invoke.texi: Document new tree dump flags.

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

19 years agoUpdate comments for ARRAY_RANGE_REF
kenner [Tue, 5 Jun 2001 10:27:44 +0000 (10:27 +0000)]
Update comments for ARRAY_RANGE_REF

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

19 years ago * c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
jsm28 [Tue, 5 Jun 2001 10:16:57 +0000 (10:16 +0000)]
* c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
for casting an aggregate to its own type.  Fixes PR c/2735.

testsuite:
* gcc.c-torture/compile/20010605-2.c: New test.

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

19 years ago2001-06-05 Martin Kahlert <martin.kahlert@infineon.com>
bryce [Tue, 5 Jun 2001 09:46:36 +0000 (09:46 +0000)]
2001-06-05  Martin Kahlert  <martin.kahlert@infineon.com>
    Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors
table index is within allowed bounds. Ensure that we dont try to access
class itable at a negative offset. Avoid an ancestor table lookup if
source is a primitive type class.
(isInstance): Remove redundant isPrimitive() check.

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

19 years ago * doc/texinfo.tex: Update to version 2001-05-24.08.
jsm28 [Tue, 5 Jun 2001 09:15:02 +0000 (09:15 +0000)]
* doc/texinfo.tex: Update to version 2001-05-24.08.

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

19 years ago * c-common.h (flag_dump_translation_unit): Remove.
nathan [Tue, 5 Jun 2001 08:03:45 +0000 (08:03 +0000)]
* c-common.h (flag_dump_translation_unit): Remove.
(enum tree_dump_index): Define.
(TDF_ADDRESS, TDF_SLIM): New #defines.
(dump_node_to_file): Remove.
(dump_node): Make extern. Add flags.
(dump_flag, dump_enabled_p, dump_begin, dump_end,
dump_switch_p): Prototype.
* c-common.c (flag_dump_translation_unit): Remove.
* c-decl.c (c_decode_option): Remove -fdump-translation-unit
logic. Use dump_switch_p.
* c-dump.h (struct dump_info): Add node and user fields.
(dump_pointer): Declare.
* c-dump.c (dump_node): Make extern. Add flags.
(SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
(dump_new_line, dump_maybe_newline): Use them.
(dump_pointer): New function.
(dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
chain or function's body. Dump address, if TDF_ADDRESS set.
(dump_flag): Define.
(dump_node_to_file): Remove.
(struct dump_file_info): New struct.
(dump_files): New array.
(dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
* c-lang.c (finish_file): Adjust dumping.
* toplev.h (dump_base_name): Make extern.
* invoke.texi: Document new flags.
cp:
* class.c (maybe_indent_hierarchy): New function.
(dump_class_hierarchy_r): Add flags. Dump extra binfo
information, if enabled. Use maybe_indent_hierarchy. Adjust
output format.
(dump_class_hierarchy): Adjust prototype. Adjust output format.
(dump_array, dump_vtable, dump_vtt): New functions.
(finish_struct_1): Adjust hierarchy dumping.
(initialize_vtable): Call dump_vtable.
(build_vtt): Call dump_vtt.
(build_ctor_vtbl_group): Call dump_vtable.
* decl2.c (flag_dump_class_layout): Remove.
(cxx_decode_option): Remove dump translation unit
and dump class hierarchy check. Call dump_switch_p.
(finish_file): Adjust dumping.
(dump.c): Only dump base classes if not TDF_SLIM.
Only dump namespace members if not TDF_SLIM.
* optimize.c (dump_function): New function.
(optimize_function): Call dump_function.
* semantics.c (expand_body): Use dump_enabled_p.

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

19 years agoDaily bump.
gccadmin [Tue, 5 Jun 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * c-tree.h (lang_decl): Add pending_sizes fields.
mmitchel [Tue, 5 Jun 2001 06:51:02 +0000 (06:51 +0000)]
* c-tree.h (lang_decl): Add pending_sizes fields.
* c-decl.c (store_parm_decls): Save pending_sizes away for nested
functions.
(c_expand_body): Expand them.
(lang_mark_tree): Mark lang_decl:pending_sizes.
* function.c (expand_pending_sizes): New function, broken out
from ...
(expand_function_start): ... here.
* tree.h (expand_pending_sizes): Declare it.

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

19 years ago * doc/install.texi: Update FreeBSD information. Generalize
ljrittle [Mon, 4 Jun 2001 22:56:53 +0000 (22:56 +0000)]
* doc/install.texi: Update FreeBSD information.  Generalize
and update information for alpha-based platforms using ELF.

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

19 years ago * java/security/PublicKey.java: Extend Key.
tromey [Mon, 4 Jun 2001 22:55:49 +0000 (22:55 +0000)]
* java/security/PublicKey.java: Extend Key.
* java/security/PrivateKey.java: Extend Key.

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

19 years ago2001-06-04 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 4 Jun 2001 21:32:44 +0000 (21:32 +0000)]
2001-06-04  Phil Edwards  <pme@sources.redhat.com>

* config.guess:  Import CVS version 1.194.  All gcc-local changes
appear to also be in the master copy.
* config.sub:  Import CVS version 1.211.

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

19 years ago * gcc.c-torture/execute/20010604-1.c: New test.
danglin [Mon, 4 Jun 2001 20:30:45 +0000 (20:30 +0000)]
* gcc.c-torture/execute/20010604-1.c: New test.

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

19 years ago * c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
danglin [Mon, 4 Jun 2001 20:26:16 +0000 (20:26 +0000)]
* c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
(store_parm_decls): Likewise.
* c-typeck.c (convert_arguments): Likewise.

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

19 years ago * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
rth [Mon, 4 Jun 2001 20:20:35 +0000 (20:20 +0000)]
    * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
        optimization if current_function_calls_setjmp.

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

19 years ago * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
jsm28 [Mon, 4 Jun 2001 19:50:50 +0000 (19:50 +0000)]
* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
wide strings.

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

19 years ago* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
aoliva [Mon, 4 Jun 2001 19:33:03 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

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

19 years ago2001-06-04 Brendan Kehoe <brendan@zen.org>
bkoz [Mon, 4 Jun 2001 19:25:41 +0000 (19:25 +0000)]
2001-06-04  Brendan Kehoe  <brendan@zen.org>
    Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3017
* include/bits/locale_facets.h (ctype<_CharT>): Add definitions
for generic ctype virtuals.
* src/locale.cc: Minor tweaks, naming consistency.
* testsuite/22_locale/ctype.cc: Add test.

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

19 years ago* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
aoliva [Mon, 4 Jun 2001 19:24:57 +0000 (19:24 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

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

19 years ago* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.
ljrittle [Mon, 4 Jun 2001 19:02:11 +0000 (19:02 +0000)]
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.

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

19 years ago * simplify-rtx.c (simplify_subreg): Fix combining of
hubicka [Mon, 4 Jun 2001 18:44:57 +0000 (18:44 +0000)]
* simplify-rtx.c (simplify_subreg): Fix combining of
paradoxical subregs.

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

19 years ago * rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
hubicka [Mon, 4 Jun 2001 18:16:34 +0000 (18:16 +0000)]
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
(no_labels_between_p): Short circuit case beg==end.

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

19 years ago2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
pme [Mon, 4 Jun 2001 18:04:52 +0000 (18:04 +0000)]
2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
            Phil Edwards  <pme@sources.redhat.com>

PR libstdc++/3035 and PR libstdc++/3036
* include/bits/stl_pair.h:  Fix pair ctor and make_pair according
to LWG DR 181 and 265.

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

19 years ago * rtlanal.c (operand_preference): Fix preference for objects.
hubicka [Mon, 4 Jun 2001 18:04:36 +0000 (18:04 +0000)]
* rtlanal.c (operand_preference): Fix preference for objects.

* gcse.c (handle_avail_expr): Be prepared to handle single_set
parallels.

* combine.c (if_then_else_cond): Use simplify_subreg instead
of operand_subword.
* integreate.c (sub_constants): Likewise.

* emit-rtl.c (constant_subword): Deprecate; remove most of code
and use simplify_gen_subreg.

Mon Jun  4 19:55:23 CEST 2001  Lars Brinkhoff  <lars@nocrew.org>

* sibcall.c (skip_copy_to_return_value): recognize the situation
when the called function's return value is copied into an
intermediate pseudo, and then into the calling functions return
value register.

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

19 years ago2001-06-04 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 4 Jun 2001 17:50:18 +0000 (17:50 +0000)]
2001-06-04  Phil Edwards  <pme@sources.redhat.com>

PR libstdc++/3034
* include/bits/stl_multiset.h (find, lower_bound, upper_bound,
equal_range):  Add const overloads as per LWG DR 214.
* include/bits/stl_set.h:  Likewise.

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

19 years ago2001-06-04 Brendan Kehoe <brendan@zen.org>
pme [Mon, 4 Jun 2001 17:42:22 +0000 (17:42 +0000)]
2001-06-04  Brendan Kehoe  <brendan@zen.org>
            Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
comparison; all positions must be < _Nb.
* testsuite/23_containers/bitset_members.cc:  New file.

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

19 years ago2001-06-04 Brendan Kehoe <brendan@zen.org>
pme [Mon, 4 Jun 2001 17:34:36 +0000 (17:34 +0000)]
2001-06-04  Brendan Kehoe  <brendan@zen.org>

PR libstdc++/3016
* include/bits/stl_queue.h (classes queue, priority_queue):  Fix
ctors to match the standard.

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

19 years ago2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 4 Jun 2001 16:57:04 +0000 (16:57 +0000)]
2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>

* include/bits/char_traits.h (move): Reverse qualification of
memmove with std::.
(copy): Reverse qualification of memcpy with std::.

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

19 years ago * doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
kenner [Mon, 4 Jun 2001 15:48:16 +0000 (15:48 +0000)]
* doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
(ARRAY_RANGE_REF): Added description.

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

19 years ago2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 4 Jun 2001 15:46:03 +0000 (15:46 +0000)]
2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>

* include/bits/char_traits.h (move): Qualify memmove with std::.
(copy): Qualify memcpy with std::.
* testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
strncmp with std::.
(test02): Likewise.
* testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.

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

19 years ago2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 4 Jun 2001 15:23:05 +0000 (15:23 +0000)]
2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>

* lib/g++.exp (g++_include_flags): Change `args' to gccpath's value.
(g++_link_flags): Likewise.
(g++_init): Pass gccpath's value to two previous functions.

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

19 years ago * simplify_rtx.c (simplify_subreg): Keep subregs on return values,
hubicka [Mon, 4 Jun 2001 14:52:14 +0000 (14:52 +0000)]
* simplify_rtx.c (simplify_subreg): Keep subregs on return values,
check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg,
in case register wasn't OK previously, accept it now; allow
subregs of frame pointer if reload completed and frame pointer
is not needed.

* combine.c (sombine_simplify_rtx): Fix comment;
use subreg_lowpart_offset instead of subreg_lowpart_p
(gen_lowpart_for_combine): Use subreg_lowpart_offset.
* rtl.h (subreg_lowpart_parts_p): Kill.
(subreg_lowpart_offset, subreg_highpart_offset): Declare.
* simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset.
* emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset;
(gen_lowpart_common): Likewise.
(subreg_lowpart_p): Likewise.
(subreg_lowpart_parts_p): Kill.
(subreg_lowpart_offset, subreg_highpart_offset): New function.

* emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
to simplify SUBREG and REG.
(gen_highpart): Use simplify_gen_subreg for all simplifications.

* emit-rtl.c (gen_realpart, gen_imagpart): Do not handle
CONCAT specially.

* rtlanal.c (replace_regs):  Use simplify_gen_subreg

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

19 years ago * update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New
gerald [Mon, 4 Jun 2001 14:12:47 +0000 (14:12 +0000)]
* update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New
variables.
Fix a comment and add another one.
Generate the installation documentation in HTML format from
gcc/doc/install.texi.

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

19 years ago * tree.def (ARRAY_RANGE_REF): New code.
kenner [Mon, 4 Jun 2001 13:21:38 +0000 (13:21 +0000)]
* tree.def (ARRAY_RANGE_REF): New code.
* alias.c (handled_component_p, can_address_p): Handle it.
* dwarf2out.c (loc_descriptor_from_tree): Likewise.
* explow.c (set_mem_attributes): Likewise.
* expr.c (expand_assignment, get_inner_reference): Likewise.
(expand_expr, expand_expr_unaligned, do_jump): Likewise.
* fold-const.c (operand_equal_p): Likewise.
* tree.c (staticp, stabilize_reference): Likewise.
* varasm.c (decode_addr_const): Likewise.

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

19 years agoDaily bump.
gccadmin [Mon, 4 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
hp [Mon, 4 Jun 2001 02:24:06 +0000 (02:24 +0000)]
* libsupc++/Makefile.am (install-glibcppinstallHEADERS,
uninstall-glibcppinstallHEADERS): Have explicit rules catering to
SUN make VPATH peculiarities.
* libsupc++/Makefile.in: Regenerate.

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

19 years ago * reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
kenner [Mon, 4 Jun 2001 01:58:24 +0000 (01:58 +0000)]
* reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
(push_reload): Handle non-REG in reload_inner_reg_of_subreg case.

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

19 years ago* gcc/config/sh/sh.c (print_operand_address, print_operand): Call
aoliva [Mon, 4 Jun 2001 00:20:46 +0000 (00:20 +0000)]
* gcc/config/sh/sh.c (print_operand_address, print_operand): Call
mark_constant_pool_use before output_addr_const.
(struct pool_node): New field wend.
(add_constant): Note a sequence of constants that are referenced
by a given label.
(pool_window_label, pool_window_last): New variables.
(dump_table): Emit a unspec_volatile representing the end of a
sequence of constants.
(mark_constant_pool_use): New function.
* gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
(consttable_2): Add the second operand which flags whether
this consttable entry was used or not.
(consttable_4, consttable_8, consttable_sf, consttable_df):
Likewise.
(consttable_window_end): New insn.

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

19 years agoMinor whitespace edits
kenner [Mon, 4 Jun 2001 00:19:17 +0000 (00:19 +0000)]
Minor whitespace edits

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

19 years ago* insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
aoliva [Sun, 3 Jun 2001 22:58:08 +0000 (22:58 +0000)]
* insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
Reformat according to coding standards.

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

19 years agoWarning removal.
aoliva [Sun, 3 Jun 2001 22:50:27 +0000 (22:50 +0000)]
Warning removal.
* config/sh/sh.c (print_operand_address): Cast INTVAL to int.
(shl_and_kind): Cast wide constant.
(gen_far_branch): Define as static, as in declaration.
(barrier_align): Compute cache-line length as unsigned.  Add
parentheses in initial credit computation.
(rounded_frame_size): Add parentheses.
(permanent_obstack): Remove declaration.  Include ggc.h for
declaration of ggc_add_root_rtx().
(get_free_reg): Removed declaration of unused variable reg.
(legitimize_pic_address): Mark mode argument as unused.

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

19 years ago* config/sh/sh.c (output_branch): Support for insn with lenght
aoliva [Sun, 3 Jun 2001 22:17:11 +0000 (22:17 +0000)]
* config/sh/sh.c (output_branch): Support for insn with lenght
attr 12 & 16 which represents cond branches outside +-4096 range.

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

19 years ago* config/sh/lib1funcs.asm (ic_invalidate): Align the
aoliva [Sun, 3 Jun 2001 22:08:26 +0000 (22:08 +0000)]
* config/sh/lib1funcs.asm (ic_invalidate): Align the
cache-mirroring sequence.  Add nops.

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

19 years ago * doc/install-old.texi: Remove more old installation
jsm28 [Sun, 3 Jun 2001 19:06:55 +0000 (19:06 +0000)]
* doc/install-old.texi: Remove more old installation
documentation.
* doc/install.texi: Add relevant parts here.

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

19 years ago2001-06-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 3 Jun 2001 14:14:26 +0000 (14:14 +0000)]
2001-06-03  Toon Moene  <toon@moene.indiv.nluug.nl>

* root.texi: Fix typo in patches e-mail address.

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

19 years ago2001-06-03 Andrew Haley <aph@redhat.com>
aph [Sun, 3 Jun 2001 14:05:38 +0000 (14:05 +0000)]
2001-06-03  Andrew Haley  <aph@redhat.com>

        * src/alpha/osf.S: Add unwind info.
        * src/powerpc/sysv.S: Add unwind info.
        * src/powerpc/ppc_closure.S: Likewise.

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

19 years ago * doc/install.texi2html: New script.
gerald [Sun, 3 Jun 2001 12:11:43 +0000 (12:11 +0000)]
* doc/install.texi2html: New script.

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

19 years ago2001-06-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 3 Jun 2001 11:45:59 +0000 (11:45 +0000)]
2001-06-03  Toon Moene  <toon@moene.indiv.nluug.nl>
    Jan van Male  <jan.vanmale@fenk.wau.nl>

* root.texi: Define `help' and `patches' mailing list
addresses.
* news.texi: Remove `prerelease' from 0.5.26
* g77.texi: Use two spaces between command options, eliminate
some 'overfull hboxes'.  Use help and patches mailing list
addresses where appropriate.

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