Commit Graph

32084 Commits

Author SHA1 Message Date
Benjamin Kosnik a767e3837f acinclude.m4 (EXTRA_CXX_FLAGS): And here.
2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (EXTRA_CXX_FLAGS): And here.
	* include/c/bits/std_cstdlib.h (std ): Change macro to
	_GLIBCPP_NEED_LLDIV_T.
	* acconfig.h: Remove unused MBSTATE_T bits.
	* configure.in: Same.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

From-SVN: r38058
2000-12-06 02:35:27 +00:00
Neil Booth 3cf3593fad cppfiles.c (stack_include_file): Push zero-length buffers in case of failure.
* cppfiles.c (stack_include_file): Push zero-length buffers
        in case of failure.  Return void, as we don't fail any more.
        (read_include_file): Check for files we shouldn't re-read.
        Don't return an error code; errors are implied by marking the
        file NEVER_REREAD.
        (_cpp_execute_include): Move the recursion and in-macro checks
        here.  Update for stack_include_file not failing.
        * cpplib.c (cpp_push_buffer): Always succeed, since
        _cpp_execute_include performs the recursion check.  Tidy up.
        * cpplib.h (cpp_push_buffer): Update prototype.

From-SVN: r38057
2000-12-05 23:42:43 +00:00
Benjamin Kosnik d53c4221af acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38056
2000-12-05 23:30:12 +00:00
Benjamin Kosnik f502ff4fc8 acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38055
2000-12-05 23:25:08 +00:00
Benjamin Kosnik 350138ba1d acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38054
2000-12-05 23:06:32 +00:00
Alexandre Oliva 4c42e347ee sched-vis.c (visual_tbl_line_length): New variable.
* sched-vis.c (visual_tbl_line_length): New variable.
(get_visual_tbl_length): Set it.
(visualize_stall_cycles): Don't let stalls overrun
visual_tbl_line_length.

From-SVN: r38053
2000-12-05 22:53:33 +00:00
Zack Weinberg b75d998f0e texi2pod.pl: Restructure for comprehensibility, add comments.
* texi2pod.pl: Restructure for comprehensibility, add
	comments.  Merge handling of @ignore and @ifxxx.  Handle a
	whole bunch more Texinfo commands.  Use consistent formatting
	style.

From-SVN: r38052
2000-12-05 22:12:42 +00:00
Benjamin Kosnik f4c79fef19 acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for lldiv_t.
2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
	lldiv_t. Allow the use of os-specific defines while checking for
	long-long functions by the inclusion of os_defines.h.
	* aclocal.m4: Regenerate.
	* configure.in: Add comments.
	* configure: Regenerate.
	* acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
	* config.h.in: Regenerate.
	* config/os/gnu-linux/bits/os_defines.h: Fix typos and
	duplications in comments.

From-SVN: r38051
2000-12-05 22:03:19 +00:00
Geoffrey Keating 06a3a6db49 global.c (global_conflicts): Allow for a REG_UNUSED note with a different mode to the REG set in the insn.
* global.c (global_conflicts): Allow for a REG_UNUSED note
with a different mode to the REG set in the insn.

* gcc.c-torture/execute/20001203-2.c: New testcase.

From-SVN: r38046
2000-12-05 19:12:20 +00:00
Kaveh R. Ghazi 9c101f4a0f Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.

	* fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).

From-SVN: r38045
2000-12-05 18:46:56 +00:00
Richard Earnshaw 1435059ed6 mkfixinc.sh (*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux.
* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
GNU/Linux.

* fixinc/mkfixinc.sh: Run fixinc on netbsd.
* fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
to cope with aliased copies.
* fixinc/fixincl.x: Regenerate.

From-SVN: r38044
2000-12-05 18:08:09 +00:00
Jason Merrill b5d1497d5e cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled name before allocating the dyn_string.
* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
        name before allocating the dyn_string.

From-SVN: r38043
2000-12-05 12:29:12 -05:00
Bernd Schmidt f56887a78f Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
From-SVN: r38042
2000-12-05 16:51:13 +00:00
Will Cohen 3dc9aec61f Modification to define_label and finish_case_label in decl.c to handle
scoping correctly.

From-SVN: r38041
2000-12-05 16:21:54 +00:00
Nathan Sidwell cbb409451b cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
cp:
	* cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
	(get_matching_virtual): Remove.
	(look_for_overrides): Declare new function.
	* decl.c (grokfndecl): Don't set IDENTIFIER_VIRTUAL_P or
	DECL_VINDEX here.
	* class.c (check_for_override): Move base class iteration code
	to look_for_overrides.
	* search.c (next_baselink): Remove.
	(get_virtuals_named_this): Remove.
	(get_virtual_destructor): Remove.
	(tree_has_any_destructors_p): Remove.
	(struct gvnt_info): Remove.
	(check_final_overrider): Remove `virtual' from error messages.
	(get_matching_virtuals): Remove. Move functionality to ...
	(look_for_overrides): ... here, and ...
	(look_for_overrides_r): ... here. Set DECL_VIRTUAL_P, if found
	to be overriding.
testsuite:
	* g++.old-deja/g++.h/spec6.C: Remove some of the XFAILS.
	* g++.old-deja/g++.other/virtual10.C: New test.

From-SVN: r38040
2000-12-05 15:50:06 +00:00
Nathan Sidwell 61402b802a typeck.c (get_delta_difference): If via a virtual base, return zero.
cp:
	* typeck.c (get_delta_difference): If via a virtual base,
	return zero.
	* cvt.c (cp_convert_to_pointer): If via a virtual base, do no
	adjustment.
testsuite:
	* g++.old-deja/g++.mike/pmf5.C: Remove test.

From-SVN: r38039
2000-12-05 15:35:59 +00:00
Bruce Korb 4839149c4c enable fixincludes for BeOS
From-SVN: r38038
2000-12-05 14:54:02 +00:00
Richard Earnshaw c87e46884b ctype_base.h: Update comments about other BSD variants.
* config/os/freebsd/bits/ctype_base.h: Update comments about other
BSD variants.

From-SVN: r38037
2000-12-05 14:09:53 +00:00
Richard Earnshaw 0b971613de *.h: Move here from config/os/bsd/bits.
* config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
* aclocal.m4: Adjust accordingly.
* configure.target: Likewise.
* configure: Regenerate.

From-SVN: r38036
2000-12-05 14:05:34 +00:00
Jason Merrill 23bea145a4 revert cloning patch
From-SVN: r38035
2000-12-05 08:32:35 -05:00
Jason Merrill 85c64f78c6 also tweak comment
From-SVN: r38034
2000-12-05 08:28:46 -05:00
Richard Earnshaw 529dec15d8 atomicity.h: Add support for compiling Thumb code.
* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.

From-SVN: r38033
2000-12-05 10:36:33 +00:00
Richard Earnshaw 11b176c156 Support for NetBSD.
* aclocal.m4: Add test for NetBSD's ctype support.
* configure: Regenerate.
* configure.target: Support NetBSD.
* config/os/netbsd/bits/ctype_base.h: New file.
* config/os/netbsd/bits/ctype_inline.h: New file.
* config/os/netbsd/bits/ctype_noinline.h: New file.
* config/os/netbsd/bits/os_defines.h: New file.

From-SVN: r38032
2000-12-05 10:29:47 +00:00
Jeff Law c753fb983a Daily bump.
From-SVN: r38031
2000-12-05 01:45:08 -07:00
Richard Henderson eca93b0599 * stmt.c (warn_if_unused_value): Move side effects test earlier.
From-SVN: r38030
2000-12-05 00:16:15 -08:00
Richard Henderson 7d3615831e New test.
From-SVN: r38029
2000-12-05 00:13:27 -08:00
Alan Modra de9e5c232b bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.
* bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
        when using sjlj.

From-SVN: r38028
2000-12-05 00:00:32 -08:00
Richard Henderson 39c39be99b flow.c (calculate_global_regs_live): Only force stack pointer live before reload.
* flow.c (calculate_global_regs_live): Only force stack pointer
        live before reload.  Force pic register live before reload.
        (insn_dead_p): Don't protect pic references from deletion.

From-SVN: r38027
2000-12-04 23:58:18 -08:00
Alexandre Petit-Bianco f8b93ea75d parse.y (patch_method_invocation): Pick the correct enclosing context when creating inner class instances.
2000-12-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (patch_method_invocation): Pick the correct enclosing
	context when creating inner class instances.
	Fixes gcj/332.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00217.html)

From-SVN: r38026
2000-12-04 23:08:56 -08:00
Gabriel Dos Reis fad3e66e8e complex.cc (pow): Remove definitions for explicit specializations.
* src/complex.cc (pow): Remove definitions for explicit
	specializations.
	* libmath/mathconf.h: Remove declarations for c_log, c_logf,
	c_logl.
	* libmath/complex-stub.h: Remove declarations for cpow, cpowf,
	cpowl.
	* libmath/cpow.c: Remove.
	* libmath/cpowf.c: Remove.
	* libmath/cpowl.c: Remove.
	* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
	cpowl,
	(EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
	* libmath/Makefile.in: Regenarate.
	* libmath/c_log.c: Remove
	* libmath/c_logf.c: Likewise.
	* libmath/c_logl.c: Likewise.
	* libmath/carg.c: Likewise.
	* libmath/cargf.c: Likewise.
	* libmath/cargl.c: Likewise.
	* include/bits/std_complex.h (pow): Define primary templates.
	(complex<>): Remove friend declarations for pow<>().
	* acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
	cargf.
	* aclocal.m4: Regenarate.
	* configure: Regenarate.

From-SVN: r38025
2000-12-05 04:01:46 +00:00
Joseph Myers 9d86bffccb invoke.texi: Add support for using texi2pod.pl.
* invoke.texi: Add support for using texi2pod.pl.  Don't use
	@multitable.

From-SVN: r38024
2000-12-05 01:40:43 +00:00
Nick Clifton 1269f39519 Remove spurious test of XScale and HARD_FLOAT floags
From-SVN: r38023
2000-12-05 01:17:18 +00:00
Richard Henderson 39abc9a650 * error.c (dump_tree): Use output_add_string not OB_PUTS.
From-SVN: r38021
2000-12-04 16:18:23 -08:00
Richard Henderson 675ad22cfc * demangle.h: Change "new_abi" to "v3" everywhere.
From-SVN: r38020
2000-12-04 15:46:57 -08:00
Neil Booth 72ca2deef3 virtual9.C: New test.
* g++.old-deja/g++.other/virtual9.C: New test.
	* g++.old-deja/g++.pt/crash61.C: New test.
	* gcc.c-torture/execute/loop-9.c: New test.

From-SVN: r38019
2000-12-04 23:44:51 +00:00
Nick Clifton a67ded0fdc Fix bogons from XScale contribution
From-SVN: r38018
2000-12-04 23:35:10 +00:00
Nick Clifton c84df4c569 Do not create interworking functions if the target architecture does not
support Thumb instructions.

From-SVN: r38017
2000-12-04 23:05:17 +00:00
Joseph Myers c4f0b011c7 ONEWS: New file with the current contents of NEWS up to EGCS 1.1.
gcc:
	* ONEWS: New file with the current contents of NEWS up to EGCS
	1.1.
	* NEWS: Generate automatically from online release notes from EGCS
	1.0 to GCC 2.95.2, using ../contrib/gennews.

contrib:
	* gennews: New script.

From-SVN: r38016
2000-12-04 23:03:07 +00:00
Nick Clifton bbb8cffb5f Remove spurious CYGNUS LOCAL markers
From-SVN: r38015
2000-12-04 23:00:26 +00:00
Neil Booth 7aab7b5a8f * gcc.dg/cpp/extratokens.c: Forgotten file.
From-SVN: r38014
2000-12-04 22:54:46 +00:00
Neil Booth b6972575d4 instan1.C, instan2.C: Move to...
* g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
	* g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here.
	* gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into...
	* gcc.dg/cpp/extratokens.c: ...here.

From-SVN: r38013
2000-12-04 22:51:59 +00:00
Neil Booth bb0067f231 assert_trad1.c, [...]: New tests.
* gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
        New tests.

From-SVN: r38012
2000-12-04 22:06:41 +00:00
Neil Booth 7682e7bc2e tradcif.y: Move lexptr to top of file.
* tradcif.y: Move lexptr to top of file.  Add rule to handle
        assertions in conditional expressions.
        * tradcpp.c (parse_answer): Assertions do not need to go to
        end of line in conditional directives.
        (parse_assertion): Get first character of identifiers correct.
        (test_assertion): New function.
        * tradcpp.h (test_assertion): New prototype.

From-SVN: r38011
2000-12-04 22:05:19 +00:00
Rodney Brown 23a535c4ff config.gcc: Fix typo for UnixWare 7.
2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>

    * config.gcc: Fix typo for UnixWare 7.

From-SVN: r38010
2000-12-04 20:20:23 +00:00
DJ Delorie 58097133b9 typo
From-SVN: r38009
2000-12-04 13:42:59 -05:00
Phil Edwards 32fb1fb20f invoke.texi: Replace `pedwarns' with clearer text.
2000-12-03  Phil Edwards  <pme@sources.redhat.com>

	* invoke.texi:  Replace `pedwarns' with clearer text.

From-SVN: r38008
2000-12-04 18:40:14 +00:00
Bruce Korb e1e0c65875 do not clean autogenerated fixinc files
From-SVN: r38007
2000-12-04 18:16:04 +00:00
DJ Delorie b386959101 Capitalization fix.
From-SVN: r38006
2000-12-04 12:24:14 -05:00
DJ Delorie 55e4756faa * md.texi: Add overview, clarify match_dup and define_expand.
From-SVN: r38005
2000-12-04 12:23:34 -05:00
DJ Delorie 7d4923724f print-tree.c (print_node): target-specific builtins print numbers, not names.
* print-tree.c (print_node): target-specific builtins print
numbers, not names.

From-SVN: r38004
2000-12-04 12:21:42 -05:00