Commit Graph

32364 Commits

Author SHA1 Message Date
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
Neil Booth ad2a084dbd c-lex.c: Move main_input_filename handling to FC_ENTER.
* c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
        * cpperror.c (print_containing_files): Get right line number.
        (print_location): Output column of 1 if 0.
        * cppfiles.c (stack_include_file): cpp_push_buffer handles
        the callback.
        * cpphash.h (_cpp_do_file_change): No longer external.
        * cpplib.c (do_file_change): Now local to cpplib.c.
        (do_line): Fake a buffer stack for preprocessed files.
        (cpp_push_buffer): Create a file_change callback.  Handle faked
        buffers.
        (cpp_pop_buffer): Similarly.
        * cpplib.h: BUF_FAKE: New buffer type.
        * cppmain.c: Update to handle correct file renaming where a
        #line is the first line of the main file, and produce only
        the renamed file, not the original file, as output.

From-SVN: r38319
2000-12-17 00:13:54 +00:00
Michael Hayes 3b67042af8 * config/c4x/c4x.md: Remove redundant @s from output patterns.
From-SVN: r38318
2000-12-16 23:51:06 +00:00
Michael Hayes 9f416fac8f c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.

	* config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.

	* config/c4x/c4x.c (c4x_init_pragma): New function.
	(c_lex_func): New variable.
	(c4x_parse_pragma): Use c_lex_func.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

From-SVN: r38317
2000-12-16 23:41:44 +00:00
Michael Hayes 94eebed99a c4x.h (MD_INIT_BUILTINS): Add void_list_node argument to c4x_init_builtins.
* config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
	  to c4x_init_builtins.

	* config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.

	* config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
	(c4x_output_ascii):  Fix.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

From-SVN: r38316
2000-12-16 23:28:20 +00:00
Michael Hayes 8a119a7d47 c4x.h (MD_INIT_BUILTINS, [...]): Define.
* config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.

	* config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
	(c4x_expand_builtin): Likewise.

	* config/c4x/c4x.c (c4x_init_builtins): New function.
	(c4x_expand_builtin): Likewise.

	* config/c4x/c4x.md (floatunsqihf2): New pattern.
	(*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
	(fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
	(*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
	(*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

From-SVN: r38315
2000-12-16 23:13:15 +00:00
Michael Hayes 66f7715434 libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
* libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
	* libgcc2.c (__absvsi2): Use Wtype and DWtype.
	(__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
	(__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.

From-SVN: r38314
2000-12-16 22:43:58 +00:00
Alexandre Oliva f11009b711 sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).
* config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
statement in do/while(0).

From-SVN: r38313
2000-12-16 19:40:19 +00:00
Herman A.J. ten Brugge d092a92533 safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits.
* safe-ctype.h: Make code work on all targets and not just on
        targets where a char is 8 bits.

From-SVN: r38312
2000-12-16 11:12:06 -08:00
Tom Tromey 68c7dea8ed libjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.
* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
	for `.class' link case.
	(bytecompile_file): Change directory outside of `catch'.

	* libjava.lang/Thread_1.java: Removed.
	* libjava.lang/Thread_1.out: Likewise.

	* libjava.lang/N19990310_4.xfail: New file.
	* libjava.lang/stub.xfail: Added new failure modes.
	* libjava.lang/stringconst.xfail: New file.
	* libjava.lang/PR162.xfail: New file.
	* libjava.lang/Final.xfail: Removed.

From-SVN: r38311
2000-12-16 19:02:54 +00:00
Jan Hubicka 2bed339138 i386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.
* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
	lshrhi3_cmpno): Remove redundant '@' from the template.

	* i386.md (cmpstrsi_1): Fix type of the compare.

	* genattrtab.c (attr_rtx_cost): New function.
	(simplify_test_exp): Avoid overactive inlining; use temporary
	obstacks for tests.

From-SVN: r38310
2000-12-16 19:00:57 +00:00
Richard Kenner 43db5b3c2c diagnostic.c (finish_abort): Deleted.
Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* 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.

	* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
	as if size were variable.

	* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38309
2000-12-16 11:23:46 -05:00
Diego Novillo 112550d37d unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
2000-12-15  Diego Novillo  <dnovillo@redhat.com>

	* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
	_GLOBAL_OFFSET_TABLE_ when using Intel syntax.

From-SVN: r38308
2000-12-16 11:07:25 -05:00
Richard Kenner 67011d8196 stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.
* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
	as if size were variable.

From-SVN: r38307
2000-12-16 10:46:00 -05:00
Richard Kenner 23cb454af9 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
From-SVN: r38306
2000-12-16 10:43:55 -05:00
Neil Booth 3244472df9 tradcpp.c: T_WARNING: New.
* tradcpp.c: T_WARNING: New.
        (do_warning): New function.
        (finclude): Skip past the newline and increase the line number
        before calling output_line_command.
        (do_line): Skip the new line after output_line_command.  Don't
        pre-decrement the line number.

From-SVN: r38305
2000-12-16 10:41:56 +00:00
Jeff Law c978ecd3ed Daily bump.
From-SVN: r38304
2000-12-16 01:45:11 -07:00
Kriang Lerdsuwanakij a472a8887b Remove conflict marker.
From-SVN: r38303
2000-12-16 08:16:09 +00:00
Kriang Lerdsuwanakij 221c7a7ff7 tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.
* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of
	IS_AGGR_TYPE.

	* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.

From-SVN: r38302
2000-12-16 08:06:04 +00:00
Kriang Lerdsuwanakij b429fdf002 pt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (unify): Handle when both ARG and PARM are
	BOUND_TEMPLATE_TEMPLATE_PARM.

	* g++.old-deja/g++.pt/ttp65.C: New test.

From-SVN: r38301
2000-12-16 07:57:21 +00:00
Kriang Lerdsuwanakij c2beae77c6 pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.
* pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and
	DECL_TEMPLATE_PARM_P.

	* g++.old-deja/g++.pt/ttp64.C: New test.

From-SVN: r38300
2000-12-16 07:47:22 +00:00
Tom Tromey 3cd4948faf * libjava.lang/instinit.out: Removed erroneous line.
From-SVN: r38299
2000-12-16 06:45:22 +00:00
Tom Tromey fabd67f907 * libjava.lang/Thread_1.out: Expect `0' active count.
From-SVN: r38298
2000-12-16 06:41:04 +00:00
Tom Tromey 3a9e1959df stub.xfail: New file.
* libjava.lang/stub.xfail: New file.
	* libjava.lang/pr83.xfail: New file.
	* libjava.lang/err8.xfail: New file.
	* libjava.lang/err7.xfail: New file.
	* libjava.lang/Shazam.xfail: New file.
	* libjava.lang/err11.xfail: New file.

	* libjava.lang/instinit2.java: Renamed class to `instinit2'.

	* libjava.lang/anon3.out: Fixed typo.

	* libjava.lang/Class_1.java (main): Uncommented out previously
	failing code; now it works

From-SVN: r38297
2000-12-16 05:59:45 +00:00
Tom Tromey 0254608834 libjava.compile test fixes.
* lib/libjava.exp (libjava_tcompile): New proc.
	(test_libjava_from_source): Use it.
	(test_libjava_from_javac): Likewise.
	(find_javac): New proc.
	(bytecompile_file): Use it.
	(test_libjava_from_javac): Handle `xfail-gcjC' tag.  If no-exec
	set, then don't link even if program has a `main'.

	* libjava.compile/static_3.xfail: New file.
	* libjava.compile/weirddecl.xfail: New file.
	* libjava.compile/static_2.xfail: New file.
	* libjava.compile/not_a_redef.xfail: New file.
	* libjava.compile/inner_1.xfail: New file.
	* libjava.compile/assignment_2.xfail: New file.
	* libjava.compile/assignment.xfail: New file.
	* libjava.compile/abstr.xfail: New file.
	* libjava.compile/PR375.xfail: New file.
	* libjava.compile/PR374.java: New file.
	* libjava.compile/PR238.xfail: New file.
	* libjava.compile/PR208.xfail: New file.
	* libjava.compile/PR207.xfail: New file.

From-SVN: r38296
2000-12-16 02:06:29 +00:00
Tom Tromey 325de66c4c jcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.
* jcf-parse.c (jcf_parse_source): Set wfl_operator if not already
	set.

From-SVN: r38295
2000-12-16 01:51:51 +00:00