Commit Graph

26301 Commits

Author SHA1 Message Date
Nick Clifton 8f90be4c54 Backend for Motorola's MCore processors.
From-SVN: r31972
2000-02-14 22:51:36 +00:00
Tom Tromey 77de5d85d0 ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.
* ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h.
	* Makefile.in: Rebuilt.
	* Makefile.am (INCLUDES): New macro.
	* config.h.in, configure: Rebuilt.
	* acconfig.h (HAVE_BOEHM_GC): Define.
	* configure.in: Handle --enable-java-gc.

From-SVN: r31971
2000-02-14 21:59:58 +00:00
Tom Tromey 9339399091 gc.h (dlopen): Define as GC_dlopen on Linux.
* gc.h (dlopen): Define as GC_dlopen on Linux.
	(GC_dlopen): Declare on Linux.
	* dyn_load.c (GC_dlopen): Define for Linux.

From-SVN: r31970
2000-02-14 21:53:27 +00:00
Geoff Keating 59309a850d collect2.c (main): If we have frames, then we will need to import the frame handling functions.
* collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
then we will need to import the frame handling functions.
(scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
to import the frames themselves.

From-SVN: r31969
2000-02-14 19:46:02 +00:00
Stan Cox 11bdd2ae4e basic_block.h: Added prototype for reorder_basic_blocks.
* basic_block.h: Added prototype for reorder_basic_blocks.
        * toplev.c: Changes to add -freorder-blocks and graph dump after
        block reordering is done.
        * flow.c (reorder_block_def): New structure for use during block
        reordering.
        (REORDER_BLOCK_*): New macros to access members of above structure.
        (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
        make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
        functions for block reordering.

Co-Authored-By: Jason Eckhardt <jle@cygnus.com>

From-SVN: r31968
2000-02-14 19:34:06 +00:00
Hans-Peter Nilsson 89bcce1b02 gcc.texi (Passes): Fix typo.
* gcc.texi (Passes): Fix typo.
	* md.texi (Standard Names): Ditto.
	* tm.texi (Storage Layout): Ditto.

From-SVN: r31967
2000-02-14 10:37:13 +00:00
Warren Levy 34540fe35e MPN.java (findLowestBit): Made methods public.
* gnu/gcj/math/MPN.java(findLowestBit): Made methods public.

	* java/math/BigInteger.java(BigInteger(int,int,java.util.Random):
	  New constructor.
	(min): Implemented.
	(max): Implemented.
	(modPow): Rewritten to not use the naive, slow, brute force approach.
	(isProbablePrime): Implemented.
	(testBit): Implemented.
	(flipBit): Implemented.
	(getLowestSetBit): Implemented.

From-SVN: r31966
2000-02-14 10:23:29 +00:00
Jeff Law eb3e566556 Daily bump.
From-SVN: r31965
2000-02-14 01:45:07 -07:00
Zack Weinberg f9ba428f57 cpplib.c (do_define): Only free the old definition if it actually had one.
* cpplib.c (do_define): Only free the old definition if it
	actually had one.

From-SVN: r31964
2000-02-14 07:57:30 +00:00
Neil Booth 67b8719a74 cppfiles.c (read_and_prescan): When emitting deferred newlines...
2000-02-13   Neil Booth  <NeilB@earthling.net>

	* cppfiles.c (read_and_prescan): When emitting deferred
	newlines, test speccase[] again instead	of checking each
	possible whitespace character in turn.  When we encounter \r,
	look behind for \n first, then ahead.

From-SVN: r31963
2000-02-14 06:31:20 +00:00
Zack Weinberg 4eadede7c1 cse.c (cse_altered): New internal flag.
2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>

	* cse.c (cse_altered): New internal flag.
	(cse_insn): Set it if we changed an insn.
	(cse_main): Clear cse_altered before each basic block.
	Only garbage collect if cse_altered is true afterward.

From-SVN: r31962
2000-02-14 01:32:19 +00:00
Zack Weinberg f4445cc042 Remove duplicate test case - same as gcc.dg/20000127-1.c
From-SVN: r31961
2000-02-14 01:04:16 +00:00
Rainer Orth fd3f9fdb72 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
From-SVN: r31960
2000-02-13 14:13:53 -07:00
Jeffrey A Law d5010e6603 * combine.c (simplify_comparison): Fix typo.
From-SVN: r31959
2000-02-13 13:22:58 -07:00
Neil Booth 3ea6b47698 prefix.c (concat, lookup_key): Use xmalloc and xrealloc consistently.
* prefix.c (concat, lookup_key): Use xmalloc and xrealloc
        consistently.

From-SVN: r31958
2000-02-13 12:59:29 -07:00
Jason Merrill 445ab4438d parse.y (frob_specs): Split out...
* parse.y (frob_specs): Split out...
        (parse_decl): From here.
        (fn.def2): Call initial_deferred_type_access_control.
        (after_type_component_declarator0): Call frob_specs.
        (notype_component_declarator0): Likewise.
        * search.c (friend_accessible_p): Nested classes are friends of their
        enclosing classes.

From-SVN: r31957
2000-02-13 14:29:53 -05:00
Jason Merrill 564e43cdf1 new
From-SVN: r31956
2000-02-13 14:27:43 -05:00
Jason Merrill d2e7ab702f update
From-SVN: r31955
2000-02-13 14:07:43 -05:00
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