Commit Graph

32489 Commits

Author SHA1 Message Date
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
Neil Booth
4119f8a187 * gcc.dg/cpp/multiline.c: New test.
From-SVN: r38330
2000-12-17 14:33:34 +00:00
Kaveh R. Ghazi
6029147435 c-common.c (c_common_nodes_and_builtins): Create a cstring_endlink, use it.
* c-common.c (c_common_nodes_and_builtins): Create a
	cstring_endlink, use it.  Rename int_ftype_string_string to
	int_ftype_cstring_cstring, string_ftype_string_int to
	string_ftype_cstring_int, and string_ftype_string_string to
	string_ftype_cstring_cstring.  Prefer sizetype_endlink and
	int_endlink to manually recreating them.  Fix the prototype
	set for __builtin_strspn/__builtin_strcspn.

From-SVN: r38329
2000-12-17 13:58:53 +00:00
Bryce McKinlay
8e0fe03e8e ArrayList.java (data): Declare transient.
* java/util/ArrayList.java (data): Declare transient.
	(serialPersistantFields): Removed.
	(readObject): Use defaultReadObject(), not readFields().
	(writeObject): Use defaultWriteObject(), not writeFields().

From-SVN: r38328
2000-12-17 11:51:14 +00:00
Richard Kenner
b372743a30 diagnostic.c (finish_abort): Deleted.
* diagnostic.c (finish_abort): Deleted.
	(fatal): Add code from fninish_abort.
	(error_recursion, fancy_abort): Call fatal, not finish_abort.
	(trim_filename): Remove leading "../".
	* diagnostic.h (finish_abort): Deleted.
	* toplev.c (crash_signal): Call fatal, not finish_abort.

From-SVN: r38327
2000-12-17 05:52:11 -05:00
Marek Michalkiewicz
cf14485b19 avr.c (out_set_stack_ptr): Update comment.
* config/avr/avr.c (out_set_stack_ptr): Update comment.
	(print_operand): Add support for %~ and %o.

From-SVN: r38326
2000-12-17 13:38:37 +03:00
Jeff Sturm
4984a8d3e5 Hashtable.java (put): Remove `last' variable.
2000-12-17  Jeff Sturm  <jeff.sturm@commerceone.com>

	* java/util/Hashtable.java (put): Remove `last' variable.
	Link new entry to head of list.
	* java/util/HashMap.java (put): Ditto.

From-SVN: r38325
2000-12-17 09:15:51 +00:00
Jeff Law
c9cdc03e3c Daily bump.
From-SVN: r38324
2000-12-17 01:45:07 -07:00
Herman A.J. ten Brugge
8e0ed3b5e2 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
From-SVN: r38323
2000-12-17 08:18:35 +00:00
Philipp Thomas
d9a63cc85d POTFILES.in: Add doloop.c.
2000-12-17  Philipp Thomas  <pthomas@suse.de>

	* POTFILES.in: Add doloop.c.

From-SVN: r38322
2000-12-17 06:30:40 +00:00
Philipp Thomas
5eff093aa2 POTFILES.in: Remove files not existing anymore.
2000-12-17  Philipp Thomas  <pthomas@suse.de>

	* POTFILES.in: Remove files not existing anymore.
	Add a note at the top that trailing spaces aren't allowed.

From-SVN: r38321
2000-12-17 05:20:43 +00:00
Neil Booth
ad26351490 syshdr1.C: Update.
* g++.old-deja/g++.other/syshdr1.C: Update.
        * gcc.dg/cpp/lineflags.c: Remove temporarily.

From-SVN: r38320
2000-12-17 00:22:02 +00:00