gcc.git
23 years agoltcf-c.sh (archive_cmd): Use gcc to link shared archives.
John David Anglin [Mon, 4 Jun 2001 19:24:57 +0000 (19:24 +0000)]
ltcf-c.sh (archive_cmd): Use gcc to link shared archives.

* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

From-SVN: r42870

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

From-SVN: r42869

23 years agosimplify-rtx.c (simplify_subreg): Fix combining of paradoxical subregs.
Jan Hubicka [Mon, 4 Jun 2001 18:44:57 +0000 (20:44 +0200)]
simplify-rtx.c (simplify_subreg): Fix combining of paradoxical subregs.

* simplify-rtx.c (simplify_subreg): Fix combining of
paradoxical subregs.

From-SVN: r42868

23 years agortlanal.c (rtx_unsable_p): ADDRESSOF is stable.
Jan Hubicka [Mon, 4 Jun 2001 18:16:34 +0000 (20:16 +0200)]
rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.

* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
(no_labels_between_p): Short circuit case beg==end.

From-SVN: r42867

23 years agoPR libstdc++/3035 and PR libstdc++/3036
Kenny Simpson [Mon, 4 Jun 2001 18:04:52 +0000 (18:04 +0000)]
PR libstdc++/3035 and PR libstdc++/3036

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.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r42865

23 years agortlanal.c (operand_preference): Fix preference for objects.
Jan Hubicka [Mon, 4 Jun 2001 18:04:36 +0000 (18:04 +0000)]
rtlanal.c (operand_preference): Fix preference for objects.

* 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.

From-SVN: r42864

23 years agore PR libstdc++/3034 (DR 214)
Phil Edwards [Mon, 4 Jun 2001 17:50:18 +0000 (17:50 +0000)]
re PR libstdc++/3034 (DR 214)

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.

From-SVN: r42862

23 years agostd_bitset.h (bitset::test): Fix __pos >= _Nb comparison; all positions must be ...
Brendan Kehoe [Mon, 4 Jun 2001 17:42:22 +0000 (13:42 -0400)]
std_bitset.h (bitset::test): Fix __pos >= _Nb comparison; all positions must be < _Nb.

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.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r42859

23 years agore PR libstdc++/3016 (stl_queue.h bugs wrt compliance)
Brendan Kehoe [Mon, 4 Jun 2001 17:34:36 +0000 (13:34 -0400)]
re PR libstdc++/3016 (stl_queue.h bugs wrt compliance)

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.

From-SVN: r42857

23 years agochar_traits.h (move): Reverse qualification of memmove with std::.
Jeffrey Oldham [Mon, 4 Jun 2001 16:57:04 +0000 (16:57 +0000)]
char_traits.h (move): Reverse qualification of memmove with std::.

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::.

From-SVN: r42856

23 years agoc-tree.texi (ARRAY_REF): Say what type of expression must be.
Richard Kenner [Mon, 4 Jun 2001 15:48:16 +0000 (15:48 +0000)]
c-tree.texi (ARRAY_REF): Say what type of expression must be.

* doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
(ARRAY_RANGE_REF): Added description.

From-SVN: r42855

23 years agochar_traits.h (move): Qualify memmove with std::.
Jeffrey Oldham [Mon, 4 Jun 2001 15:46:03 +0000 (15:46 +0000)]
char_traits.h (move): Qualify memmove with std::.

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.

From-SVN: r42854

23 years agog++.exp (g++_include_flags): Change `args' to gccpath's value.
Jeffrey Oldham [Mon, 4 Jun 2001 15:23:05 +0000 (15:23 +0000)]
g++.exp (g++_include_flags): Change `args' to gccpath's value.

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.

From-SVN: r42852

23 years agosimplify_rtx.c (simplify_subreg): Keep subregs on return values...
Jan Hubicka [Mon, 4 Jun 2001 14:52:14 +0000 (16:52 +0200)]
simplify_rtx.c (simplify_subreg): Keep subregs on return values...

* 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

From-SVN: r42850

23 years agoupdate_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New variables.
Gerald Pfeifer [Mon, 4 Jun 2001 14:12:47 +0000 (16:12 +0200)]
update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New variables.

* 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.

From-SVN: r42849

23 years agotree.def (ARRAY_RANGE_REF): New code.
Richard Kenner [Mon, 4 Jun 2001 13:21:38 +0000 (13:21 +0000)]
tree.def (ARRAY_RANGE_REF): New code.

* 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.

From-SVN: r42848

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

From-SVN: r42846

23 years agoMakefile.am (install-glibcppinstallHEADERS, [...]): Have explicit rules catering...
Hans-Peter Nilsson [Mon, 4 Jun 2001 02:24:06 +0000 (02:24 +0000)]
Makefile.am (install-glibcppinstallHEADERS, [...]): Have explicit rules catering to SUN make VPATH peculiarities.

* libsupc++/Makefile.am (install-glibcppinstallHEADERS,
uninstall-glibcppinstallHEADERS): Have explicit rules catering to
SUN make VPATH peculiarities.
* libsupc++/Makefile.in: Regenerate.

From-SVN: r42844

23 years agoreload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
Richard Kenner [Mon, 4 Jun 2001 01:58:24 +0000 (01:58 +0000)]
reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.

* reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
(push_reload): Handle non-REG in reload_inner_reg_of_subreg case.

From-SVN: r42843

23 years agosh.c (print_operand_address, [...]): Call mark_constant_pool_use before output_addr_c...
Kaz Kojima [Mon, 4 Jun 2001 00:20:46 +0000 (00:20 +0000)]
sh.c (print_operand_address, [...]): Call mark_constant_pool_use before output_addr_const.

* 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.

From-SVN: r42841

23 years agoMinor whitespace edits
Richard Kenner [Mon, 4 Jun 2001 00:19:17 +0000 (20:19 -0400)]
Minor whitespace edits

From-SVN: r42840

23 years agoinsn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
Alexandre Oliva [Sun, 3 Jun 2001 22:58:08 +0000 (22:58 +0000)]
insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.

* insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
Reformat according to coding standards.

From-SVN: r42839

23 years agoWarning removal.
Alexandre Oliva [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.

From-SVN: r42837

23 years agosh.c (output_branch): Support for insn with lenght attr 12 & 16 which represents...
Igor Shevlyakov [Sun, 3 Jun 2001 22:17:11 +0000 (22:17 +0000)]
sh.c (output_branch): Support for insn with lenght attr 12 & 16 which represents cond branches...

* config/sh/sh.c (output_branch): Support for insn with lenght
attr 12 & 16 which represents cond branches outside +-4096 range.

From-SVN: r42835

23 years agolib1funcs.asm (ic_invalidate): Align the cache-mirroring sequence.
Alexandre Oliva [Sun, 3 Jun 2001 22:08:26 +0000 (22:08 +0000)]
lib1funcs.asm (ic_invalidate): Align the cache-mirroring sequence.

* config/sh/lib1funcs.asm (ic_invalidate): Align the
cache-mirroring sequence.  Add nops.

From-SVN: r42833

23 years agoinstall-old.texi: Remove more old installation documentation.
Joseph Myers [Sun, 3 Jun 2001 19:06:55 +0000 (20:06 +0100)]
install-old.texi: Remove more old installation documentation.

* doc/install-old.texi: Remove more old installation
documentation.
* doc/install.texi: Add relevant parts here.

From-SVN: r42831

23 years agoroot.texi: Fix typo in patches e-mail address.
Toon Moene [Sun, 3 Jun 2001 14:14:26 +0000 (16:14 +0200)]
root.texi: Fix typo in patches e-mail address.

2001-06-03  Toon Moene  <toon@moene.indiv.nluug.nl>

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

From-SVN: r42830

23 years agoosf.S: Add unwind info.
Andrew Haley [Sun, 3 Jun 2001 14:05:38 +0000 (14:05 +0000)]
osf.S: Add unwind info.

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.

From-SVN: r42828

23 years ago* doc/install.texi2html: New script.
Gerald Pfeifer [Sun, 3 Jun 2001 12:11:43 +0000 (14:11 +0200)]
* doc/install.texi2html: New script.

From-SVN: r42826

23 years agoroot.texi: Define `help' and `patches' mailing list addresses.
Toon Moene [Sun, 3 Jun 2001 11:45:59 +0000 (13:45 +0200)]
root.texi: Define `help' and `patches' mailing list addresses.

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.

Co-Authored-By: Jan van Male <jan.vanmale@fenk.wau.nl>
From-SVN: r42825

23 years agoDaily bump.
GCC Administrator [Sun, 3 Jun 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42821

23 years agodoc/install.texi: Update AIX information again.
David Edelsohn [Sun, 3 Jun 2001 06:40:15 +0000 (06:40 +0000)]
doc/install.texi: Update AIX information again.

From-SVN: r42819

23 years agogcc.texi, [...]: Remove old system-specific installation documentation.
Joseph Myers [Sat, 2 Jun 2001 22:33:30 +0000 (23:33 +0100)]
gcc.texi, [...]: Remove old system-specific installation documentation.

* doc/gcc.texi, doc/install-old.texi: Remove old system-specific
installation documentation.
* doc/install.texi: Move it to here.

From-SVN: r42816

23 years agolinkage.exp: Use wildcards when matching N32.
Kaveh R. Ghazi [Sat, 2 Jun 2001 20:35:08 +0000 (20:35 +0000)]
linkage.exp: Use wildcards when matching N32.

* gcc.misc-tests/linkage.exp: Use wildcards when matching N32.
Ensure logfile entry matches exec command line.

From-SVN: r42814

23 years ago!defined(USE_LTDL) fix
Anthony Green [Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)]
!defined(USE_LTDL) fix

From-SVN: r42813

23 years agoRemove libgcjdata hack. Fix jv-scan usage in dejagnu.
Anthony Green [Sat, 2 Jun 2001 19:13:52 +0000 (19:13 +0000)]
Remove libgcjdata hack.   Fix jv-scan usage in dejagnu.

From-SVN: r42812

23 years ago* doc/install.texi: Clean up Texinfo markup.
Joseph Myers [Sat, 2 Jun 2001 18:21:37 +0000 (19:21 +0100)]
* doc/install.texi: Clean up Texinfo markup.

From-SVN: r42810

23 years agocpp.texi, [...]: Move contents to just after title page.
Joseph Myers [Sat, 2 Jun 2001 16:50:36 +0000 (17:50 +0100)]
cpp.texi, [...]: Move contents to just after title page.

* doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
to just after title page.

ch:
* chill.texi: Move contents to just after title page.

f:
* g77.texi: Move contents to just after title page.

java:
* gcj.texi: Move contents to just after title page.

From-SVN: r42808

23 years agore PR java/2605 (gcj crashes on .java file containing byte.class.getClass())
Alexandre Petit-Bianco [Sat, 2 Jun 2001 16:44:11 +0000 (09:44 -0700)]
re PR java/2605 (gcj crashes on .java file containing byte.class.getClass())

2001-06-01  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * parse.y (type_literals:): Use `build_incomplete_class_ref' with
        builtin type.
        (patch_incomplete_class_ref): Build the class ref, build the class
        init if necessary, complete the tree.
        Fixes PR java/2605

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00044.html )

From-SVN: r42807

23 years agocom.c (ffecom_init_0): Make CHARACTER*1 unsigned.
Toon Moene [Sat, 2 Jun 2001 15:42:21 +0000 (17:42 +0200)]
com.c (ffecom_init_0): Make CHARACTER*1 unsigned.

2001-06-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (ffecom_init_0): Make CHARACTER*1 unsigned.

From-SVN: r42805

23 years agoinstall-old.texi: Remove documentation of some configuration options.
Joseph Myers [Sat, 2 Jun 2001 13:59:52 +0000 (14:59 +0100)]
install-old.texi: Remove documentation of some configuration options.

* doc/install-old.texi: Remove documentation of some configuration
options.
* doc/install.texi: Add relevant parts of this documentation here.

From-SVN: r42802

23 years agocontrib.texi: Updated entries for Mark Mitchell, Joseph S.
Gerald Pfeifer [Sat, 2 Jun 2001 12:21:55 +0000 (14:21 +0200)]
contrib.texi: Updated entries for Mark Mitchell, Joseph S.

* contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.

From-SVN: r42801

23 years agoi386.md (all uses of ext_register_operand): Make sure they are VOIDmode; replace...
Jan Hubicka [Sat, 2 Jun 2001 12:07:58 +0000 (14:07 +0200)]
i386.md (all uses of ext_register_operand): Make sure they are VOIDmode; replace all uses outside zero_extend.

* i386.md (all uses of ext_register_operand): Make sure they are
VOIDmode; replace all uses outside zero_extend.
(and?i splitters): Use ext_register_operands.
(test?i peep2): Remove ignored constraints.
* i386.c (ext_register_operand): Check that operand is
eighter pseudo or hard or 'Q' register.

From-SVN: r42798

23 years ago* gcc_update: Update for move of documentation to gcc/doc.
Joseph Myers [Sat, 2 Jun 2001 11:33:39 +0000 (12:33 +0100)]
* gcc_update: Update for move of documentation to gcc/doc.

From-SVN: r42797

23 years agotree.h (struct record_layout_info_s): New field unpadded_align.
Richard Kenner [Sat, 2 Jun 2001 11:14:06 +0000 (11:14 +0000)]
tree.h (struct record_layout_info_s): New field unpadded_align.

* tree.h (struct record_layout_info_s): New field unpadded_align.
(set_lang_adjust_rli): New declaration.
* stor-layout.c (layout_decl): If DECL is packed, but at alignment
it would have if not packed, do not downgrade DECL_ALIGN.
(lang_adjust_rli, set_lang_adjust_rli): New.
(start_record_layout): Initialize new field unpadded_align.
(debug_rli): Display it.
(place_union_field, place_field): Set it.
(layout_type, case RECORD_TYPE): Call via lang_adjust_rli if set.

From-SVN: r42796

23 years agoprint-tree.c (print_node): Don't print "regdecl" when bit doesn't mean that; use...
Richard Kenner [Sat, 2 Jun 2001 10:56:44 +0000 (10:56 +0000)]
print-tree.c (print_node): Don't print "regdecl" when bit doesn't mean that; use proper names instead.

* print-tree.c (print_node): Don't print "regdecl" when bit doesn't
mean that; use proper names instead.
Print DECL_NO_STATIC_CHAIN.

From-SVN: r42795

23 years agoFix typo in comment
Richard Kenner [Sat, 2 Jun 2001 10:54:32 +0000 (06:54 -0400)]
Fix typo in comment

From-SVN: r42794

23 years agoexcept.c (expand_builtin_frob_return_addr): Add missing call to convert_memory_addres...
Richard Kenner [Sat, 2 Jun 2001 10:52:11 +0000 (10:52 +0000)]
except.c (expand_builtin_frob_return_addr): Add missing call to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.

* except.c (expand_builtin_frob_return_addr): Add missing call
to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.
(expand_builtin_eh_return): Likewise.
(expand_eh_return): Clean up ptr_mode != Pmode cases.

From-SVN: r42793

23 years agoFake a PASS for targets which don't support invocation.
Anthony Green [Sat, 2 Jun 2001 09:18:14 +0000 (09:18 +0000)]
Fake a PASS for targets which don't support invocation.

From-SVN: r42792

23 years agoUSE_LIBFFI change
Anthony Green [Sat, 2 Jun 2001 08:49:31 +0000 (08:49 +0000)]
USE_LIBFFI change

From-SVN: r42791

23 years agoCheck for sigaction.
Anthony Green [Sat, 2 Jun 2001 08:34:33 +0000 (08:34 +0000)]
Check for sigaction.

From-SVN: r42790

23 years agoDaily bump.
GCC Administrator [Sat, 2 Jun 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42789

23 years agoinvoke.texi: Remove references to papers about sequence points to readings.html...
Jan van Male [Fri, 1 Jun 2001 22:25:44 +0000 (00:25 +0200)]
invoke.texi: Remove references to papers about sequence points to readings.html...

* invoke.texi: Remove references to papers about sequence points to
readings.html, refer to that page

From-SVN: r42787

23 years ago* README: Update references to installation instructions.
Gerald Pfeifer [Fri, 1 Jun 2001 18:53:49 +0000 (20:53 +0200)]
* README: Update references to installation instructions.

From-SVN: r42785

23 years agoinstall.texi: Define srcdir when sources come from CVS.
Laurent Guerby [Fri, 1 Jun 2001 18:08:19 +0000 (18:08 +0000)]
install.texi: Define srcdir when sources come from CVS.

* doc/install.texi: Define srcdir when sources come from CVS.
Significantly improve markup.  Wrap overly long lines.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r42783

23 years ago* MAINTAINERS (Write After Approval): Add myself.
Rainer Orth [Fri, 1 Jun 2001 17:03:18 +0000 (17:03 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r42781

23 years agoc-tree.texi, [...]: Move to doc subdirectory.
DJ Delorie [Fri, 1 Jun 2001 16:51:18 +0000 (12:51 -0400)]
c-tree.texi, [...]: Move to doc subdirectory.

* c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi,
rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory.
* install.texi: Move to doc/install-old.texi.
* gcc.texi: Move to doc, refer to install-old.texi.
* Makefile.in: Reflect move of docs to doc/.
* f/Make-lang.in: Ditto.
* java/Make-lang.in: Ditto.
* doc/.cvsignore: New.

From-SVN: r42779

23 years agoAmend previous changelog PR g++/2936 Part missed from first commit
Nathan Sidwell [Fri, 1 Jun 2001 11:57:35 +0000 (11:57 +0000)]
Amend previous changelog PR g++/2936 Part missed from first commit

Amend previous changelog
PR g++/2936
Part missed from first commit
* decl2.c (finish_anon_union): Copy context.

From-SVN: r42777

23 years agoinvoke.texi: use two spaces between command options, eliminate some 'overfull hboxes'
Jan van Male [Fri, 1 Jun 2001 11:37:26 +0000 (13:37 +0200)]
invoke.texi: use two spaces between command options, eliminate some 'overfull hboxes'

* invoke.texi: use two spaces between command options, eliminate
some 'overfull hboxes'

From-SVN: r42776

23 years agoOops, forgot to ci
Hans-Peter Nilsson [Fri, 1 Jun 2001 09:24:12 +0000 (09:24 +0000)]
Oops, forgot to ci

From-SVN: r42775

23 years agoMakefile.am (VPATH): Delimit with ":", not space.
Hans-Peter Nilsson [Fri, 1 Jun 2001 09:22:05 +0000 (09:22 +0000)]
Makefile.am (VPATH): Delimit with ":", not space.

* src/Makefile.am (VPATH): Delimit with ":", not space.
* src/Makefile.in: Regenerate.

* configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
make isn't found.
* configure: Regenerate.

From-SVN: r42774

23 years agoMakefile.in (s-mlib): Make backtick-commands always succeed.
Hans-Peter Nilsson [Fri, 1 Jun 2001 09:17:41 +0000 (09:17 +0000)]
Makefile.in (s-mlib): Make backtick-commands always succeed.

* Makefile.in (s-mlib): Make backtick-commands always succeed.
(DRIVER_DEFINES): Ditto.

From-SVN: r42773

23 years agoconfigure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags...
Hans-Peter Nilsson [Fri, 1 Jun 2001 09:14:43 +0000 (09:14 +0000)]
configure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags until it exists.

* configure.in (libstdcxx_flags): Do not try to execute
libstdc++-v3/testsuite_flags until it exists.

From-SVN: r42772

23 years agoDaily bump.
GCC Administrator [Fri, 1 Jun 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42770

23 years agoUpdate my email address.
Alan Modra [Fri, 1 Jun 2001 04:47:48 +0000 (04:47 +0000)]
Update my email address.

From-SVN: r42769

23 years agoconfigure.in: Fix AC_ARG_ENABLE usage.
Jeff Sturm [Fri, 1 Jun 2001 04:09:21 +0000 (04:09 +0000)]
configure.in: Fix AC_ARG_ENABLE usage.

* configure.in: Fix AC_ARG_ENABLE usage.
* configure: Rebuilt.

From-SVN: r42768

23 years agonatFile.cc (get_entry): Removed functions.
Jeff Sturm [Fri, 1 Jun 2001 04:04:10 +0000 (04:04 +0000)]
natFile.cc (get_entry): Removed functions.

* natFile.cc (get_entry): Removed functions.
(performList): Call readdir or readdir_r if HAVE_READDIR_R defined.
Allocate enough storage for d_name if using readdir_r.

From-SVN: r42767

23 years agoparse.y (lookup_field_wrapper): Test `name' code.
Alexandre Petit-Bianco [Thu, 31 May 2001 23:40:54 +0000 (16:40 -0700)]
parse.y (lookup_field_wrapper): Test `name' code.

2001-05-31  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (lookup_field_wrapper): Test `name' code.
(resolve_qualified_expression_name): Test `qual_wfl' code.
(qualify_ambiguous_name): Handle `CONVERT_EXPR', fixe indentation,
handle `qual_wfl' by code.
(maybe_build_primttype_type_ref): Test `wfl' code.

(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg02180.html )

From-SVN: r42764

23 years ago* gcc.c-torture/execute/memcheck/blkarg.x: Disable the test.
Richard Henderson [Thu, 31 May 2001 22:06:30 +0000 (15:06 -0700)]
* gcc.c-torture/execute/memcheck/blkarg.x: Disable the test.

From-SVN: r42762

23 years ago* g++.dg/mangle1.C: Tweek expected mangling for 64-bit hosts.
Richard Henderson [Thu, 31 May 2001 21:41:34 +0000 (14:41 -0700)]
* g++.dg/mangle1.C: Tweek expected mangling for 64-bit hosts.

From-SVN: r42759

23 years agogcc.c (init_gcc_specs): When linking against libgcc_s.so, also link against libgcc.a.
Richard Henderson [Thu, 31 May 2001 20:53:50 +0000 (13:53 -0700)]
gcc.c (init_gcc_specs): When linking against libgcc_s.so, also link against libgcc.a.

        * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
        also link against libgcc.a.

From-SVN: r42757

23 years agoistream.tcc: Include std_ostream.h.
Scott Snyder [Thu, 31 May 2001 20:33:06 +0000 (20:33 +0000)]
istream.tcc: Include std_ostream.h.

2001-05-27  scott snyder  <snyder@fnal.gov>

libstdc++/2976
* include/bits/istream.tcc: Include std_ostream.h.

From-SVN: r42754

23 years agomips.h (ASM_OUTPUT_ASCII): Convert to function.
Geoff Keating [Thu, 31 May 2001 19:39:30 +0000 (19:39 +0000)]
mips.h (ASM_OUTPUT_ASCII): Convert to function.

* config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
* config/mips/mips.c (mips_output_ascii): New function.
* config/mips/mips-protos.h (mips_output_ascii): Prototype.

* config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.

From-SVN: r42753

23 years agobitset.cc: Qualify size_t with std::.
Benjamin Kosnik [Thu, 31 May 2001 19:10:23 +0000 (19:10 +0000)]
bitset.cc: Qualify size_t with std::.

2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2997
* src/bitset.cc: Qualify size_t with std::.

From-SVN: r42751

23 years ago* MAINTAINERS (Write After Approval): Add myself.
Graham Stott [Thu, 31 May 2001 18:52:04 +0000 (18:52 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r42750

23 years agonatFileDescriptorPosix.cc (open): Allocate buffer to correct size.
Tom Tromey [Thu, 31 May 2001 17:33:05 +0000 (17:33 +0000)]
natFileDescriptorPosix.cc (open): Allocate buffer to correct size.

* java/io/natFileDescriptorPosix.cc (open): Allocate buffer to
correct size.
(write): Loop until write completes.  From Corey Minyard.

From-SVN: r42749

23 years agoflow.c (set_block_for_new_insns): Remove bogus shortcut.
Jan Hubicka [Thu, 31 May 2001 17:11:44 +0000 (19:11 +0200)]
flow.c (set_block_for_new_insns): Remove bogus shortcut.

* flow.c (set_block_for_new_insns): Remove bogus shortcut.
* i386.c (ix86_expand_int_movcc): Force one of operands to be register.

From-SVN: r42747

23 years agoRectangle2D.java: fix doc typo.
Laurent Guerby [Thu, 31 May 2001 16:48:15 +0000 (16:48 +0000)]
Rectangle2D.java: fix doc typo.

2001-05-29  Laurent Guerby  <guerby@acm.org>

* java/awt/geom/Rectangle2D.java: fix doc typo.

From-SVN: r42746

23 years agoDriverManager.java (getDrivers): Handle case where driver's class loader is null.
Tom Tromey [Thu, 31 May 2001 16:18:55 +0000 (16:18 +0000)]
DriverManager.java (getDrivers): Handle case where driver's class loader is null.

* java/sql/DriverManager.java (getDrivers): Handle case where
driver's class loader is null.  From Corey Minyard.

From-SVN: r42745

23 years agoacconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
Benjamin Kosnik [Thu, 31 May 2001 12:14:56 +0000 (12:14 +0000)]
acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.

2001-05-30  Benjamin Kosnik  <bkoz@redat.com>

* acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
(_GLIBCPP_BUGGY_COMPLEX): Remove.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
* aclocal.m4: Regenerate.
* configure.in: Don't call it.
* configure: Regenerate.

libstdc++/2970
* src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
* testsuite/26_numerics/complex_inserters_extractors.cc (test01):
New test.

libstdc++/2985
* include/bits/std_complex.h: Include sstream. Put definitions for
complex inserters and extractors here, and remove them from...
* src/complex_io.cc: ...here.
* include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
parameter.
(basic_ios::__numget_type): Same.
* include/bits/std_istream.h: Same.
* include/bits/std_ostream.h: Same.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
class iterator template arguments.
* src/locale-inst.cc: Add explicit has_facet instantiations.
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(_M_get_fnumput): Remove.
(_M_get_fnumget): Remove.
(basic_ios::_M_check_facet): New function.
(basic_ios::_M_cache_facets): New function.
* include/bits/basic_ios.tcc: Definition for _M_cache_facets.
(basic_ios::imbue): Call _M_cache_facets.
(basic_ios::init): Same.
* include/bits/istream.tcc: Format, use _M_check_facet.
* include/bits/ostream.tcc: Same.
* include/bits/locale_facets.tcc (__output_float): Change
signature, add _Traits.
* testsuite/26_numerics/complex_inserters_extractors.cc (test02):
New test.

From-SVN: r42743

23 years agoinstall.texi (Configuration): Add html links for --with-gnu-as & --with-gnu-ld and...
Rodney Brown [Thu, 31 May 2001 08:15:15 +0000 (08:15 +0000)]
install.texi (Configuration): Add html links for --with-gnu-as & --with-gnu-ld and refer to them from hppa &...

* install.texi (Configuration): Add html links for --with-gnu-as &
--with-gnu-ld and refer to them from hppa & SCO triplets.
(Specific): Link back to with-gnu-ld for all ELF platfoms.
(Specific): Reword AVR binutils recommendation.

From-SVN: r42742

23 years agoDaily bump.
GCC Administrator [Thu, 31 May 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42740

23 years agoparse.y (do_resolve_class): Check for cyclic inheritance during inner class resolution.
Bryce McKinlay [Thu, 31 May 2001 06:05:29 +0000 (06:05 +0000)]
parse.y (do_resolve_class): Check for cyclic inheritance during inner class resolution.

2001-04-27  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* parse.y (do_resolve_class): Check for cyclic inheritance during
inner class resolution.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01330.html)

From-SVN: r42737

23 years agoggc-page.c (size_lookup): Increase minimum allocation size to eight bytes.
Zack Weinberg [Thu, 31 May 2001 05:05:19 +0000 (05:05 +0000)]
ggc-page.c (size_lookup): Increase minimum allocation size to eight bytes.

* ggc-page.c (size_lookup): Increase minimum allocation size
to eight bytes.
(ggc_print_statistics): Report size of each bin in bytes, not
as its order; there is no longer a direct relationship.

From-SVN: r42736

23 years agoextend.texi: Fix formating of examples, eliminate some 'overfull hboxes'.
Jan van Male [Thu, 31 May 2001 04:27:52 +0000 (06:27 +0200)]
extend.texi: Fix formating of examples, eliminate some 'overfull hboxes'.

* extend.texi: Fix formating of examples, eliminate some
'overfull hboxes'.
* gcc.texi: Eliminate some 'overfull hboxes'.
* invoke.texi: Use two spaces between command options, eliminate
some 'overfull hboxes'.

From-SVN: r42735

23 years agoc++config (__USE_MALLOC): Do not define it.
Loren J. Rittle [Thu, 31 May 2001 02:45:04 +0000 (02:45 +0000)]
c++config (__USE_MALLOC): Do not define it.

* include/bits/c++config (__USE_MALLOC): Do not define it.
Document why not and give pointers to more information.

* docs/html/23_containers/howto.html: Update documentation
to reflect recent understanding of problem.
* docs/html/17_intro/howto.html: Likewise.

From-SVN: r42732

23 years ago* dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
Richard Henderson [Thu, 31 May 2001 01:13:43 +0000 (18:13 -0700)]
* dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.

From-SVN: r42731

23 years agogcc.c (do_spec_1): In `%O' case, if we computed saved_suffix, use it in the new assoc...
Tom Tromey [Wed, 30 May 2001 23:56:48 +0000 (23:56 +0000)]
gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix, use it in the new association.

* gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
use it in the new association.

From-SVN: r42728

23 years agogthr-posix.h (__gthread_active_ptr): Cast function pointer to target type to allow...
Loren J. Rittle [Wed, 30 May 2001 22:38:43 +0000 (22:38 +0000)]
gthr-posix.h (__gthread_active_ptr): Cast function pointer to target type to allow ISO C++ compiler to accept it.

* gthr-posix.h (__gthread_active_ptr): Cast function pointer
to target type to allow ISO C++ compiler to accept it.
* gthr-dce.h (__gthread_active_ptr): Likewise.
* gthr-solaris.h (__gthread_active_ptr): Likewise.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
From-SVN: r42725

23 years agouser.cfg.in: Minor addition.
Phil Edwards [Wed, 30 May 2001 21:55:05 +0000 (21:55 +0000)]
user.cfg.in: Minor addition.

2001-05-30  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/user.cfg.in:  Minor addition.
* docs/html/documentation.html:  Reorganize.  Put most-looked-at
stuff first.
* docs/html/install.html:  Update for 3.0.  HTML fixups.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.  More notes.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.  More notes.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerate.
* docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
Doxygen-created documentation.

From-SVN: r42723

23 years agocpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments...
Neil Booth [Wed, 30 May 2001 21:22:00 +0000 (21:22 +0000)]
cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments in preprocessed input.

* cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
so that we do accept comments in preprocessed input.

From-SVN: r42721

23 years ago* cpphash.c (alloc_node): Cast pointer.
Neil Booth [Wed, 30 May 2001 21:09:15 +0000 (21:09 +0000)]
* cpphash.c (alloc_node): Cast pointer.

From-SVN: r42720

23 years agolinkage.exp: Pass appropriate flags to native compiler for irix6.2
David Billinghurst [Wed, 30 May 2001 20:32:33 +0000 (13:32 -0700)]
linkage.exp: Pass appropriate flags to native compiler for irix6.2

        * gcc.misc-tests/linkage.exp: Pass appropriate flags to native
        compiler for irix6.2

From-SVN: r42719

23 years agolibstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.
Rainer Orth [Wed, 30 May 2001 20:25:51 +0000 (20:25 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.

2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
        get_multilibs to find gcc.

From-SVN: r42714

23 years agoacinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
Phil Edwards [Wed, 30 May 2001 17:05:02 +0000 (17:05 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.

2001-05-30  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

From-SVN: r42712

23 years agoinvokethrow.out: New file.
Tom Tromey [Wed, 30 May 2001 15:23:23 +0000 (15:23 +0000)]
invokethrow.out: New file.

* libjava.lang/invokethrow.out: New file.
* libjava.lang/invokethrow.java: New file.

From-SVN: r42711

23 years ago* invoke.texi (Option Summary): Remove -isystem-c++ from options.
Gordon Sadler [Wed, 30 May 2001 11:58:45 +0000 (11:58 +0000)]
* invoke.texi (Option Summary): Remove -isystem-c++ from options.

From-SVN: r42709

23 years ago[multiple changes]
Gabriel Dos Reis [Wed, 30 May 2001 11:34:26 +0000 (11:34 +0000)]
[multiple changes]

2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
      * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.

2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
      * include/c_std/bits/std_cstdlib.h: Same.
      * include/c_std/bits/std_cwchar.h: Same.

From-SVN: r42707

23 years agore PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable...
Nathan Sidwell [Wed, 30 May 2001 08:44:56 +0000 (08:44 +0000)]
re PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable-optimization="-O3")

cp:
PR g++/2936
* decl.c (finish_anon_union): Copy context.
* optimize.c (remap_decl): Remap anonymous aggregate members too.
testsuite:
* g++.old-deja/g++.other/optimize3.C: New file.

From-SVN: r42705

23 years agohowto.html: Update link.
Loren J. Rittle [Wed, 30 May 2001 08:30:04 +0000 (08:30 +0000)]
howto.html: Update link.

* docs/html/17_intro/howto.html: Update link.
* docs/html/23_containers/howto.html: Likewise.  Add new link.

From-SVN: r42703