1. 07 May, 2005 16 commits
  2. 06 May, 2005 24 commits
    • mips.opt: Remove -mint64 option. · fb8136b2
      2005-05-06  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.opt: Remove -mint64 option.
      	* config/mips/mips.c (override_options): Remove -mint64
      	handling.
      	* config/mips/mips.h (INT_TYPE_SIZE): Define to 32.
      	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove
      	64-bit integer handling.
      	* doc/invoke.texi (Option Summary): Remove -mint64 for
      	mips.
      
      From-SVN: r99337
      Eric Christopher committed
    • Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java. · 2ed0018e
      2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
      	* Makefile.in: Regenerate.
      	* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
      	(createCompatibleVolatileImage(int,int)): Implement.
      	(createCompatibleVolatileImage(int,int,ImageCapabilities)):
      	Likewise.
      	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
      	New fields.
      	(createVolatileImage): Implement.
      	(createBuffers): Likewise.
      	(getBackBuffer): Likewise.
      	(flip): Likewise.
      	(destroyBuffers): Likewise.
      	* gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
      	* java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
      	(CanvasFlipBufferStrategy): Likewise.
      	(createBufferStrategy(int)): New method.
      	(createBufferStrategy(int,BufferCapabilities)): Likewise.
      	* java/awt/Component.java (BltBufferStrategy): Implement and
      	document class.
      	(FlipBufferStrategy): Likewise.
      	* java/awt/Window.java (WindowBltBufferStrategy): New class.
      	(WindowFlipBufferStrategy): Likewise.
      	(createBufferStrategy(int)): New method.
      	(createBufferStrategy(int,BufferCapabilities)): Likewise.
      	(getBufferStrategy): Likewise.
      	* java/awt/BufferCapabilities.java (BufferCapabilities): Rename
      	front to frontCaps and back to backCaps.
      
      From-SVN: r99336
      Thomas Fitzsimmons committed
    • re PR tree-optimization/19401 (Trivial loop not unrolled) · 91a01f21
      	PR tree-optimization/19401
      	* tree-flow.h (tree_unroll_loops_completely): Declaration changed.
      	* tree-ssa-loop-ivcanon.c (enum unroll_level): New.
      	(estimated_unrolled_size): New function.
      	(try_unroll_loop_completely, canonicalize_loop_induction_variables,
      	tree_unroll_loops_completely): Always unroll loops if the code size
      	does not increase.
      	* tree-ssa-loop.c (tree_complete_unroll): Indicate whether all
      	loops should be unrolled completely.
      	(gate_tree_complete_unroll): Run complete unrolling unconditionally.
      
      From-SVN: r99334
      Zdenek Dvorak committed
    • re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple… · 4fbe4f91
      re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple targets with same code)
      
      	PR rtl-optimization/21254
      	* loop-iv.c (iv_number_of_iterations): Simplify infiniteness
      	assumptions for loops that otherwise do not roll.
      	(find_simple_exit): Prefer # of iterations that is guaranteed
      	not to be infinite.
      	* loop-unroll.c (decide_peel_once_rolling,
      	decide_peel_completely): Check whether the loop is infinite.
      
      From-SVN: r99332
      Zdenek Dvorak committed
    • sysv4.opt: Fix typo. · 6245372c
      2005-05-06  Pat Haugen  <pthaugen@us.ibm.com>
      
      	* config/rs6000/sysv4.opt: Fix typo.
      
      From-SVN: r99331
      Pat Haugen committed
    • re PR target/21329 (optimize i386 block copy) · 95935e2d
      2005-05-06  Denis Vlasenko  <vda@port.imtp.ilyichevsk.odessa.ua>
      	    Jakub Jelinek  <jakub@redhat.com>
      
      	PR target/21329
      	* config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb
      	for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter.
      	Don't use rep; movs{l,q} if the repetition count is really small,
      	instead use a sequence of movs{l,q} instructions.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r99330
      Denis Vlasenko committed
    • decl2.c (pending_statics, [...]): Use VEC instead of VARRAY. · 2b41c040
      	* decl2.c (pending_statics, note_vague_linkage_var,
      	cp_finish_file): Use VEC instead of VARRAY.
      	(pending_statics_used): Remove.
      
      From-SVN: r99329
      Kazu Hirata committed
    • Revert accidental commit · 2b040821
      From-SVN: r99326
      Mark Mitchell committed
    • testsuite_hooks.cc (try_mkfifo): Remove. · 34f4edf8
      	* testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
      	* testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
      	* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
      	dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
      	mkfifo.
      	* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
      	Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
      	Likewise.
      	* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
      	Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
      	* testsuite/27_io/objects/char/7.cc: Likewise.
      	* testsuite/27_io/objects/char/9661-1.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
      
      	* lib/target-supports-dg.exp (dg-require-fork): New function.
      	(dg-require-mkfifo): Likewise.
      	* lib/target-supports.exp (check_function_available): New
      	function.
      	(check_fork_available): Likewise.
      	(check_mkfifo_available): Likewise.
      
      From-SVN: r99325
      Mark Mitchell committed
    • re PR tree-optimization/21380 (ICE compiling with -O) · b8c1d4a1
      
      	PR tree-optimization/21380
      	* tree-ssa-threadupdate.c (thread_through_all_blocks): Do not
      	thread through a block with no preds.
      
       	* gcc.c-torture/compile/pr21380.c: New test.
      
      From-SVN: r99324
      Jeff Law committed
    • Fix backslash expression in here string · 7673b71c
      [[Split portion of a mixed commit.]]
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r99322.2
      Bruce Korb committed
    • decl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY. · 1bc5f355
      	* decl2.c (ssdf_decls, start_static_storage_duration_function,
      	generate_ctor_or_dtor_function): Use VEC instead of VARRAY.
      
      From-SVN: r99319
      Kazu Hirata committed
    • * decl2.c (spew_debug): Remove. · 6394d87d
      From-SVN: r99317
      Kazu Hirata committed
    • tree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY. · 3d6dcb7f
      	* tree-ssa-operands.c (clobbered_v_may_defs, clobbered_vuses,
      	ro_call_vuse, fini_ssa_operands, add_call_clobber_ops,
      	add_call_read_ops): Use VEC instead of VARRAY.
      
      From-SVN: r99316
      Kazu Hirata committed
    • mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate. · 6e1f65b5
      	* config/mcore/mcore.c (mcore_print_operand_address): Use
      	gcc_assert and gcc_unreachable as appropriate.
      	(mcore_print_operand, mcore_gen_compare_reg, mcore_output_call,
      	mcore_output_andn, output_inline_const, mcore_output_move,
      	mcore_output_movedouble, mcore_expand_block_move,
      	layout_mcore_frame, mcore_initial_elimination_offset,
      	mcore_expand_prolog, mcore_mark_dllexport,
      	mcore_mark_dllimport): Likewise.
      	* config/mcore/mcore.h (switch_to_section): Likewise.
      	* config/mcore/mcore.md: Likewise.
      
      From-SVN: r99315
      Nathan Sidwell committed
    • linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL. · 858081ad
      	* config/rs6000/linux64.h: Remove MASK_PROFILE_KERNEL, and
      	TARGET_PROFILE_KERNEL.
      
      	* config/rs6000/rs6000.c (output_profile_hook): Add comment to
      	TARGET_PROFILE_KERNEL use.
      
      From-SVN: r99314
      Aldy Hernandez committed
    • m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate. · 75c3cfba
      	* config/m32r/m32r.c (m32r_encode_section_info): Use gcc_assert
      	and gcc_unreachable, as appropriate.
      	(gen_compare, gen_split_move_double, m32r_setup_incoming_varargs,
      	m32r_expand_prologue, m32r_output_function_epilogue,
      	m32r_legitimize_pic_address, m32r_print_operand_address,
      	emit_cond_move, m32r_function_symbol,
      	m32r_output_block_move): Likewise.
      	* config/m32r/m32r.h (INITIAL_ELIMINATION_OFFSET): Likewise.
      	* config/m32r/m32r.md (	*movsi_insn, *zero_branch_insn,
      	*rev_zero_branch_insn): Likewise.
      
      From-SVN: r99309
      Nathan Sidwell committed
    • re PR c++/20961 (ICE on pragma weak/__attribute__((weak))) · 46fb43a7
      	PR c++/20961
      	* varasm.c (merge_weak): Remove NEWDECL from WEAK_DECLS chain
      	if both NEWDECL and OLDDECL are already weak.
      
      	* g++.dg/ext/weak3.C: New test.
      
      From-SVN: r99306
      Jakub Jelinek committed
    • 2005-05-06 Michael Koch <konqueror@gmx.de> · 8e111a2b
      	* java/awt/BufferCapabilities.java
      	(BufferCapabilities): Merged javadoc.
      
      From-SVN: r99304
      Michael Koch committed
    • 2005-05-06 Michael Koch <konqueror@gmx.de> · cb881fb1
      	* java/util/Locale.java
      	(defaultLocale): Use gnu.classpath.SystemProperties to get properties.
      	(getLocale): New methods. Use it everywhere where instances of Locales
      	are needed.
      	(getDisplayLanguage): Merged javadoc.
      	(getDisplayCountry): Likewise.
      	(getDisplayVariant): Likewise.
      
      From-SVN: r99303
      Michael Koch committed
    • gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid… · 8108f998
      gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references.
      
      2005-05-06  Archie Cobbs  <archie@dellroad.org>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
      	use DeleteLocalRef() to avoid exhausting local native references.
      
      From-SVN: r99302
      Archie Cobbs committed
    • [multiple changes] · 9b8d7b42
      2005-05-06  Mark Wielaard  <mark@klomp.org>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
      	(window_delete_cb): Don't use C++ style comments.
      
      2005-05-06  Robert Schuster  <thebohemian@gmx.net>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
      	copyright header.
      
      2005-05-06  Robert Schuster  <thebohemian@gmx.net>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
      	(window_delete_cb): Made the function return TRUE.
      
      From-SVN: r99301
      Michael Koch committed
    • 2005-05-06 Roman Kennke <roman@kennke.org> · 9dc83af9
      	* javax/swing/text/PlainView.java
      	(drawUnselectedText): Call Utilities.drawTabbedText() with correct
      	offset parameter.
      	* javax/swing/text/Utilities.java
      	(drawTabbedText): Initilialize local variable pos correctly.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/AbstractDocument.java
      	(LeafElement): Made start and end package private fields for
      	effective reindexing.
      	* javax/swing/text/PlainDocument.java
      	(constructor): The field rootElement is always BranchElement,
      	so we handle it as such.
      	(removeUpdate): Rewritten reindexing for removeUpdate so that
      	the actual removal is taken into account.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/GapContent.java:
      	Removed debugging output stuff, which I accidentally left in.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/GapContent.java:
      	Implemented a real GapContent. Only the public methods have
      	been implemented so far and still no UndoableEdit support.
      
      From-SVN: r99300
      Roman Kennke committed