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
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
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
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
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
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
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
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
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
GCC Administrator [Mon, 4 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42846
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
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
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
Richard Kenner [Mon, 4 Jun 2001 00:19:17 +0000 (20:19 -0400)]
Minor whitespace edits
From-SVN: r42840
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
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
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
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
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
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
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
Gerald Pfeifer [Sun, 3 Jun 2001 12:11:43 +0000 (14:11 +0200)]
* doc/install.texi2html: New script.
From-SVN: r42826
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
GCC Administrator [Sun, 3 Jun 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42821
David Edelsohn [Sun, 3 Jun 2001 06:40:15 +0000 (06:40 +0000)]
doc/install.texi: Update AIX information again.
From-SVN: r42819
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
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
Anthony Green [Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)]
!defined(USE_LTDL) fix
From-SVN: r42813
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
Joseph Myers [Sat, 2 Jun 2001 18:21:37 +0000 (19:21 +0100)]
* doc/install.texi: Clean up Texinfo markup.
From-SVN: r42810
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
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
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
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
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
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
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
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
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
Richard Kenner [Sat, 2 Jun 2001 10:54:32 +0000 (06:54 -0400)]
Fix typo in comment
From-SVN: r42794
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
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
Anthony Green [Sat, 2 Jun 2001 08:49:31 +0000 (08:49 +0000)]
USE_LIBFFI change
From-SVN: r42791
Anthony Green [Sat, 2 Jun 2001 08:34:33 +0000 (08:34 +0000)]
Check for sigaction.
From-SVN: r42790
GCC Administrator [Sat, 2 Jun 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42789
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
Gerald Pfeifer [Fri, 1 Jun 2001 18:53:49 +0000 (20:53 +0200)]
* README: Update references to installation instructions.
From-SVN: r42785
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
Rainer Orth [Fri, 1 Jun 2001 17:03:18 +0000 (17:03 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r42781
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
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
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
Hans-Peter Nilsson [Fri, 1 Jun 2001 09:24:12 +0000 (09:24 +0000)]
Oops, forgot to ci
From-SVN: r42775
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
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
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
GCC Administrator [Fri, 1 Jun 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42770
Alan Modra [Fri, 1 Jun 2001 04:47:48 +0000 (04:47 +0000)]
Update my email address.
From-SVN: r42769
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
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
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
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
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
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
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
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
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
Graham Stott [Thu, 31 May 2001 18:52:04 +0000 (18:52 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r42750
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
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
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
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
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
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
GCC Administrator [Thu, 31 May 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42740
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
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
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
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
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
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
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
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
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
Neil Booth [Wed, 30 May 2001 21:09:15 +0000 (21:09 +0000)]
* cpphash.c (alloc_node): Cast pointer.
From-SVN: r42720
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
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
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
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
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
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
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
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
GCC Administrator [Wed, 30 May 2001 07:16:19 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42701
Stan Shebs [Wed, 30 May 2001 00:50:42 +0000 (00:50 +0000)]
* gcc.texi: Add links for information about Objective-C.
From-SVN: r42696
Tom Tromey [Tue, 29 May 2001 22:18:41 +0000 (22:18 +0000)]
* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
From-SVN: r42694
Tom Tromey [Tue, 29 May 2001 21:31:23 +0000 (21:31 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Only add multilib support code if we just rebuilt
top-level Makefile.
From-SVN: r42693
Jeffrey Oldham [Tue, 29 May 2001 18:59:47 +0000 (18:59 +0000)]
20010518-2.x: New file to compile, not assemble.
2001-05-29 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/compile/
20010518-2.x: New file to compile, not
assemble.
From-SVN: r42692
Andrew Haley [Tue, 29 May 2001 17:50:50 +0000 (17:50 +0000)]
i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer...
2001-05-29 Andrew Haley <aph@redhat.com>
* include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
pointer: the dwarf unwinder in libgcc will do everything that's
needed.
(HANDLE_DIVIDE_OVERFLOW): Tidy. Don't mess with stack frames any
more than we absolutely need to.
* configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
* configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
Alpha.
(SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
"$libgcj_sjlj".
* configure: Rebuilt.
* include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
for Alpha.
(SIGNAL_HANDLER): Use siginfo style handler.
(INIT_SEGV): Likewise.
(INIT_FPE): Likewise.
* include/ppc-signal.h: Delete whole file.
From-SVN: r42691
Nathan Sidwell [Tue, 29 May 2001 15:16:24 +0000 (15:16 +0000)]
configure.in (gcc_version): Remove unrequired \ on ".
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
/bin/sed fails on [^\"]).
(configargs.h): Likewise.
From-SVN: r42689