gcc.git
23 years agobasic_ios.tcc: Formatting tweaks.
Benjamin Kosnik [Wed, 6 Jun 2001 01:31:58 +0000 (01:31 +0000)]
basic_ios.tcc: Formatting tweaks.

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

libstdc++/3045
* include/bits/basic_ios.tcc: Formatting tweaks.
* include/bits/ios_base.h: Formatting tweaks.
* src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
(ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
* src/globals.cc: Allocate filebufs for standard streams here.
(buf_cout, buf_cin, buf_cerr): Like so.
(buf_wcout, buf_wcin, buf_wcerr): And so.
* testsuite/27_io/ios_init.cc: Add.

From-SVN: r42922

23 years agoelfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same way svr4.h does.
David O'Brien [Wed, 6 Jun 2001 00:46:01 +0000 (00:46 +0000)]
elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same way svr4.h does.

2001-06-05  David O'Brien  <obrien@FreeBSD.org>
* elfos.h (USING_ELFOS_H):  Identify the use of elfos.h in the same
way svr4.h does.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20010604154656.E25044@redhat.com>

From-SVN: r42921

23 years agoconfigure.in: Quote $enable_win32_registry in case the value has spaces in it.
Pascal Obry [Tue, 5 Jun 2001 22:00:22 +0000 (00:00 +0200)]
configure.in: Quote $enable_win32_registry in case the value has spaces in it.

* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.

From-SVN: r42920

23 years agoprint-rtl.c (xspaces): Remove.
Mark Mitchell [Tue, 5 Jun 2001 20:32:41 +0000 (20:32 +0000)]
print-rtl.c (xspaces): Remove.

* print-rtl.c (xspaces): Remove.
(print_rtx): Use printf field-width, rather than xpsaces, to
indent.
* toplev.c (main): Disable sibling-call optimization if we are
handling exceptions.

* reload1.c (reload): Delete all USEs generated during reload.

From-SVN: r42917

23 years agogccbug.in: Fix typo.
Scott Snyder [Tue, 5 Jun 2001 18:38:44 +0000 (18:38 +0000)]
gccbug.in: Fix typo.

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

* gccbug.in:  Fix typo.

From-SVN: r42913

23 years agobuiltins.def: Fix definition of __builtin_cosf, it uses float as parameter and return...
Andreas Jaeger [Tue, 5 Jun 2001 16:02:56 +0000 (18:02 +0200)]
builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value.

* builtins.def: Fix definition of __builtin_cosf, it uses float as
parameter and return value.

From-SVN: r42911

23 years agoexpr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments accordingly.
Alexandre Petit-Bianco [Tue, 5 Jun 2001 15:48:58 +0000 (08:48 -0700)]
expr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments accordingly.

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

* expr.c (force_evaluation_order): Match wrapped ctor calls, locate
arguments accordingly.

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

From-SVN: r42910

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

From-SVN: r42908

23 years agocall.c (build_user_type_conversion_1): Set ICS_USER_FLAG and ICS_BAD_FLAG on created...
Nathan Sidwell [Tue, 5 Jun 2001 12:53:52 +0000 (12:53 +0000)]
call.c (build_user_type_conversion_1): Set ICS_USER_FLAG and ICS_BAD_FLAG on created conversion.

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.

From-SVN: r42907

23 years agodecl.c (xref_tag): Remove extraneous %s on dependent name lookup warning.
Nathan Sidwell [Tue, 5 Jun 2001 11:57:59 +0000 (11:57 +0000)]
decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning.

* decl.c (xref_tag): Remove extraneous %s on dependent name
lookup warning.

From-SVN: r42905

23 years agoclass.c (layout_vtable_decl): Fix off by one error on build_index_type.
Nathan Sidwell [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.

* class.c (layout_vtable_decl): Fix off by one error on
build_index_type.
(build_vtt): Likewise.
(build_ctor_vtbl_group): Likewise.

From-SVN: r42903

23 years agoCorrect CVS resurrection of invoke.texi.
Nathan Sidwell [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.

From-SVN: r42902

23 years agoUpdate comments for ARRAY_RANGE_REF
Richard Kenner [Tue, 5 Jun 2001 10:27:44 +0000 (06:27 -0400)]
Update comments for ARRAY_RANGE_REF

From-SVN: r42901

23 years agore PR c/2735 (can't cast a union type defined by a typedef to itself)
Joseph Myers [Tue, 5 Jun 2001 10:16:57 +0000 (11:16 +0100)]
re PR c/2735 (can't cast a union type defined by a typedef to itself)

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

From-SVN: r42900

23 years agonatClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allow...
Martin Kahlert [Tue, 5 Jun 2001 09:46:36 +0000 (09:46 +0000)]
natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds.

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.

Co-Authored-By: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
From-SVN: r42898

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

From-SVN: r42897

23 years agoc-common.h (flag_dump_translation_unit): Remove.
Nathan Sidwell [Tue, 5 Jun 2001 08:03:45 +0000 (08:03 +0000)]
c-common.h (flag_dump_translation_unit): Remove.

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

From-SVN: r42896

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

From-SVN: r42894

23 years agoc-tree.h (lang_decl): Add pending_sizes fields.
Mark Mitchell [Tue, 5 Jun 2001 06:51:02 +0000 (06:51 +0000)]
c-tree.h (lang_decl): Add pending_sizes fields.

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

From-SVN: r42892

23 years agoinstall.texi: Update FreeBSD information.
Loren J. Rittle [Mon, 4 Jun 2001 22:56:53 +0000 (22:56 +0000)]
install.texi: Update FreeBSD information.

* doc/install.texi: Update FreeBSD information.  Generalize
and update information for alpha-based platforms using ELF.

From-SVN: r42887

23 years agoPublicKey.java: Extend Key.
Tom Tromey [Mon, 4 Jun 2001 22:55:49 +0000 (22:55 +0000)]
PublicKey.java: Extend Key.

* java/security/PublicKey.java: Extend Key.
* java/security/PrivateKey.java: Extend Key.

From-SVN: r42886

23 years agoconfig.guess: Import CVS version 1.194.
Phil Edwards [Mon, 4 Jun 2001 21:32:44 +0000 (21:32 +0000)]
config.guess: Import CVS version 1.194.

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.

From-SVN: r42884

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

From-SVN: r42883

23 years agoc-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
John David Anglin [Mon, 4 Jun 2001 20:26:16 +0000 (20:26 +0000)]
c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.

* c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
(store_parm_decls): Likewise.
* c-typeck.c (convert_arguments): Likewise.

From-SVN: r42882

23 years agosibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization if curren...
Richard Henderson [Mon, 4 Jun 2001 20:20:35 +0000 (13:20 -0700)]
sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization if current_function_calls_setjmp.

        * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
        optimization if current_function_calls_setjmp.

From-SVN: r42880

23 years agoc-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings.
Joseph Myers [Mon, 4 Jun 2001 19:50:50 +0000 (20:50 +0100)]
c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings.

* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
wide strings.

From-SVN: r42878

23 years agoltcf-c.sh (archive_cmds, [...]): Use `gcc -shared' to build a shared library.
Mark Mitchell [Mon, 4 Jun 2001 19:33:03 +0000 (19:33 +0000)]
ltcf-c.sh (archive_cmds, [...]): Use `gcc -shared' to build a shared library.

* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

From-SVN: r42874

23 years agolocale_facets.h (ctype<_CharT>): Add definitions for generic ctype virtuals.
Benjamin Kosnik [Mon, 4 Jun 2001 19:25:41 +0000 (19:25 +0000)]
locale_facets.h (ctype<_CharT>): Add definitions for generic ctype virtuals.

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.

From-SVN: r42872

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