Commit Graph

26583 Commits

Author SHA1 Message Date
Anthony Green
97ce4a51fa gcj/142
i386 and i486 should configure the same as i586 and i686.

From-SVN: r31954
2000-02-13 18:07:09 +00:00
Jeff Law
bb1eed6e3a Daily bump.
From-SVN: r31953
2000-02-13 01:45:07 -07:00
Anthony Green
6ab17fd868 New test code.
From-SVN: r31952
2000-02-12 23:43:51 +00:00
Anthony Green
addcdfec59 New test case.
From-SVN: r31951
2000-02-12 23:09:34 +00:00
Anthony Green
762016bf0a New test case.
From-SVN: r31950
2000-02-12 22:57:18 +00:00
Anthony Green
d6455b5baf New test case.
From-SVN: r31949
2000-02-12 22:45:06 +00:00
Michael Hayes
3abd3239f3 flow.c (flow_loop_tree_node_add): Use better algorithm by passing previously inserted node instead of root node.
* flow.c (flow_loop_tree_node_add): Use better algorithm by passing
 	previously inserted node instead of root node.	Caller changed.

From-SVN: r31948
2000-02-12 21:15:15 +00:00
Michael Hayes
f5b647ab0f * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
From-SVN: r31947
2000-02-12 21:08:39 +00:00
Tom Tromey
dd16866663 File.java (createTempFile): Use low bits from counter, not high bits.
* java/io/File.java (createTempFile): Use low bits from counter,
	not high bits.

From-SVN: r31946
2000-02-12 20:13:42 +00:00
Kaveh R. Ghazi
d1e5132060 crtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
	__dereg_frame_dtor): Add prototype argument.

	* gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.

	* gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.

	* gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.

	* gthr-vxworks.h (__gthread_once): Likewise.

	* gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.

From-SVN: r31945
2000-02-12 19:19:01 +00:00
Alexandre Petit-Bianco
e35b951f52 inner_interface.out: New file.
2000-02-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* libjava.lang/inner_interface.out: New file.
	* libjava.lang/inner_interface.java: New file.
	* libjava.lang/final_int.out: New file.
	* libjava.lang/final_int.java: New file.
	* libjava.lang/final_static_and_friend.out: New file.
	* libjava.lang/final_static_and_friend.java: New file.

From-SVN: r31944
2000-02-12 18:34:50 +00:00
Jeff Law
d5bf38e1d3 Daily bump.
From-SVN: r31943
2000-02-12 01:45:07 -07:00
Anthony Green
95311793fe More thanks.
From-SVN: r31942
2000-02-12 03:49:13 +00:00
Jan Hubicka
da2d1d3a8f i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
* i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
	(ix86_expand_epilogue): ... here. Use mov instead of add to restore
	stack pointer in functions w/o saved registers, output LEAVE more often
	on TARGET_USE_LEAVE machines.

From-SVN: r31941
2000-02-12 00:49:11 +00:00
Tom Tromey
28ec5077d7 interpret.cc (continue1): Use STOREA, not STOREI, to implement astore instruction.
* interpret.cc (continue1): Use STOREA, not STOREI, to implement
	astore instruction.  From Hans Boehm.

From-SVN: r31939
2000-02-11 23:24:28 +00:00
Nick Clifton
0a9f300a82 oops - remove extranseous SAYMBOL_REF_FLAG usage from -mlong-calls patch
From-SVN: r31938
2000-02-11 22:45:00 +00:00
Nick Clifton
3bcb1bb0c6 Minot for,matting imrpovemants and synchronisation with devo sources
From-SVN: r31937
2000-02-11 22:44:29 +00:00
Dmitri Makarov
914a3b8c0e Minor formatting tidyups.
From-SVN: r31936
2000-02-11 22:39:49 +00:00
Denis Chertykov
90e7678cd5 Denis Chertykov <denisc@overta.ru>
* README.AVR: New file with information about the avr ports.
        * config/avr: New directory with avr port files.

From-SVN: r31935
2000-02-11 14:31:46 -08:00
Robert Lipe
ed3b04804d * gcc.c-torture/compile/20000211-3.c: New test.
From-SVN: r31934
2000-02-11 15:26:41 -07:00
Martin Buchholz
ddcc2adeb9 * gcc.c-torture/compile/20000211-2.c: New test.
From-SVN: r31933
2000-02-11 15:19:08 -07:00
Andreas Jaeger
42cdc71d98 Remove unneeded @fixinc_defs@
From-SVN: r31932
2000-02-11 20:20:14 +00:00
Zack Weinberg
a2a76ce71b cpphash.c: Fix formatting, update commentary.
* cpphash.c: Fix formatting, update commentary.
	(dump_definition): Take three separate arguments instead of a
	MACRODEF structure argument.
	* cpphash.h: Update prototype of dump_definition.
	* cppinit.c (cpp_finish): Update call of dump_definition.

	* cpplib.c (do_define): Always create new hash entry with
	T_MACRO type.  Remove redundant check for redefinition of
	poisoned identifier.  Update call of dump_definition.
	(do_undef): Don't call check_macro_name.  Rename sym_length to
	len.
	(do_error, do_warning): Don't use copy_rest_of_line or
	SKIP_WHITE_SPACE.
	(do_warning): Don't use pedwarn for the actual warning,
	only the notice about its not being in the standard.  (Fixes
	bug with #warning in system headers.)
	(do_ident): Stricter argument checking - accept only a single
	string after #ident.  Also, macro-expand the line.
	(do_xifdef): Use cpp_defined.  De-obfuscate.

	(do_pragma): Split out specific pragma handling to separate
	functions.  Use get_directive_token.  Update commentary.  Do
	not pass on #pragma once or #pragma poison to the front end.
	(do_pragma_once, do_pragma_implementation, do_pragma_poison,
	do_pragma_default): New.

From-SVN: r31931
2000-02-11 20:17:27 +00:00
Jeffrey A Law
2144ddea76 * gcc.c-torture/compile/20000211-1.c: New test.
From-SVN: r31930
2000-02-11 12:36:25 -07:00
Jeffrey A Law
144a5f9d45 jump.c (jump_optimize_1): The first operand in a relational can be a CONST_INT.
* jump.c (jump_optimize_1): The first operand in a relational
        can be a CONST_INT.
        * optabs.c (emit_conditional_move): Handle relationals which
        have a known true/false result.

From-SVN: r31929
2000-02-11 12:35:57 -07:00
Geoff Keating
2dd8bc0166 function.c (thread_prologue_and_epilogue_insns): Don't insert a RETURN insn into a block which already ends with a jump.
* function.c (thread_prologue_and_epilogue_insns): Don't insert
	a RETURN insn into a block which already ends with a jump.

From-SVN: r31928
2000-02-11 19:31:55 +00:00
Geoffrey Keating
3db18f599e * haifa-sched.c (BUF_LEN): Increase a lot.
From-SVN: r31927
2000-02-11 19:27:00 +00:00
Warren Levy
136b5d77fc BigInteger.java (BigInteger(String, int)): New constructor.
* java/math/BigInteger.java(BigInteger(String, int)): New constructor.
	(BigInteger(String)): New constructor.
	(not): Rewritten using version from Kawa's BitOps class.
	(valueOf): New private methods from Kawa's BitOps class.
	(swappedOp): ditto.
	(bitOp): ditto.
	(setBitOp): ditto.
	(and): Implemented.
	(or): Implemented.
	(xor): Implemented.
	(andNot): Implemented.
	(clearBit): Implemented.
	(setBit): Implemented.
	(bitCount): Implemented.
	(toByteArray): Implemented.

From-SVN: r31926
2000-02-11 19:09:03 +00:00
Tom Tromey
9d381124d8 * java/io/File.java (nextValue): Now synchronized.
From-SVN: r31925
2000-02-11 18:44:37 +00:00
Nick Clifton
c4ce154a39 Add thumb prototypes file
From-SVN: r31924
2000-02-11 18:16:23 +00:00
Robert Lipe
87a8affe1e Makefile.in (bootstrap-lean): Remove additional files.
* Makefile.in (bootstrap-lean): Remove additional files.
        (bootstrap2-lean): Likewise.                                                    (VOL_FILES): List of files for above.

From-SVN: r31923
2000-02-11 17:50:31 +00:00
Tom Tromey
304ccb1075 natFileDescriptorPosix.cc (open): Recognize EXCL flag.
* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
	* java/io/FileDescriptor.java (EXCL): New static field.
	* java/io/File.java (tmpdir): New static field.
	(createTempFile): New method.
	(nextValue): New method.
	* java/lang/natSystem.cc (init_properties): Set java.io.tmpdir
	property.

From-SVN: r31922
2000-02-11 17:32:52 +00:00
Nathan Sidwell
a1cee8a3f3 decl.c (init_decl_processing): Remove duplicate decl of set_alignment.
* decl.c (init_decl_processing): Remove duplicate decl of
	set_alignment.

From-SVN: r31921
2000-02-11 15:49:56 +00:00
Franz Sirl
f70773947a expr.c (compare_records): Delete maximum_field_alignment declaration.
* expr.c (compare_records): Delete maximum_field_alignment declaration.
	* inout.c (inout_init): Likewise.
	(build_chill_gettextaccess): Likewise.
	(build_enum_tables): Likewise.
	* lang.c: Likewise.
	* satisfy.c (satisfy): Likewise.
	* tasking.c (build_tasking_struct): Likewise.
	(build_tasking_message_type): Likewise.
	* typeck.c (build_init_struct): Likewise.

	* except.c (emit_setup_handler): Make save_maximum_field_alignment
	unsigned int to match maximum_field_alignment.
	* inout.c (inout_init): Likewise.
	(build_chill_gettextaccess): Likewise.
	(build_enum_tables): Likewise.
	* tasking.c (build_tasking_struct): Likewise.
	(build_tasking_message_type): Likewise.
	* typeck.c (build_init_struct): Likewise.

From-SVN: r31920
2000-02-11 15:48:24 +00:00
Scott Bambrough
3637ef0c71 Fix tabbing.
From-SVN: r31919
2000-02-11 15:27:52 +00:00
Scott Bambrough
a0085329f4 Add myself to MAINTAINERS file.
From-SVN: r31918
2000-02-11 15:25:31 +00:00
Nathan Sidwell
5a5c85c6f7 cpphash.c (special_symbol): Remove spurious argument to cpp_lookup.
* cpphash.c (special_symbol): Remove spurious argument to
	cpp_lookup.

From-SVN: r31917
2000-02-11 13:46:37 +00:00
Joel Sherrill
0d4ef09cd5 configure.in: (i*86-*-rtems*): Swapped elf and coff stanzas.
* configure.in: (i*86-*-rtems*): Swapped elf and coff
        stanzas.
        * configure: Rebuilt.

From-SVN: r31916
2000-02-11 03:17:46 -07:00
Rodney Brown
84caa961db * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
From-SVN: r31915
2000-02-11 03:05:42 -07:00
Jeffrey A Law
8c417c25d4 * pa.c, pa.h: Remove trigraph sequences within comments.
From-SVN: r31914
2000-02-11 03:01:03 -07:00
Pavel Roskin
d77b457528 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
From-SVN: r31913
2000-02-11 02:53:36 -07:00
Brad Lucier
be200dff75 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
From-SVN: r31912
2000-02-11 02:49:40 -07:00
Jeff Law
b6494a6a94 Daily bump.
From-SVN: r31911
2000-02-11 01:45:38 -07:00
Michael Hayes
f9ef1f0296 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
From-SVN: r31910
2000-02-11 04:59:58 +00:00
Michael Hayes
eff784fe63 c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
* config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
	(ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
	(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
	(ASM_FILE_END): Use c4x_file_end.
	* config/c4x/c4x.c (c4x_global_label): New function.
 	(c4x_external_ref, c4x_file_end): Likewise.
	* config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
 	(c4x_external_ref, c4x_end_file): Likewise.

From-SVN: r31909
2000-02-11 04:55:07 +00:00
Zack Weinberg
cf4ed945ea cppexp.c: Don't include cpphash.h.
* cppexp.c: Don't include cpphash.h.
	(parse_charconst, cpp_lex): Use cpp_defined.
	(cpp_lex): Use get_directive_token throughout.  Remove
	unnecessary cases from switch.  Move assertion-handling code
	down to OTHER case.
	(cpp_parse_expr): If we see '+' or '-', check the context to
	determine if they are unary or binary operators.  Streamline
	the jumps a bit.  Do not call skip_rest_of_line.

	* cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
	static.  Export get_directive_token.  Update commentary.
	(cpp_defined): New function.
	(do_define): Remove reference to T_PCSTRING.  Call
	free_definition to release memory for old definition, when
	redefining a macro.
	(eval_if_expression): Set only_seen_white to 0 before calling
	cpp_parse_expr.  Call skip_rest_of_line after it returns.
	(cpp_read_check_assertion): Don't preserve a pointer into the
	token buffer across a call to cpp_get_token.

	* Makefile.in (cppexp.o): Don't depend on cpphash.h.
	* cppfiles.c (redundant_include_p): Use cpp_defined.
	* cpphash.c (free_definition): New function.
	(delete_macro): Use it.  Update commentary.
	* cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
	free_definition.
	* cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
	from enum node_type.  Prototype cpp_defined and get_directive_token.
	Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.

	* fix-header.c (check_macro_names): Use cpp_defined.
	(read_scan_file): Set inhibit_warnings and inhibit_errors in
	the options structure.

From-SVN: r31908
2000-02-10 23:47:04 +00:00
Tom Tromey
26439cc59c jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
* include/jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
	(jboolean): Declare as an attributed int, not a bool.
	(_Jv_func): Declare differently for C.

From-SVN: r31907
2000-02-10 23:44:05 +00:00
Franz Sirl
75cdca5bb9 c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
* c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
	* ch/except.c (maximum_field_alignment): Remove duplicate declaration.

From-SVN: r31906
2000-02-10 23:13:17 +00:00
Jason Merrill
d10b8e053e dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin) rather than die->die_tag.
* dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
        rather than die->die_tag.

From-SVN: r31905
2000-02-10 17:10:36 -05:00
Richard Kenner
729a212576 combine.c (make_extraction, [...]): Avoid warning on mixed-signedness conditionals.
* combine.c (make_extraction, force_to_mode): Avoid warning on
	mixed-signedness conditionals.
	(make_field_assignment, nonzero_bits): Likewise.
	* expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
	(store_split_bit_field, extract_split_bit_field): Likewise.
	(extract_fixed_bit_field, store_bit_field,
	* expr.c: Change alignment to be unsigned everywhere.
	(move_by_pieces, store_constructor_field, store_constructor):
	Alignment parm is unsigned.
	(emit_block_move, emit_group_load, emit_group_store): Likewise.
	(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
	(do_compare_rtx_and_jump): Likewise.
	(move_by_pieces_ninsns, clear_by_pieces): Likewise.
	Compare align with GET_MODE_ALIGNMENT.
	(expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
	(get_inner_reference): Likewise.
	(copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
	(expand_assignment): Local vars for alignment now unsigned.
	(store_constructor, store_field, expand_expr, do_jump): Likewise.
	(do_compare_and_jump): Likewise.
	(store_field): Call new function expr_align.
	* expr.h (emit_block_move, emit_group_load, emit_group_store):
	Alignment arg now unsigned.
	(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
	(do_compare_rtx_and_jump, store_bit_field): Likewise.
	(extract_bit_field): Likewise.
	* fold-const.c (add_double): Add cast to eliminate signedness warning.
	* machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
	(get_best_mode): Alignment arg is unsigned.
	* rtl.h (move_by_pieces): Likewise.
	* store-layout.c (maximum_field_alignment, set_alignment):
	Now unsigned.
	(layout_decl): Alignment arg is now unsigned.
	Remove unneeded casts.
	(layout_record, layout_union, layout_type): Remove unneeded casts.
	Local alignment variables now unsigned.
	(get_best_mode): Alignment arg now unsigned.
	* tree.c (expr_align): New function.
	* tree.h (expr_align): Likewise.
	(maximum_field_alignment, set_alignment): Now unsigned.
	(get_inner_reference): Alignment argument is now pointer to unsigned.
	* varasm.c (assemble_variable): Add cast to eliminate warning.

From-SVN: r31904
2000-02-10 17:05:40 -05:00