Commit Graph

32400 Commits

Author SHA1 Message Date
Benjamin Kosnik
ae75b1773b 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
2000-12-20 07:02:41 +00:00
Benjamin Kosnik
1eddfef1b0 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
2000-12-20 06:50:19 +00:00
Benjamin Kosnik
205c6f1709 [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
2000-12-19 22:55:07 +00:00
Benjamin Kosnik
f9ecb28c17 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
2000-12-19 20:10:41 +00:00
Mark Kettenis
36efdf10e5 configure.target: Support the Hurd.
2000-12-19  Mark Kettenis  <kettenis@gnu.org>

        * configure.target: Support the Hurd.

From-SVN: r38386
2000-12-19 20:02:13 +00:00
Benjamin Kosnik
62f4333a68 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
2000-12-19 19:49:00 +00:00
Joseph Myers
c387606fe8 * texinfo: Remove directory from GCC.
From-SVN: r38384
2000-12-19 19:42:23 +00:00
John David Anglin
051a55e097 * system.h (getopt): Update prototype to match include/getopt.h.
From-SVN: r38383
2000-12-19 10:30:36 -08:00
John David Anglin
b088998d29 From Jeff Law.
* pa.c (basereg_operand): Simplify.

From-SVN: r38382
2000-12-19 11:19:56 -07:00
Bernd Schmidt
79c2ffde68 More scheduler infrastructure.
From-SVN: r38381
2000-12-19 17:41:20 +00:00
Bernd Schmidt
288c2c9e63 Flow fixes for cond_exec on ia64
From-SVN: r38380
2000-12-19 16:52:23 +00:00
Catherine Moore
6a69653af2 reload1.c (reload_combine): Take multi-hard-regs into account when processing CALL_INSN_FUNCTION_USAGE.
* reload1.c (reload_combine): Take multi-hard-regs into account
        when processing CALL_INSN_FUNCTION_USAGE.

From-SVN: r38379
2000-12-19 11:10:19 -05:00
Joseph Myers
3c0b797012 invoke.texi (-print-search-dirs): Make references to cpp refer to cpp0 instead.
* invoke.texi (-print-search-dirs): Make references to cpp refer
	to cpp0 instead.

From-SVN: r38378
2000-12-19 13:25:28 +00:00
Gabriel Dos Reis
0a9419ccca std_complex.h (complex<float>::operator-=): Fix thinko.
* include/bits/std_complex.h (complex<float>::operator-=): Fix
      thinko.

From-SVN: r38377
2000-12-19 11:21:14 +00:00
Jeff Law
ecbe3dd5d1 Daily bump.
From-SVN: r38376
2000-12-19 01:45:45 -07:00
Warren Levy
1889cf4a71 GregorianCalendar.java (GregorianCalendar): Constructors need to set timezone to a valid non-null value.
* java/util/GregorianCalendar.java (GregorianCalendar): Constructors
	need to set timezone to a valid non-null value.  Partial fix for
	PR 331.

From-SVN: r38375
2000-12-19 07:48:54 +00:00
Kaveh R. Ghazi
9d2dc7da92 fold-const.c (tree_expr_nonnegative_p): Treat truth values as non-negative.
* fold-const.c (tree_expr_nonnegative_p): Treat truth values as
	non-negative.

testsuite:
	* gcc.dg/compare3.c: New test.

From-SVN: r38374
2000-12-19 01:17:20 +00:00
J"orn Rennecke
d0b6af711c reload.c (push_reload): When using a dying register for the reload register in an in-out reload...
* reload.c (push_reload): When using a dying register for the reload
	register in an in-out reload, use outmode if wider than inmode.

From-SVN: r38373
2000-12-19 00:42:31 +00:00
Joseph Myers
3173ca6431 * config/d30v/d30v.h (EXIT_BODY): Update comment.
From-SVN: r38371
2000-12-19 00:04:42 +00:00
Joseph Myers
9e9b9afe4c config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
	* tm.texi (EXIT_BODY): Update documentation.
	* config/freebsd.h, config/netware.h, config/arm/coff.h,
	config/arm/conix-elf.h, config/arm/unknown-elf.h,
	config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
	sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
	commented out) and associated comments.

f:
	* com.c [VMS]: Remove definition of BSTRING.

From-SVN: r38370
2000-12-18 23:58:21 +00:00
Joseph Myers
20d380b15d c-common.c (STD_C9L, ADJ_STD): Define.
* c-common.c (STD_C9L, ADJ_STD): Define.
	(printf_length_specs, scanf_length_specs): Mark "ll" as standard
	STD_C9L.
	(T99_LL): Rename to T9L_LL.
	(T99_ULL): Rename to T9L_ULL.
	(print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
	instead of T99_LL and T99_ULL.
	(check_format_info_main): Use ADJ_STD on all format standard
	versions being compared.
	* c-common.h: Declare warn_long_long.
	* c-tree.h: Don't declare warn_long_long.

cp:
	* cp-tree.h: Don't declare warn_long_long.

testsuite:
	* gcc.dg/format-warnll-1.c: New test.

From-SVN: r38369
2000-12-18 23:50:58 +00:00
Tom Tromey
e2ef2bf880 mauve.exp (test_mauve): Don't look for exceptions thrown in the test harness.
* libjava.mauve/mauve.exp (test_mauve): Don't look for exceptions
	thrown in the test harness.
	(test_mauve_sim): Likewise.

From-SVN: r38368
2000-12-18 23:13:05 +00:00
Bryce McKinlay
be36b6d0dd Removed additional addNotify() peer hacks.
From-SVN: r38367
2000-12-18 22:17:25 +00:00
Joseph Myers
2cb5082c1e COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* COPYING: Update to current
	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
	to 19yy as example year in copyright notice).

gcc:
	* COPYING: Update to current
	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
	to 19yy as example year in copyright notice).

gcc/f:
	* g77.texi: Update GPL copy not to refer to years 19@var{yy}.

include:
	* COPYING: Update to current
	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
	to 19yy as example year in copyright notice).

From-SVN: r38366
2000-12-18 21:47:20 +00:00
Bryce McKinlay
6d003d5c8f re GNATS gcj/373: (interface inner classes are implicitly static)
Fix for PR gcj/373:
	* parse.y (create_class): Set ACC_STATIC if class is declared in an
	interface.

From-SVN: r38365
2000-12-18 21:23:02 +00:00
Bryce McKinlay
da68e69359 Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed.
* java/awt/Window.java (addNotify): Remove peer casting hack now
	that gcj/312 is fixed.

From-SVN: r38364
2000-12-18 21:20:31 +00:00
Bryce McKinlay
c1eacb709f Fix for PRs gcj/312 and gcj/253:
* parse.y (valid_ref_assignconv_cast_p): Load classes for source and
	dest if they arn't already.
	* class.c (layout_class): Call maybe_layout_super_class on
	superinterfaces also, but only if compiling from bytecode.

From-SVN: r38363
2000-12-18 21:15:52 +00:00
Toon Moene
25cfec087a bugs.texi: Correct copyright years.
2000-12-18  Toon Moene <toon@moene.indiv.nluug.nl>

	* bugs.texi: Correct copyright years.
	* g77.texi: Likewise.
	* news.texi: Likewise.

From-SVN: r38362
2000-12-18 20:59:48 +00:00
Neil Booth
665ad67835 c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).
* c-lex.c (cb_file_change): Treat in_system_header as strictly
	boolean (0 or 1).

From-SVN: r38361
2000-12-18 20:38:35 +00:00
Neil Booth
ee83b1f754 * gcc.dg/cpp/cmdlne-P.c: New test.
From-SVN: r38360
2000-12-18 19:37:18 +00:00
Neil Booth
3cab41338d * cppmain.c: Update print.lineno with -P.
From-SVN: r38359
2000-12-18 19:31:54 +00:00
Joseph Myers
9b4ea1a8a3 builtin-abs-1.c, [...]: New tests.
* gcc.c-torture/execute/builtin-abs-1.c,
	gcc.c-torture/execute/builtin-abs-2.c: New tests.

From-SVN: r38358
2000-12-18 19:01:41 +00:00
Neil Booth
eb1f4d9d28 c-lex.c: s/change_file/file_change.
* c-lex.c: s/change_file/file_change.
        * cpplib.h: Similarly.
        * cppmain.c: Similarly.
        * fix-header.c: Similarly.
        * cppfiles.c (stack_include_file): Pass the buffer location and
        size to cpp_push_buffer.  Generate the file_change callback,
        so that sysp is already set.
        * cpphash.h: Add _cpp_do_file_change.
        * cpplib.c (do_line): Set buffer->sysp directly. Generate the
        file_change callback after setting sysp.
        (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
        here.
        (cpp_push_buffer): Don't generate a callback.  Clear sysp.
        (cpp_pop_buffer): Clean up logic.

From-SVN: r38357
2000-12-18 19:00:26 +00:00
Benjamin Kosnik
e2187d3b52 configure.in (gcc_gxx_include_dir): Simplify.
2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (gcc_gxx_include_dir): Simplify.
	(libstdcxx_incdir): Export.
	* configure: Regenerate.
	* Makefile.in (PREPROCESSOR_DEFINES): Add in
	GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
	(libstdcxx_incdir): Add.
	* cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.

From-SVN: r38356
2000-12-18 18:12:45 +00:00
Benjamin Kosnik
cc330df988 Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
	(libstdcxx_incdir): Pass down.
	* config.if: Remove expired bits for cxx_interface, add stub.
	(libstdcxx_incdir): Add variable for g++ include directory.
	* configure.in (gxx_include_dir): Use it.

From-SVN: r38355
2000-12-18 18:08:07 +00:00
Benjamin Kosnik
6e138b89b7 [multiple changes]
2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in: Set os_include_dir for cross_compiles.
	* configure: Regenerate.
	* configure.target (l_glibcpp_cxxflags): Don't try to be clever
	when assigning ATOMICITYH. Only special case the special cases...

2000-12-15  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (gxx_target_include_dir): Install target-dependent
	include files in a target-dependent place.
	* configure: Regenerate.
	* src/Makefile.am: Add in support here.
	* src/Makefile.in: Regenerate.

From-SVN: r38354
2000-12-18 18:03:08 +00:00
Alexandre Oliva
4c6b283591 MAINTAINERS: Added self as sh port co-maintainer.
* MAINTAINERS: Added self as sh port co-maintainer.  Removed entry
with old-email address from ``Write After Approval''.

From-SVN: r38353
2000-12-18 17:01:21 +00:00
Joseph Myers
8f6b8c9955 g77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.
* g77install.texi: Remove obsolete parts only used for INSTALL,
	and DOC-G77 conditionals.  Update last-update-install date.

From-SVN: r38343
2000-12-18 12:16:41 +00:00
Neil Booth
851ef03661 c-lex.c (lex_lineno): Remove.
* c-lex.c (lex_lineno): Remove.
        (init_c_lex, c_lex): Remove lex_lineno.
        (cb_change_file): Update lineno correctly, both before calling
        push_srcloc and before leaving the function.
        (cb_def_pragma): Set lineno before outputting diagnostics.

From-SVN: r38342
2000-12-18 10:16:26 +00:00
Joseph Myers
33ba48b619 COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* docs/html/17_intro/COPYING: Update to current
	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
	to 19yy as example year in copyright notice).

From-SVN: r38341
2000-12-18 09:14:00 +00:00
Joseph Myers
161e6a4258 COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* COPYING: Update to current
	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
	to 19yy as example year in copyright notice).

From-SVN: r38340
2000-12-18 09:12:19 +00:00
Jeff Law
5b2a0c4aab Daily bump.
From-SVN: r38339
2000-12-18 01:45:11 -07:00
Bryce McKinlay
dbb04e883d natInflater.cc (inflate): Treat Z_BUF_ERROR as end-of-stream if avail_in is 0.
* java/util/zip/natInflater.cc (inflate): Treat Z_BUF_ERROR as
        end-of-stream if avail_in is 0.

From-SVN: r38338
2000-12-18 01:00:23 +00:00
Richard Kenner
f2aca1970f print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
* print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
	Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
	Use print_node_brief to print bounds.

From-SVN: r38337
2000-12-17 18:47:48 -05:00
Neil Booth
49fe13f6d8 cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool.
* cpplib.h (struct cpp_reader): Remove references to string_pool
        and temp_string_pool.
        * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
        ident_pool in place.
        * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
        save_comment, cpp_token_as_text): Similarly.
        * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
        * cppmacro.c (make_number_token, builtin_macro, lock_pools,
        unlock_pools, stringify_arg, paste_tokens): Similarly.

From-SVN: r38336
2000-12-17 22:40:32 +00:00
Richard Kenner
ed972b14ec dwarf2out.c (loc_descriptor_from_tree, [...]): New case.
* dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
	(loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
	(loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.

From-SVN: r38335
2000-12-17 12:45:19 -05:00
Richard Kenner
5005666bd7 Whitespace change
From-SVN: r38334
2000-12-17 12:22:41 -05:00
Richard Earnshaw
e108653caa Makefile.in (check-po): Use $(MAKE).
* Makefile.in (check-po): Use $(MAKE).
(risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.

From-SVN: r38333
2000-12-17 15:31:16 +00:00
Neil Booth
dfbf62ec3d cppmain.c (check_multiline_token): New function.
* cppmain.c (check_multiline_token): New function.
        (scan_buffer): Use it.
        (cb_change_file): Restructure to avoid warning.
        * cpperror.c (print_location): Initialize col.

From-SVN: r38332
2000-12-17 14:46:34 +00:00
Philipp Thomas
04650349da protoize.c (main): Correctly set locale categories.
2000-12-14  Philipp Thomas  <pthomas@suse.de>
	* protoize.c (main): Correctly set locale categories.
	* gcc.c (main): Likewise.
	* cppmain.c (general_init): Likewise.
	* toplev.c (main): Likewise.
	* gcov.c (main): Likewise.
	* collect2.c (main): Likewise.

From-SVN: r38331
2000-12-17 14:35:05 +00:00