Michael Sokolov [Tue, 26 Dec 2000 22:16:22 +0000 (22:16 +0000)]
bsearch.c: New file.
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
From-SVN: r38492
Kazu Hirata [Tue, 26 Dec 2000 18:14:54 +0000 (18:14 +0000)]
h8300.c: Fix a comment typo.
2000-12-26 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix a comment typo.
(get_shift_alg): Do not output extra whitespace after one line
of assembly code. Output a tab after an opcode instead of a
space.
(emit_a_shift): Output a tab after an opcode instead of a space.
From-SVN: r38491
Kazu Hirata [Tue, 26 Dec 2000 17:54:45 +0000 (17:54 +0000)]
h8300.c (get_shift_alg): Fix a typo in the assembly code for 12-bit ASHIFTRT in HImode.
2000-12-26 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (get_shift_alg): Fix a typo in the assembly
code for 12-bit ASHIFTRT in HImode.
From-SVN: r38490
Jeff Law [Tue, 26 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38489
Tom Tromey [Tue, 26 Dec 2000 07:18:16 +0000 (07:18 +0000)]
MenuItem.java (paramString): Now protected.
* java/awt/MenuItem.java (paramString): Now protected.
* java/awt/MenuShortcut.java: Implements Serializable.
* java/awt/MenuBar.java: Rewrote from scratch.
* java/awt/MenuComponent.java (removeNotify): Wrote.
Implements Serializable.
* java/awt/GridBagConstraints.java (GridBagConstraints): New
constructor.
* java/awt/CheckboxMenuItem.java: Wrote.
From-SVN: r38488
Tom Tromey [Tue, 26 Dec 2000 00:25:13 +0000 (00:25 +0000)]
MenuContainer.java: Fixed typo.
* java/awt/MenuContainer.java: Fixed typo.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added SystemColor.java.
* java/awt/SystemColor.java: New file.
* java/awt/Color.java (rgba): Now package-private.
* java/awt/event/InputEvent.java (isAltGraphDown): New method.
* java/awt/event/ContainerEvent.java (getContainer): Renamed from
getComponent.
* java/awt/MenuItem.java (addNotify): New method.
(MenuItem(String,MenuShortcut)): New constructor.
(setLabel): Notify peer of change.
(setEnabled): Likewise.
* java/awt/GridLayout.java (toString): New method.
* java/awt/FlowLayout.java (LEADING, TRAILING): New constants.
(FlowLayout): Check for LEADING and TRAILING.
(setAlignment): Likewise.
(layoutContainer): Handle component orientation.
* java/awt/Component.java (orientatin): New field.
(setComponentOrientation): Wrote.
(getComponentOrientation): Wrote.
* java/awt/Event.java (Event): Implements Serializable.
(consumed): New field for serialization.
* java/awt/Dimension.java (Dimension): Implements Serializable.
* java/awt/Cursor.java (Cursor): Implements Serializable.
* java/awt/Container.java (Container): No longer abstract.
* java/awt/Choice.java: Wrote.
* java/awt/Checkbox.java: Wrote.
* java/awt/ItemSelectable.java: Documented.
* java/awt/CheckboxGroup.java: Wrote.
* java/awt/CardLayout.java (layoutContainer): Directly use fields
in other classes.
(getSize): Likewise.
From-SVN: r38486
Jeff Sturm [Tue, 26 Dec 2000 00:24:01 +0000 (00:24 +0000)]
FileDescriptor.java: Initialize fd to -1.
2000-12-24 Jeff Sturm <jeff.sturm@commerceone.com>
* java/io/FileDescriptor.java: Initialize fd to -1.
Remove default constructor.
From-SVN: r38485
Jeff Law [Mon, 25 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38484
Jeff Law [Sun, 24 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38483
Bryce McKinlay [Sun, 24 Dec 2000 00:43:40 +0000 (00:43 +0000)]
Shorten primitive array allocation path:
* decl.c (init_decl_processing): Use _Jv_NewPrimArray not _Jv_NewArray
to create new primitive arrays.
* expr.c (build_newarray): If generating native code, call
soft_newarray_node with a reference to the primitive TYPE identifier
instead of type_value.
From-SVN: r38482
Joseph Myers [Sat, 23 Dec 2000 23:38:51 +0000 (23:38 +0000)]
* java/lang/mprec.h: Change C9X reference to refer to C99.
From-SVN: r38481
Marek Michalkiewicz [Sat, 23 Dec 2000 19:58:17 +0000 (20:58 +0100)]
avr.c (out_movqi_r_mr, [...]): Use %o instead of %4 in output templates...
* config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
%4 in output templates, do not modify operands passed by the caller.
From-SVN: r38480
Jason Merrill [Sat, 23 Dec 2000 10:32:15 +0000 (05:32 -0500)]
xfail
From-SVN: r38479
Jeff Law [Sat, 23 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38478
Benjamin Kosnik [Sat, 23 Dec 2000 07:13:57 +0000 (07:13 +0000)]
Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
2000-12-23 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
(strstream.cc): Add special rule for deprecated files.
* libsupc++/Makefile.am (INCLUDES): Sync.
* acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here.
Reported by Fred Fish <fnf@ninemoons.com>
* include/backward/iomanip.h: Remove backward from include
* include/backward/strstream.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* src/strstream.cc: And here.
Reported by Brad Garcia <bgarcia@laurelnetworks.com>
* src/string-inst.cc (_S_find): Use generic template.
* include/bits/string.tcc (_S_find): Remove specializations
From-SVN: r38477
Hans Boehm [Sat, 23 Dec 2000 02:23:27 +0000 (02:23 +0000)]
gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
* gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
From-SVN: r38476
Joseph Myers [Sat, 23 Dec 2000 00:51:20 +0000 (00:51 +0000)]
builtins.def (BUILT_IN_LABS, [...]): Don't define.
* builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
Don't define.
* builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
BUILT_IN_LLABS and BUILT_IN_IMAXABS.
* c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
builtin labs, llabs and imaxabs.
(expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
and BUILT_IN_IMAXABS.
From-SVN: r38475
Joseph Myers [Sat, 23 Dec 2000 00:48:08 +0000 (00:48 +0000)]
c-common.c (builtin_function_2): New function.
* c-common.c (builtin_function_2): New function.
(c_common_nodes_and_builtins): Use it to define each pair (foo,
__builtin_foo) of builtins in one place.
From-SVN: r38474
Jason Merrill [Sat, 23 Dec 2000 00:33:26 +0000 (19:33 -0500)]
* typeck.c (build_binary_op): Fix pmf comparison logic.
From-SVN: r38473
Jason Merrill [Sat, 23 Dec 2000 00:05:44 +0000 (19:05 -0500)]
pt.c (more_specialized): Don't optimize len==0.
* pt.c (more_specialized): Don't optimize len==0.
(fn_type_unification): If we're adding the return type, increase len.
From-SVN: r38472
Jason Merrill [Fri, 22 Dec 2000 23:31:55 +0000 (18:31 -0500)]
* typeck.c (build_binary_op): Fix pmf comparison logic.
From-SVN: r38471
Joseph Myers [Fri, 22 Dec 2000 21:21:29 +0000 (21:21 +0000)]
* gccbug.in: Add libgcj and preprocessor categories.
From-SVN: r38470
Joseph Myers [Fri, 22 Dec 2000 20:05:09 +0000 (20:05 +0000)]
20001222-1.c: New test.
* gcc.c-torture/compile/
20001222-1.c: New test.
* gcc.c-torture/compile/
20001222-1.x: Xfail.
From-SVN: r38469
Bernd Schmidt [Fri, 22 Dec 2000 18:40:33 +0000 (18:40 +0000)]
Fix error in last change
From-SVN: r38468
Nick Clifton [Fri, 22 Dec 2000 18:22:03 +0000 (18:22 +0000)]
Prevent LR from being used by 2nd cond exec pass.
From-SVN: r38467
Nick Clifton [Fri, 22 Dec 2000 17:55:09 +0000 (17:55 +0000)]
Allow the (scratch) frame pointer to be initialised from the stack pointer
plus a constant.
From-SVN: r38466
Jason Merrill [Fri, 22 Dec 2000 17:05:50 +0000 (12:05 -0500)]
oops
From-SVN: r38465
Jason Merrill [Fri, 22 Dec 2000 16:44:22 +0000 (11:44 -0500)]
call.c (joust): Use DECL_NONSTATIC_MEMBER_FUNCTION_P, not DECL_STATIC_FUNCTION_P.
* call.c (joust): Use DECL_NONSTATIC_MEMBER_FUNCTION_P, not
DECL_STATIC_FUNCTION_P.
From-SVN: r38464
Bernd Schmidt [Fri, 22 Dec 2000 15:44:42 +0000 (15:44 +0000)]
Renamer improvements.
From-SVN: r38463
Jason Merrill [Fri, 22 Dec 2000 14:51:22 +0000 (09:51 -0500)]
semantics.c (genrtl_finish_function): Don't try to jump to return_label unless it exists.
* semantics.c (genrtl_finish_function): Don't try to jump to
return_label unless it exists.
From-SVN: r38461
Jason Merrill [Fri, 22 Dec 2000 14:47:23 +0000 (09:47 -0500)]
In partial ordering for a call, ignore parms for which we don't have a real argument.
In partial ordering for a call, ignore parms for which we don't have
a real argument.
* call.c (joust): Pass len to more_specialized.
(add_template_candidate_real): Strip 'this', pass len.
* pt.c (more_specialized): Pass len down. Lose explicit_args parm.
(get_bindings_order): New fn. Pass len down.
(get_bindings_real): Strip 'this', pass len.
(fn_type_unification): Likewise.
(type_unification_real): Succeed after checking 'len' args.
(most_specialized_instantiation): Lose explicit_args parm.
* class.c (resolve_address_of_overloaded_function): Strip 'this',
pass len.
From-SVN: r38460
Kaveh Ghazi [Fri, 22 Dec 2000 12:44:28 +0000 (12:44 +0000)]
Fix typo in ChangeLog.
From-SVN: r38453
Kaveh R. Ghazi [Fri, 22 Dec 2000 12:27:36 +0000 (12:27 +0000)]
Makefile.in (sched-deps.o, [...]): Fix dependency typo.
* Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
* fp-bit.h (usi_to_float): Add prototype.
* i386.c (file_info_cmp): Likewise.
(dwarf2out_line): Hide variable `old_in_use'.
* objc-act.c (objc_fatal): Delete.
* sched-vis.c (visualize_stall_cycles): Remove unused variable.
* system.h (getopt): Fix error in last change.
* varasm.c (assemble_trampoline_template): Constify.
From-SVN: r38452
Jason Merrill [Fri, 22 Dec 2000 11:42:51 +0000 (06:42 -0500)]
* collect2.c (main): Use auto_demangling.
From-SVN: r38451
Benjamin Kosnik [Fri, 22 Dec 2000 11:06:17 +0000 (11:06 +0000)]
000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
From-SVN: r38450
Benjamin Kosnik [Fri, 22 Dec 2000 11:03:33 +0000 (11:03 +0000)]
Attempt to make locale visible in gdb.
2000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
(std): make locale::_Impl protected. CHANGE BACK
From-SVN: r38449
Joseph Myers [Fri, 22 Dec 2000 09:30:15 +0000 (09:30 +0000)]
* release: Change some EGCS references to GCC.
From-SVN: r38448
Alexandre Oliva [Fri, 22 Dec 2000 08:50:26 +0000 (08:50 +0000)]
* gcc.c-torture/execute/comp-goto-2.c: New test.
From-SVN: r38447
Jeff Law [Fri, 22 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38446
Alexandre Oliva [Fri, 22 Dec 2000 08:15:27 +0000 (08:15 +0000)]
Fix typo in previous patch
From-SVN: r38445
Alexandre Oliva [Fri, 22 Dec 2000 08:10:53 +0000 (08:10 +0000)]
function.c (assign_parms): Update parm's DECL_INCOMING_RTL when optimizing PARALLEL to REG.
* function.c (assign_parms): Update parm's DECL_INCOMING_RTL
when optimizing PARALLEL to REG.
From-SVN: r38444
Alexandre Oliva [Fri, 22 Dec 2000 08:00:00 +0000 (08:00 +0000)]
mknumeric_limits: Output to temporary files, and rename them at the end.
* mknumeric_limits: Output to temporary files, and rename them at
the end.
From-SVN: r38443
Bryce McKinlay [Fri, 22 Dec 2000 06:19:24 +0000 (06:19 +0000)]
Throwable.java (trace_enabled): New static field.
* java/lang/Throwable.java (trace_enabled): New static field.
* java/lang/natThrowable.cc (fillInStackTrace): Do nothing if
trace_enabled not set.
* prims.cc (main_init): Turn off trace_enabled while creating
default exception objects.
From-SVN: r38442
Graham Stott [Fri, 22 Dec 2000 01:25:23 +0000 (01:25 +0000)]
reload.c (update_auto_inc_notes): New, broken out from ...
* reload.c (update_auto_inc_notes): New, broken out from ...
(find_reloads_address_1): ... use here, also correct possible
use of uninitialised reloadnum.
From-SVN: r38441
Benjamin Kosnik [Fri, 22 Dec 2000 00:27:01 +0000 (00:27 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38440
Benjamin Kosnik [Fri, 22 Dec 2000 00:14:08 +0000 (00:14 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38439
Benjamin Kosnik [Fri, 22 Dec 2000 00:04:33 +0000 (00:04 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38438
Benjamin Kosnik [Thu, 21 Dec 2000 23:58:35 +0000 (23:58 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38437
Benjamin Kosnik [Thu, 21 Dec 2000 23:54:19 +0000 (23:54 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38436
David O'Brien [Thu, 21 Dec 2000 23:18:56 +0000 (23:18 +0000)]
freebsd.h (LIB_SPEC): remove -kthread option.
2000-12-21 David O'Brien <obrien@FreeBSD.org>
* config/freebsd.h (LIB_SPEC): remove -kthread option.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20001220004807.C20358@redhat.com>
From-SVN: r38435
Benjamin Kosnik [Thu, 21 Dec 2000 23:15:18 +0000 (23:15 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38434
J"orn Rennecke [Thu, 21 Dec 2000 23:05:55 +0000 (23:05 +0000)]
* gcc.c-torture/execute/
20000822-1.c: Check for NO_TRAMPOLINES.
From-SVN: r38433
Benjamin Kosnik [Thu, 21 Dec 2000 22:52:51 +0000 (22:52 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38432
J"orn Rennecke [Thu, 21 Dec 2000 22:50:12 +0000 (22:50 +0000)]
comp-goto-1.c (uint32, sint32): Use long types if __INT_MAX__ is 32767.
* gcc.c-torture/execute/comp-goto-1.c (uint32, sint32):
Use long types if __INT_MAX__ is 32767.
(main): Use cast to (sint32 *) when poking 88 into a_page.
From-SVN: r38431
Benjamin Kosnik [Thu, 21 Dec 2000 22:46:27 +0000 (22:46 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38430
Michael Hayes [Thu, 21 Dec 2000 22:15:22 +0000 (22:15 +0000)]
resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY cases.
* resource.c (mark_set_resources): Use MARK_SRC_DEST for
PRE_MODIFY and POST_MODIFY cases.
* rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
From-SVN: r38429
Joseph Myers [Thu, 21 Dec 2000 22:08:39 +0000 (22:08 +0000)]
acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web...
* acinclude.m4, configure.in, mkcheck.in,
testsuite/21_strings/ctor_copy_dtor.cc,
testsuite/21_strings/inserters_extractors.cc,
testsuite/23_containers/map_operators.cc,
testsuite/23_containers/vector_element_access.cc,
testsuite/25_algorithms/lower_bound.cc,
testsuite/27_io/ifstream_members.cc,
testsuite/27_io/istream_extractor_arith.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/ofstream_members.cc,
testsuite/27_io/ostream_inserter_char.cc,
testsuite/27_io/ostream_inserter_other.cc,
testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
Change sourceware.cygnus.com and sources.redhat.com URLs for
libstdc++ web pages and list archives to point to gcc.gnu.org
* aclocal.m4, configure: Regenerate.
From-SVN: r38428
Michael Hayes [Thu, 21 Dec 2000 22:08:17 +0000 (22:08 +0000)]
* md.texi (Looping Patterns): New node.
From-SVN: r38427
Joseph Myers [Thu, 21 Dec 2000 21:24:28 +0000 (21:24 +0000)]
gcc.texi, cpp.texi: Update last-updated dates.
* gcc.texi, cpp.texi: Update last-updated dates.
f:
* g77install.texi, g77.texi: Update last-updated dates for
installation information and the manual as a whole.
* bugs.texi, news.texi: Update copyright years in the comments at
the top of the file.
From-SVN: r38426
Joseph Myers [Thu, 21 Dec 2000 21:08:17 +0000 (21:08 +0000)]
* g77install.texi: Adjust wording of an EGCS reference.
From-SVN: r38425
Joseph Myers [Thu, 21 Dec 2000 20:03:41 +0000 (20:03 +0000)]
* BUGS, NEWS: Regenerate.
From-SVN: r38424
Chandrakala Chavva [Thu, 21 Dec 2000 19:25:22 +0000 (14:25 -0500)]
varasm.c (output_addressed_constants): Use language specific expander on unknown nodes.
* varasm.c (output_addressed_constants): Use language specific
expander on unknown nodes.
From-SVN: r38423
Graham Stott [Thu, 21 Dec 2000 18:49:56 +0000 (18:49 +0000)]
* combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
From-SVN: r38422
Tom Tromey [Thu, 21 Dec 2000 18:39:43 +0000 (18:39 +0000)]
PropertyChangeListener.java: Extends EventListener.
* java/beans/PropertyChangeListener.java: Extends EventListener.
* java/beans/VetoableChangeListener.java: Extends EventListener.
From-SVN: r38421
Tom Tromey [Thu, 21 Dec 2000 18:39:19 +0000 (18:39 +0000)]
* java/util/zip/Deflater.java (update, init): Now private.
From-SVN: r38420
Bernd Schmidt [Thu, 21 Dec 2000 18:26:07 +0000 (18:26 +0000)]
ia64 specific scheduling bits
From-SVN: r38419
DJ Delorie [Thu, 21 Dec 2000 18:20:39 +0000 (13:20 -0500)]
dwarf2out.c (simple_decl_align_in_bits): new
* dwarf2out.c (simple_decl_align_in_bits): new
(field_byte_offset): Try both the type align and the
decl align, use whichever works, preferring the type align.
From-SVN: r38418
Jason Merrill [Thu, 21 Dec 2000 17:50:10 +0000 (12:50 -0500)]
pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not DECL_TEMPLATE_RESULT.
* pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not
DECL_TEMPLATE_RESULT.
* search.c (lookup_field_r): Call lookup_fnfields_1, not
lookup_fnfields_here.
* parse.y (typename_sub2): Return the TYPE_DECL, not the type.
* call.c (build_object_call): Also allow conversions that return
reference to pointer to function.
(add_conv_candidate): Handle totype being ref to ptr to fn.
(build_field_call): Also allow members of type reference to function.
Lose support for calling pointer to METHOD_TYPE fields.
* error.c (dump_expr): Handle *_CAST_EXPR.
* typeck2.c (build_scoped_ref): Always convert to the naming class.
* tree.c (break_out_cleanups): Lose.
* cp-tree.h: Remove prototype.
* typeck.c (build_component_ref): Don't break_out_cleanups.
(build_compound_expr): Likewise.
* semantics.c (finish_expr_stmt): Likewise.
From-SVN: r38417
Joseph Myers [Thu, 21 Dec 2000 16:22:54 +0000 (16:22 +0000)]
* gccbug.in: Fix typo.
From-SVN: r38416
Bernd Schmidt [Thu, 21 Dec 2000 14:37:30 +0000 (14:37 +0000)]
New testcase
From-SVN: r38415
Bernd Schmidt [Thu, 21 Dec 2000 13:47:09 +0000 (13:47 +0000)]
New compilation test case.
From-SVN: r38414
Jeff Law [Thu, 21 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38413
Benjamin Kosnik [Thu, 21 Dec 2000 07:19:41 +0000 (07:19 +0000)]
Makefile.in (gcc_gxx_target_include_dir): Use instead of build_tooldir and libstdcxx_incdir.
2000-12-20 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (gcc_gxx_target_include_dir): Use instead of
build_tooldir and libstdcxx_incdir.
From-SVN: r38412
Robert Lipe [Thu, 21 Dec 2000 05:00:08 +0000 (05:00 +0000)]
haifa-sched.c (schedule_block): Provide empty source statement if not MD_SCHED_REORDER2.
* haifa-sched.c (schedule_block): Provide empty source statement
if not MD_SCHED_REORDER2.
From-SVN: r38411
Bryce McKinlay [Thu, 21 Dec 2000 02:00:15 +0000 (02:00 +0000)]
BasicMapEntry.java: Re-added.
* java/util/BasicMapEntry.java: Re-added.
* java/util/HashMap.java (Entry): Extend BasicMapEntry.
(putAll): Test for BasicMapEntry.
* java/util/Hashtable.java (Entry): Extend BasicMapEntry.
(putAll): Test for BasicMapEntry.
Change references from `HashMap.Entry' to `Entry' in various places.
* Makefile.am: Add BasicMapEntry.java.
* Makefile.in: Rebuilt.
From-SVN: r38410
Gabriel Dos Reis [Thu, 21 Dec 2000 01:28:58 +0000 (01:28 +0000)]
Makefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list.
* src/Makefile.am (sources): Remove complex.cc, complexf.cc and
complexl.cc from list.
* src/Makefile.in: Regenerate.
* src/complex.cc: Remove.
* src/complexf.cc: Likewise.
* src/complexl.cc: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c
(EXTRA_DIST): Remove csqrt.c and csqrtf.c.
* libmath/Makefile.in: Regenerate.
* libmath/complex-stub.h: Remove.
* libmath/csqrt.c: Likewise.
* libmath/sqrtf.c: Likewise.
* libmath/sqrtl.c: Likewise.
* libmath/mathconf.h: Remove <complex.h> and "complex-stub.h"
#inclusion.
* include/bits/std_complex.h (sqrt<>): Define primary template.
(complex<>): Remove sqrt friend declarations.
* configure.in: Initialize with src/ios.cc.
* configure: Regenerate.
* acinclude.m4: Remove check for csqrt* and <complex.h>
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r38409
Richard Henderson [Thu, 21 Dec 2000 01:11:31 +0000 (17:11 -0800)]
rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.c (reg_note_name): Update.
* stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
* builtins.c (expand_builtin_longjmp): Likewise.
* flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
not emit an edge.
From-SVN: r38408
Richard Henderson [Wed, 20 Dec 2000 22:01:05 +0000 (14:01 -0800)]
crash36.C: Update error lines.
* g++.old-deja/g++.pt/crash36.C: Update error lines.
* g++.old-deja/g++.robertl/eb109.C: Likewise.
From-SVN: r38407
Phil Edwards [Wed, 20 Dec 2000 21:37:57 +0000 (21:37 +0000)]
acinclude.m4 (SECTION_FLAGS, [...]): Fix minor thinko.
2000-12-20 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS): Fix minor thinko.
* aclocal.m4: Regenerate.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* include/bits/istream.tcc: Fix clause reference in comment.
From-SVN: r38406
Marek Michalkiewicz [Wed, 20 Dec 2000 18:49:22 +0000 (19:49 +0100)]
avr.c (out_movsi_r_mr, [...]): Do not output undefined opcodes where source or destination register overlaps...
* config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
Do not output undefined opcodes where source or destination register
overlaps with modified pointer register. Handle (X + d) addresses.
* config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
in alternatives with memory operand.
From-SVN: r38405
Richard Henderson [Wed, 20 Dec 2000 18:18:24 +0000 (10:18 -0800)]
c-typeck.c (build_asm_stmt): New, broken out from ...
* c-typeck.c (build_asm_stmt): New, broken out from ...
(c_expand_asm_operands): ... here. Just do rtl expansion.
(c_expand_return): Return the new stmt node.
(c_start_case, do_case): Likewise.
* c-common.c (c_expand_expr_stmt): Likewise.
* c-common.h: Update declarations.
* c-tree.h: Likewise.
* c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
* c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
(nested_function, notype_nested_function): Likewise.
(compstmt): Return the compound statement not the binding level.
(lineno_labeled_stmt): Simplify.
(lineno_stmt, lineno_label): Set STMT_LINENO.
(stmt, label): Return the new stmt node.
From-SVN: r38402
Richard Henderson [Wed, 20 Dec 2000 18:16:47 +0000 (10:16 -0800)]
cp-tree.h: Update declarations.
* cp-tree.h: Update declarations.
* decl.c (finish_case_label): Return the new stmt node.
* semantics.c (finish_goto_stmt): Likewise.
(finish_expr_stmt, finish_return_stmt): Likewise.
(finish_break_stmt, finish_continue_stmt): Likewise.
(finish_asm_stmt): Likewise.
* parse.y (already_scoped_stmt): Set STMT_LINENO.
(compstmt, implicitly_scoped_stmt, stmt): Likewise.
(simple_if, simple_stmt): Return the new stmt node.
(save_lineno): New.
From-SVN: r38401
Bernd Schmidt [Wed, 20 Dec 2000 17:19:39 +0000 (17:19 +0000)]
Support scheduling across extended basic blocks
From-SVN: r38400
Bernd Schmidt [Wed, 20 Dec 2000 15:48:26 +0000 (15:48 +0000)]
Fix ARM bootstrap problems introduced by last change
From-SVN: r38399
Alexandre Oliva [Wed, 20 Dec 2000 09:03:23 +0000 (09:03 +0000)]
final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* tm.texi: Document it.
From-SVN: r38395
Jeff Law [Wed, 20 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38394
Benjamin Kosnik [Wed, 20 Dec 2000 08:39:55 +0000 (08:39 +0000)]
headers_c.cc (main): New file.
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r38393
Benjamin Kosnik [Wed, 20 Dec 2000 08:24:40 +0000 (08:24 +0000)]
[multiple changes]
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38392
Benjamin Kosnik [Wed, 20 Dec 2000 08:04:41 +0000 (08:04 +0000)]
ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38391
Benjamin Kosnik [Wed, 20 Dec 2000 07:02:41 +0000 (07:02 +0000)]
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38390
Benjamin Kosnik [Wed, 20 Dec 2000 06:50:19 +0000 (06:50 +0000)]
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38389
Benjamin Kosnik [Tue, 19 Dec 2000 22:55:07 +0000 (22:55 +0000)]
[multiple changes]
2000-12-19 Benjamin Kosnik <bkoz@fillmore.constant.com>
* configure.in: Don't turn on long long by default.
* configure: Regenerate.
* include/c/bits/std_cstdio.h: Remove c++config.h include.
* src/locale.cc: Formatting tweaks.
* testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
member functions.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38388
Benjamin Kosnik [Tue, 19 Dec 2000 20:10:41 +0000 (20:10 +0000)]
ctype.cc (test01): Correct ~ operator usage.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38387
Mark Kettenis [Tue, 19 Dec 2000 20:02:13 +0000 (20:02 +0000)]
configure.target: Support the Hurd.
2000-12-19 Mark Kettenis <kettenis@gnu.org>
* configure.target: Support the Hurd.
From-SVN: r38386
Benjamin Kosnik [Tue, 19 Dec 2000 19:49:00 +0000 (19:49 +0000)]
ctype_inline.h (is): Same.
2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
* config/os/generic/bits/ctype_inline.h (is): Non-table based
implementation.
* testsuite/22_locale/ctype_char_members.cc (test01): Use binary
operator correctly.
(test01): Check 'A' for alnum, upper, alpha.
From-SVN: r38385
Joseph Myers [Tue, 19 Dec 2000 19:42:23 +0000 (19:42 +0000)]
* texinfo: Remove directory from GCC.
From-SVN: r38384
John David Anglin [Tue, 19 Dec 2000 18:30:36 +0000 (18:30 +0000)]
* system.h (getopt): Update prototype to match include/getopt.h.
From-SVN: r38383
John David Anglin [Tue, 19 Dec 2000 18:19:56 +0000 (18:19 +0000)]
From Jeff Law.
* pa.c (basereg_operand): Simplify.
From-SVN: r38382
Bernd Schmidt [Tue, 19 Dec 2000 17:41:20 +0000 (17:41 +0000)]
More scheduler infrastructure.
From-SVN: r38381
Bernd Schmidt [Tue, 19 Dec 2000 16:52:23 +0000 (16:52 +0000)]
Flow fixes for cond_exec on ia64
From-SVN: r38380