Commit Graph

35713 Commits

Author SHA1 Message Date
Kenny Simpson
31990cd54c 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
2001-06-04 18:04:52 +00:00
Jan Hubicka
0631e0bfb7 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
2001-06-04 18:04:36 +00:00
Phil Edwards
5c626f5260 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
2001-06-04 17:50:18 +00:00
Brendan Kehoe
84b9f762bb 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
2001-06-04 17:42:22 +00:00
Brendan Kehoe
5890be1892 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
2001-06-04 17:34:36 +00:00
Jeffrey Oldham
c0e17dafb2 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
2001-06-04 16:57:04 +00:00
Richard Kenner
c940f36d68 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
2001-06-04 11:48:16 -04:00
Jeffrey Oldham
1007e271a3 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
2001-06-04 15:46:03 +00:00
Jeffrey Oldham
6bdfaf0910 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
2001-06-04 15:23:05 +00:00
Jan Hubicka
e0e08ac26c 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
2001-06-04 14:52:14 +00:00
Gerald Pfeifer
95307c8e01 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
2001-06-04 14:12:47 +00:00
Richard Kenner
b4e3fabb4d 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
2001-06-04 09:21:38 -04:00
GCC Administrator
c7d468e698 Daily bump.
From-SVN: r42846
2001-06-04 07:16:08 +00:00
Hans-Peter Nilsson
38fae3e375 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
2001-06-04 02:24:06 +00:00
Richard Kenner
35fb60c476 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
2001-06-03 21:58:24 -04:00
Kaz Kojima
b91455de3d 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
2001-06-04 00:20:46 +00:00
Richard Kenner
5d9669fd54 Minor whitespace edits
From-SVN: r42840
2001-06-03 20:19:17 -04:00
Alexandre Oliva
77411c845e 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
2001-06-03 22:58:08 +00:00
Alexandre Oliva
c5b9ef021f 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
2001-06-03 22:50:27 +00:00
Igor Shevlyakov
667c49250f 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
2001-06-03 22:17:11 +00:00
Alexandre Oliva
9d4d725bb8 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
2001-06-03 22:08:26 +00:00
Joseph Myers
f85b8d1a2f 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
2001-06-03 20:06:55 +01:00
Toon Moene
aad82b4388 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
2001-06-03 14:14:26 +00:00
Andrew Haley
552cb45af3 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
2001-06-03 14:05:38 +00:00
Gerald Pfeifer
c777a6def9 * doc/install.texi2html: New script.
From-SVN: r42826
2001-06-03 12:11:43 +00:00
Toon Moene
096c33c36a 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
2001-06-03 11:45:59 +00:00
GCC Administrator
8ab0785536 Daily bump.
From-SVN: r42821
2001-06-03 07:16:42 +00:00
David Edelsohn
5791e6da36 doc/install.texi: Update AIX information again.
From-SVN: r42819
2001-06-03 02:40:15 -04:00
Joseph Myers
b8df899a1c 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
2001-06-02 23:33:30 +01:00
Kaveh R. Ghazi
873279879c 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
2001-06-02 20:35:08 +00:00
Anthony Green
20f914dc05 !defined(USE_LTDL) fix
From-SVN: r42813
2001-06-02 19:40:53 +00:00
Anthony Green
9f0fbbabfb Remove libgcjdata hack. Fix jv-scan usage in dejagnu.
From-SVN: r42812
2001-06-02 19:13:52 +00:00
Joseph Myers
ef88b07dff * doc/install.texi: Clean up Texinfo markup.
From-SVN: r42810
2001-06-02 19:21:37 +01:00
Joseph Myers
1347cc4fd0 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
2001-06-02 17:50:36 +01:00
Alexandre Petit-Bianco
12e248d642 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
2001-06-02 09:44:11 -07:00
Toon Moene
a49bedaa4d 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
2001-06-02 15:42:21 +00:00
Joseph Myers
6ac485713c 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
2001-06-02 14:59:52 +01:00
Gerald Pfeifer
0c3cc043ac 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
2001-06-02 12:21:55 +00:00
Jan Hubicka
3522082b2f 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
2001-06-02 12:07:58 +00:00
Joseph Myers
aff5d0538f * gcc_update: Update for move of documentation to gcc/doc.
From-SVN: r42797
2001-06-02 12:33:39 +01:00
Richard Kenner
e0cea8d93a 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
2001-06-02 07:14:06 -04:00
Richard Kenner
3af78b060b 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
2001-06-02 06:56:44 -04:00
Richard Kenner
a27250499c Fix typo in comment
From-SVN: r42794
2001-06-02 06:54:32 -04:00
Richard Kenner
be128cd9e0 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
2001-06-02 06:52:11 -04:00
Anthony Green
87596d9c92 Fake a PASS for targets which don't support invocation.
From-SVN: r42792
2001-06-02 09:18:14 +00:00
Anthony Green
c8fb98139d USE_LIBFFI change
From-SVN: r42791
2001-06-02 08:49:31 +00:00
Anthony Green
6a6a4abb1a Check for sigaction.
From-SVN: r42790
2001-06-02 08:34:33 +00:00
GCC Administrator
46d7fc9602 Daily bump.
From-SVN: r42789
2001-06-02 07:16:41 +00:00
Jan van Male
c5122d75a4 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
2001-06-01 22:25:44 +00:00
Gerald Pfeifer
76b5c5e0d3 * README: Update references to installation instructions.
From-SVN: r42785
2001-06-01 18:53:49 +00:00