1. 02 Oct, 2000 5 commits
    • Daily bump. · 0e8a7454
      From-SVN: r36692
      Jeff Law committed
    • genix.h: Remove. · 776749c5
      	* config/ns32k/genix.h: Remove.
      	* config/ns32k/x-genix: Likewise.
      	* config/ns32k/xm-genix.h: Likewise.
      	* config/fx80: Remove all filee in directory.
      	* config/pyr: Likewise.
      	* config/tahoe: Likewise.
      	* config/gmicro: Likewise.
      	* config/spur: Likewise.
      	* configure.in: Remove configury bits for above targets.
      	* configure: Regenerated.
      
      From-SVN: r36691
      Mark Mitchell committed
    • configure.in: Don't configure chill by default. · a7b4171a
      	* configure.in: Don't configure chill by default.
      	* configure: Regenerated.
      
      From-SVN: r36690
      Mark Mitchell committed
    • update · 88ce64ac
      From-SVN: r36689
      Bryce McKinlay committed
    • prims.cc (_Jv_argv, _Jv_argc): New fields. · 0acff4bc
      2000-10-02  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* prims.cc (_Jv_argv, _Jv_argc): New fields.
      	(JvRunMain): Set _Jv_argv and _Jv_argc.
      	* java/awt/Component.java: Minor fixes.
      	* java/awt/Image.java (UndefinedProperty): Initialize final field.
      	* java/awt/Toolkit.java (systemEventQueue): Removed.
      	(getDefaultToolkit): Default to "gnu.awt.gtk.GtkToolkit".
      	* java/awt/Window.java (getToolkit): Don't call super.
      	* java/awt/image/BufferedImage.java: Fix definate assignment errors.
      	* java/awt/peer/ContainerPeer.java (insets): Remove unused method.
      	* gnu/awt/gtk/GtkComponentPeer.java: New file.
      	* gnu/awt/gtk/GtkContainerPeer.java: New file.
      	* gnu/awt/gtk/GtkFramePeer.java: New file.
      	* gnu/awt/gtk/GtkMainThread.java: New file.
      	* gnu/awt/gtk/GtkToolkit.java: New file.
      	* gnu/awt/gtk/GtkWindowPeer.java: New file.
      	* gnu/awt/gtk/gtkcommon.cc: New file.
      	* gnu/awt/gtk/gtkcommon.h: New file.
      	* gnu/awt/gtk/natGtkComponentPeer.cc: New file.
      	* gnu/awt/gtk/natGtkContainerPeer.cc: New file.
      	* gnu/awt/gtk/natGtkFramePeer.cc: New file.
      	* gnu/awt/gtk/natGtkMainThread.cc: New file.
      	* gnu/awt/gtk/natGtkToolkit.cc: New file.
      	* gnu/awt/gtk/natGtkWindowPeer.cc: New file.
      
      From-SVN: r36688
      Bryce McKinlay committed
  2. 01 Oct, 2000 6 commits
    • c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. · f15b9af9
      	* c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
      	(lang_mark_false_label_stack): Remove.
      	* c-lex.c (init_c_lex): Add file_info_tree as GC root.  Allocate
      	<top level> string in GC area.
      	(mark_splay_tree_node): New function.
      	(mark_splay_tree): Likewise.
      	* except.c (mark_eh_status): Only call lang_mark_false_label_stack
      	if it exists.
      	* ggc-callbacks.c (lang_mark_false_label_stack): Remove.
      	* ggc-common.c (lang_mark_false_label_stack): Change type.
      	* ggc.h (ggc_alloc_string): Add comment.
      	(ggc_strdup): New function.
      
      	* decl.c (lang_mark_false_label_stack): Remove.
      	* lex.c (cp_mang_lang_type): Use ggc_alloc_cleared.
      
      	* com.c (lang_mark_false_label_stack): Remove.
      
      	Convert to GC.
      	* Make-lang.in (s-java): Don't depend on ggc-callbacks.o.
      	* Makefile.in (BACKEND): Don't include ggc-callbacks.o.
      	(typeck.o): Depend on ggc.h.
      	* class.c (add_method_1): Use GC functions for allocation.
      	(init_class_processing): Register roots.
      	* decl.c (ggc_p): Set to 1.
      	(pending_local_decls): Make it static.
      	(push_jvm_slot): Use GC functions for allocation.
      	(init_decl_processing): Register roots.
      	(give_name_to_locals): Use GC functions for allocation.
      	(lang_mark_tree): New function.
      	* java-tree.h (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Use GC
      	functions for allocation.
      	* jcf-parse.c (jcf_parse_source): Use ggc_strdup.
      	* lex.c (java_lex): Use build_string, rather than replicating it
      	inline.
      	* parse.y (goal): Add more roots.
      	(mark_parser_ctxt): New function.
      	* typeck.c: Include ggc.h.
      
      	* splay-tree.c (splay_tree_insert): Fix formatting.
      
      From-SVN: r36687
      Mark Mitchell committed
    • avr.h (BRANCH_COST): Define as 0. · 51296ba0
      	* config/avr/avr.h (BRANCH_COST): Define as 0.
      
      	* config/pdp11/pdp11.c: #include "tree.h" added.
      
      From-SVN: r36686
      Denis Chertykov committed
    • avr.c (ashlhi3_out, [...]): Optimize more cases with known shift count. · adcd8f77
      	* config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
      	ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
      	with known shift count.
      	* config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
      	New alternative for shift count 2 with no scratch register.
      	(ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
      	"set_n" for shift counts 1 and 2.
      
      From-SVN: r36685
      Marek Michalkiewicz committed
    • Daily bump. · e1defe10
      From-SVN: r36684
      Jeff Law committed
    • rs6000.md (movsi_to_cr): Remove the USE. · e35b9579
      	* config/rs6000/rs6000.md (movsi_to_cr): Remove the USE.  Calculate
      	the mask value from the individual SET operations.
      	(return_internal_si): Move the USE after the RETURN.
      	(return_internal_di): Likewise.
      	(return_and_restore_fpregs_si): Likewise.
      	(return_and_restore_fpregs_di): Likewise.
      	(return_eh_si): Likewise.
      	(return_eh_di): Likewise.
      	* config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
      	or check, the USE.
      	(rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
      	Don't generate a PARALLEL around a single operation movsi_to_cr.
      	Generate the RETURN first in any PARALLELs.
      
      	* rtlanal.c (single_set_1): Use fatal_insn to display the
      	invalid insn.  Check for more cases when a USE or CLOBBER occurs
      	before a SET.
      	* Makefile.in: Update dependencies for rtlanal.o.
      
      From-SVN: r36683
      Geoff Keating committed
    • New test · 9256db1d
      From-SVN: r36682
      Zack Weinberg committed
  3. 30 Sep, 2000 9 commits
    • posix-threads.cc (_Jv_CondWait): Check to see if we are interrupted before… · 304daac5
      posix-threads.cc (_Jv_CondWait): Check to see if we are interrupted before modifying the cv's wait set.
      
      2000-09-30  Tom Tromey  <tromey@cygnus.com>
      
              * posix-threads.cc (_Jv_CondWait): Check to see if we are
              interrupted before modifying the cv's wait set.
      
      From-SVN: r36680
      Tom Tromey committed
    • Implement bitmap descriptor based marking for Boehm GC. · bf3b8e42
      2000-09-30  Hans Boehm  <boehm@acm.org>
      	    Bryce McKinlay  <bryce@albatross.co.nz>
      
      	Implement bitmap descriptor based marking for Boehm GC.
      
      	* configure.in: Define JC1GCSPEC. Set it if boehm-gc is used.
      	* configure: Rebuilt.
      	* libgcj.spec.in: Pass JC1GCSPEC to jc1.
      	* include/jvm.h (struct _Jv_VTable): New field `gc_descr'. New inline
      	method get_finalizer().
      	(struct _Jv_ArrayVTable): Ditto. Declare method array with
      	NUM_OBJECT_METHODS elements instead of NUM_OBJECT_METHODS + 1.
      	(_Jv_AllocObj): Add new jclass parameter.
      	(_Jv_AllocArray): Ditto.
      	(_Jv_BuildGCDescr): New prototype.
      	* prims.cc (_Jv_AllocObject): Rename parameter `c' to `klass'. Pass
      	`klass' to _Jv_AllocObj. Don't set the new object's vtable. Use
      	get_finalizer() instead of direct finalizer vtable offset.
      	(_Jv_NewObjectArray): Rename parameter `clas' to `klass'. Pass
      	`klass' to _Jv_AllocArray. Don't set the new array's vtable.
      	(_Jv_NewPrimArray): Call _Jv_FindArrayClass before _Jv_AllocObj.
      	Pass `klass' to _Jv_AllocObj. Don't set the new array's vtable.
      	* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): New #defines.
      	(_Jv_ResolvePoolEntry): Use METHOD_NOT_THERE and METHOD_INACCESSIBLE.
      	(_Jv_DetermineVTableIndex): Ditto.
      	(_Jv_PrepareClass): Ditto. Remove offset-by-one adjustments from vtable
      	calculations to account for new gc_descr field.
      	* boehm.cc: #include gc_gcj.h.
      	(obj_kind_x, obj_free_list): `#if 0'-ed away.
      	(_Jv_MarkObj): Check that vtable doesn't point to a cleared object.
      	New commentary from HB. Mark the classes vtable.
      	(_Jv_MarkArray): Check that vtable doesn't point to a cleared object.
      	(GC_DEFAULT_DESCR): New #define.
      	(_Jv_BuildGCDescr): New function. Use GC_DEFAULT_DESCR, for now.
      	(_Jv_AllocObj): New parameter `klass'. Use GC_GCJ_MALLOC ().
      	(_Jv_AllocArray): New parameter `klass'. Allocate with GC_MALLOC and
      	scan conservativly if size is less than min_heap_addr. Set vtable
      	pointer of new object before returning.
      	(_Jv_AllocBytes): Use GC_MALLOC_ATOMIC, not GC_GENERIC_MALLOC.
      	(_Jv_InitGC): Call GC_init_gcj_malloc(). Don't set up marking and
      	allocation for obj_kind_x.
      	* nogc.cc (_Jv_BuildGCDescr): New function. Return 0.
      	(_Jv_AllocObj): Set vtable on returned object.
      	(_Jv_AllocArray): Ditto.
      	* java/lang/Class.h (_Jv_NewObjectArray): No longer a friend.
      	(_Jv_NewPrimArray): Ditto.
      	(_Jv_AllocObj): Declare as a friend.
      	(_Jv_AllocArray): Ditto.
      	* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Copy gc_descr
      	from &ObjectClass into new array class. Remove offset-by-one
      	adjustments from `method' size calculations to account for gc_descr
      	field.
      
      Co-Authored-By: Bryce McKinlay <bryce@albatross.co.nz>
      
      From-SVN: r36679
      Hans Boehm committed
    • configure.in: Define GC_GCJ_SUPPORT. · 0476f098
      2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
      	cross-compile configuration only.
      	* Makefile.am: Build gcj_mlc.c.
      	* configure, Makefile.in: Rebuilt.
      
      From-SVN: r36678
      Bryce McKinlay committed
    • c-tree.texi, [...]: Consistently use @email for formatting email addresses. · 28e6b1c2
      	* c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
      	Consistently use @email for formatting email addresses.
      
      cp:
      	* gxxint.texi: Use @email for formatting email addresses.
      
      From-SVN: r36676
      Joseph Myers committed
    • Daily bump. · 1bacc64e
      From-SVN: r36675
      Jeff Law committed
    • Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4, ltcf-c.sh, ltcf-cxx.sh and ltcf-gcj.sh. · de710532
      * Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4,
      ltcf-c.sh, ltcf-cxx.sh and ltcf-gcj.sh.
      
      From-SVN: r36674
      Alexandre Oliva committed
    • ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. · 5f527203
      * ltconfig, ltmain.sh, libtool.m4: Updated from libtool
      multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
      all affected `configure' scripts.
      
      From-SVN: r36673
      Alexandre Oliva committed
    • ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. · 3dd7094e
      * ltconfig, ltmain.sh, libtool.m4, ltcf-cxx.sh: Updated from libtool
      multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
      all affected `configure' scripts.
      
      From-SVN: r36672
      Alexandre Oliva committed
  4. 29 Sep, 2000 10 commits
    • cse.c (notreg_cost): New argument outer. · f2fa288f
              * cse.c (notreg_cost): New argument outer.
              (COST): Pass in SET to notreg_cost
              (COST_IN): New.
              (fold_rtx): Use COST_IN.  Prefer constants when costs
              are the same.
      
      From-SVN: r36671
      Richard Henderson committed
    • parse.y (maybe_yank_clinit): Also keep <clinit> if its body contains something… · 99eaf8d4
      parse.y (maybe_yank_clinit): Also keep <clinit> if its body contains something else than MODIFY_EXPR.
      
      2000-09-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (maybe_yank_clinit): Also keep <clinit> if its body
      	contains something else than MODIFY_EXPR.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-09/msg01141.html)
      
      From-SVN: r36670
      Alexandre Petit-Bianco committed
    • inclhack.def (broken_cabs): Generalize regex. · a1c63101
      	* fixinc/inclhack.def (broken_cabs): Generalize regex.
      	* fixinc/fixincl.x: Regenerate.
      
      From-SVN: r36669
      David Edelsohn committed
    • loop.c (check_final_value): A GIV is not replaceable if used before set. · 70dd0f7f
      	2000-09-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
      	* loop.c (check_final_value): A GIV is not replaceable if used
      	before set.
      
      From-SVN: r36668
      Franz Sirl committed
    • * version.c: Bump to gcc-2.97. · 0c6129af
      From-SVN: r36667
      Jeffrey A Law committed
    • error.c: Remove direct obstack manipulation. · 99885b3f
      cp/
      	* error.c: Remove direct obstack manipulation.  Replace with
      	output_buffer-based formatting.  Adjust calls to removed macros.
      	(obstack_chunk_alloc, obstack_chunk_free): Remove.
      	(OB_INIT, OB_PUTC, OB_PUTC2, OB_PUTS, OB_PUTID, OB_PUTCP,
      	OB_FINISH, OB_PUTI, OB_END_TEMPLATE): Likewise.
      testsuite/
      	* g++.old-deja/g++.ext/pretty3.C: Fix comparison with
      	__PRETTY_FUNCTION__.
      	* g++.old-deja/g++.ext/pretty2.C: Likewise.
      
      From-SVN: r36666
      Gabriel Dos Reis committed
    • final.c (final_scan_insn): Remove extra extract_insn call; Use caching for constrain_operands. · 6c698a6d
      
      	* final.c (final_scan_insn): Remove extra extract_insn call;
      	Use caching for constrain_operands.
      	(cleanup_subreg_operands): Use caching for extract_insn.
      	* recog.c (constrain_operands_cached): New.
      	* recog.h (constrain_operands_cached): Declare.
      	* i386.c (ix86_attr_length_immediate_default,
      	ix86_attr_length_address_default, ix86_agi_dependant): Cache
      	extract_insn call.
      
      	* recog.c (asm_noperands): Tweak.
      	(extract_insn): Do not call asm_noperads for non-asm instructions.
      
      From-SVN: r36665
      Jan Hubicka committed
    • recog.c (recog_memoized): Rename to recog_memoized_1. · b1cdafbb
      
      	* recog.c (recog_memoized): Rename to recog_memoized_1.
      	* recog.h (recog_memoized): Rename to recog_memoized_1.
      	(recog_memoized): New macro.
      	* rtl.h (single_set): Rename to single_set_1
      	(single_set): New macro.
      	* rtlanal.c (single_set): Rename to single_set_1;  expect clobbers
      	to be last.
      
      	* i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
      	Do not use match_dup of input operands at outputs.
      	Use register_operand for memory expression.
      	(rep_movsi): Put use last, canonicalize.
      	Use register_operand for memory expression.
      	(rep_movqi): Put use last.
      	Use register_operand for memory expression.
      	(strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
      	of input operands at outputs.  Use register_operand for memory
      	expression.
      	(rep_stossi): Put use last; canonicalize; fix match_dup in
      	the address expression
      	(rep_stosqi): Likewise.
      	(memcmp expander): Update calls.
      	(cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
      	the clobbers.
      
      	* i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
      	VOIDmode.
      	(fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
      
      From-SVN: r36664
      Jan Hubicka committed
    • Daily bump. · 07342793
      From-SVN: r36663
      Jeff Law committed
    • freebsd-aout.h: New, FreeBSD a.out config file. · 41e5a1f5
      2000-09-28  David O'Brien  <obrien@FreeBSD.org>
      	* config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
      	Contains the old contents of config/i386/freebsd.h
      	* config/i386/freebsd.h: Now the ELF rather than a.out config file.
      	Contains the old contents of config/i386/freebsd-elf.h
      	* config/i386/freebsd-elf.h: Retire this file -- contents moved to
      	config/i386/freebsd.h.
      	* configure.in: Adjust for above changes.
      	* po/POTFILES.in: Likewise.
      	* po/en_GB.po: Likewise.
      	* po/gcc.pot: Likewise.
      	* configure: Rebuilt.
      
      Approved by:  Richard Henderson <rth@cygnus.com>
                    Message-ID: <20000927093029.A30906@cygnus.com>
      
      From-SVN: r36662
      David O'Brien committed
  5. 28 Sep, 2000 7 commits
  6. 27 Sep, 2000 3 commits