32562 Commits

Author SHA1 Message Date
Jason Merrill
c939ca5f58 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
2000-12-22 11:44:22 -05:00
Bernd Schmidt
fe08a886b2 Renamer improvements.
From-SVN: r38463
2000-12-22 15:44:42 +00:00
Jason Merrill
e6fe680d2e 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
2000-12-22 09:51:22 -05:00
Jason Merrill
e5214479a7 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
2000-12-22 09:47:23 -05:00
Kaveh Ghazi
83ab39071b Fix typo in ChangeLog.
From-SVN: r38453
2000-12-22 12:44:28 +00:00
Kaveh R. Ghazi
fc608b0321 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
2000-12-22 12:27:36 +00:00
Jason Merrill
a545190e1f * collect2.c (main): Use auto_demangling.
From-SVN: r38451
2000-12-22 06:42:51 -05:00
Benjamin Kosnik
e63a5d07ad 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
2000-12-22 11:06:17 +00:00
Benjamin Kosnik
0a31609b5a 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
2000-12-22 11:03:33 +00:00
Joseph Myers
2d6fd5fd06 * release: Change some EGCS references to GCC.
From-SVN: r38448
2000-12-22 09:30:15 +00:00
Alexandre Oliva
292b48db28 * gcc.c-torture/execute/comp-goto-2.c: New test.
From-SVN: r38447
2000-12-22 08:50:26 +00:00
Jeff Law
4f50715ce0 Daily bump.
From-SVN: r38446
2000-12-22 01:45:08 -07:00
Alexandre Oliva
56b828c22c Fix typo in previous patch
From-SVN: r38445
2000-12-22 08:15:27 +00:00
Alexandre Oliva
fd81f5f608 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
2000-12-22 08:10:53 +00:00
Alexandre Oliva
c2651d6650 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
2000-12-22 08:00:00 +00:00
Bryce McKinlay
86a42a5f24 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
2000-12-22 06:19:24 +00:00
Graham Stott
98c17df26e 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
2000-12-22 01:25:23 +00:00
Benjamin Kosnik
98e6e789f6 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
2000-12-22 00:27:01 +00:00
Benjamin Kosnik
74da183aea 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
2000-12-22 00:14:08 +00:00
Benjamin Kosnik
fb9affe790 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
2000-12-22 00:04:33 +00:00
Benjamin Kosnik
1aa040fc77 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
2000-12-21 23:58:35 +00:00
Benjamin Kosnik
2b8c76ef65 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
2000-12-21 23:54:19 +00:00
David O'Brien
78abb7b151 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
2000-12-21 23:18:56 +00:00
Benjamin Kosnik
8358c2c297 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
2000-12-21 23:15:18 +00:00
J"orn Rennecke
ee4fca5842 * gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.
From-SVN: r38433
2000-12-21 23:05:55 +00:00
Benjamin Kosnik
e3123ab3ba 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
2000-12-21 22:52:51 +00:00
J"orn Rennecke
3546ef587f 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
2000-12-21 22:50:12 +00:00
Benjamin Kosnik
d8147b1eb1 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
2000-12-21 22:46:27 +00:00
Michael Hayes
1fb9c5cd12 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
2000-12-21 22:15:22 +00:00
Joseph Myers
a9ab8db153 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
2000-12-21 22:08:39 +00:00
Michael Hayes
6e4fcc9522 * md.texi (Looping Patterns): New node.
From-SVN: r38427
2000-12-21 22:08:17 +00:00
Joseph Myers
a60b5209b9 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
2000-12-21 21:24:28 +00:00
Joseph Myers
46af7686b3 * g77install.texi: Adjust wording of an EGCS reference.
From-SVN: r38425
2000-12-21 21:08:17 +00:00
Joseph Myers
432d4a1dcc * BUGS, NEWS: Regenerate.
From-SVN: r38424
2000-12-21 20:03:41 +00:00
Chandrakala Chavva
c165f94f1a 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
2000-12-21 14:25:22 -05:00
Graham Stott
f7cfa78deb * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
From-SVN: r38422
2000-12-21 18:49:56 +00:00
Tom Tromey
5ebee7d409 PropertyChangeListener.java: Extends EventListener.
* java/beans/PropertyChangeListener.java: Extends EventListener.
	* java/beans/VetoableChangeListener.java: Extends EventListener.

From-SVN: r38421
2000-12-21 18:39:43 +00:00
Tom Tromey
465c091ce9 * java/util/zip/Deflater.java (update, init): Now private.
From-SVN: r38420
2000-12-21 18:39:19 +00:00
Bernd Schmidt
2130b7fb30 ia64 specific scheduling bits
From-SVN: r38419
2000-12-21 18:26:07 +00:00
DJ Delorie
5f446d2172 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
2000-12-21 13:20:39 -05:00
Jason Merrill
477f6664a4 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
2000-12-21 12:50:10 -05:00
Joseph Myers
e98df22a4f * gccbug.in: Fix typo.
From-SVN: r38416
2000-12-21 16:22:54 +00:00
Bernd Schmidt
710916e625 New testcase
From-SVN: r38415
2000-12-21 14:37:30 +00:00
Bernd Schmidt
dd16cb7c95 New compilation test case.
From-SVN: r38414
2000-12-21 13:47:09 +00:00
Jeff Law
beed66d59e Daily bump.
From-SVN: r38413
2000-12-21 01:45:08 -07:00
Benjamin Kosnik
9d680205ed 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
2000-12-21 07:19:41 +00:00
Robert Lipe
01c70ab016 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
2000-12-21 05:00:08 +00:00
Bryce McKinlay
f387d86265 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
2000-12-21 02:00:15 +00:00
Gabriel Dos Reis
1228c7b6bd 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
2000-12-21 01:28:58 +00:00
Richard Henderson
4b01bd1658 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
2000-12-20 17:11:31 -08:00