1. 05 May, 2005 7 commits
  2. 04 May, 2005 27 commits
    • Fixed a vrsave problem in the presense of save_world call in the prologue. · bcb604b6
      Oked by Dale Johannesen.
      
      From-SVN: r99236
      Fariborz Jahanian committed
    • predicates.md: New file. · cc73528f
      	* config/mmix/predicates.md: New file.
      	* config/mmix/mmix.c (mmix_symbolic_or_address_operand)
      	(mmix_reg_or_constant_operand, mmix_reg_cc_operand)
      	(mmix_foldable_comparison_operator, mmix_comparison_operator)
      	(mmix_reg_or_0_operand, mmix_reg_or_8bit_operand): Remove.
      	* config/mmix/mmix.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
      	Don't define.
      	* config/mmix/mmix.md: Include predicates.md.
      	("call", "call_value"): Force address to register if it isn't a
      	mmix_symbolic_or_address_operand.
      
      From-SVN: r99235
      Hans-Peter Nilsson committed
    • BufferCapabilities.java: Document. · 29572b4d
      2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/BufferCapabilities.java: Document.
      
      From-SVN: r99234
      Thomas Fitzsimmons committed
    • re PR libfortran/21354 ([4.0 only] Rank 7 not handled correctly) · e33e218b
      2005-05-04  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/21354
      	* m4/cshift1.m4: Change dimension of auxiliary arrays from
      	GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
      	* m4/eoshift1.m4: Likewise.
      	* m4/eoshift3.m4: Likewise.
      	* m4/ifunction.m4: Likewise.
      	* m4/in_pack.m4: Likewise.
      	* m4/in_unpack.m4: Likewise.
      	* intrinsics/cshift0.c: Likewise.
      	* intrinsics/eoshift0.c: Likewise.
      	* intrinsics/eoshift2.c: Likewise.
      	* intrinsics/random.c: Likewise.
      	* intrinsics/spread_generic.c: Likewise.
      	* intrinsics/stat.c: Likewise.
      	* generated/all_l4.c: Regenerated.
      	* generated/all_l8.c: Regenerated.
      	* generated/any_l4.c: Regenerated.
      	* generated/any_l8.c: Regenerated.
      	* generated/count_4_l4.c: Regenerated.
      	* generated/count_4_l8.c: Regenerated.
      	* generated/count_8_l4.c: Regenerated.
      	* generated/count_8_l8.c: Regenerated.
      	* generated/cshift1_4.c: Regenerated.
      	* generated/cshift1_8.c: Regenerated.
      	* generated/eoshift1_4.c: Regenerated.
      	* generated/eoshift1_8.c: Regenerated.
      	* generated/eoshift3_4.c: Regenerated.
      	* generated/eoshift3_8.c: Regenerated.
      	* generated/in_pack_i4.c: Regenerated.
      	* generated/in_pack_i8.c: Regenerated.
      	* generated/in_unpack_i4.c: Regenerated.
      	* generated/in_unpack_i8.c: Regenerated.
      	* generated/maxloc0_4_i4.c: Regenerated.
      	* generated/maxloc0_4_i8.c: Regenerated.
      	* generated/maxloc0_4_r4.c: Regenerated.
      	* generated/maxloc0_4_r8.c: Regenerated.
      	* generated/maxloc0_8_i4.c: Regenerated.
      	* generated/maxloc0_8_i8.c: Regenerated.
      	* generated/maxloc0_8_r4.c: Regenerated.
      	* generated/maxloc0_8_r8.c: Regenerated.
      	* generated/maxloc1_4_i4.c: Regenerated.
      	* generated/maxloc1_4_i8.c: Regenerated.
      	* generated/maxloc1_4_r4.c: Regenerated.
      	* generated/maxloc1_4_r8.c: Regenerated.
      	* generated/maxloc1_8_i4.c: Regenerated.
      	* generated/maxloc1_8_i8.c: Regenerated.
      	* generated/maxloc1_8_r4.c: Regenerated.
      	* generated/maxloc1_8_r8.c: Regenerated.
      	* generated/maxval_i4.c: Regenerated.
      	* generated/maxval_i8.c: Regenerated.
      	* generated/maxval_r4.c: Regenerated.
      	* generated/maxval_r8.c: Regenerated.
      	* generated/minloc0_4_i4.c: Regenerated.
      	* generated/minloc0_4_i8.c: Regenerated.
      	* generated/minloc0_4_r4.c: Regenerated.
      	* generated/minloc0_4_r8.c: Regenerated.
      	* generated/minloc0_8_i4.c: Regenerated.
      	* generated/minloc0_8_i8.c: Regenerated.
      	* generated/minloc0_8_r4.c: Regenerated.
      	* generated/minloc0_8_r8.c: Regenerated.
      	* generated/minloc1_4_i4.c: Regenerated.
      	* generated/minloc1_4_i8.c: Regenerated.
      	* generated/minloc1_4_r4.c: Regenerated.
      	* generated/minloc1_4_r8.c: Regenerated.
      	* generated/minloc1_8_i4.c: Regenerated.
      	* generated/minloc1_8_i8.c: Regenerated.
      	* generated/minloc1_8_r4.c: Regenerated.
      	* generated/minloc1_8_r8.c: Regenerated.
      	* generated/minval_i4.c: Regenerated.
      	* generated/minval_i8.c: Regenerated.
      	* generated/minval_r4.c: Regenerated.
      	* generated/minval_r8.c: Regenerated.
      	* generated/product_c4.c: Regenerated.
      	* generated/product_c8.c: Regenerated.
      	* generated/product_i4.c: Regenerated.
      	* generated/product_i8.c: Regenerated.
      	* generated/product_r4.c: Regenerated.
      	* generated/product_r8.c: Regenerated.
      	* generated/sum_c4.c: Regenerated.
      	* generated/sum_c8.c: Regenerated.
      	* generated/sum_i4.c: Regenerated.
      	* generated/sum_i8.c: Regenerated.
      	* generated/sum_r4.c: Regenerated.
      	* generated/sum_r8.c: Regenerated.
      
      2005-05-04  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/21354
      	gfortran.dg/in_pack_rank7.f90:  New test.
      
      From-SVN: r99232
      Thomas Koenig committed
    • FileLock.java (toString): Entirely avoid String "+". · 5b3ceafe
      	* java/nio/channels/FileLock.java (toString): Entirely avoid
      	String "+".
      
      2005-05-04  Andrew Overholt  <overholt@redhat.com>
      
      	* java/nio/channels/FileLock.java (toString): Re-implement using
      	StringBuffer.
      
      From-SVN: r99230
      Tom Tromey committed
    • tree-flow-inline.h (op_iter_init_use, [...]): Assert that the flags are of appropriate types. · 66d3fe47
      
      2005-05-04  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-flow-inline.h (op_iter_init_use, op_iter_init_def): Assert that
      	the flags are of appropriate types.
      	(num_ssa_operands): Generalize using the generic interface.
      	* tree-ssa-dce.c (remove_dead_stmt): Don't ask for kills on a DEF
      	iterator.
      
      From-SVN: r99227
      Andrew MacLeod committed
    • Shuffle ChangeLog entries into new files ChangeLog-1998, · 158a48be
      ChangeLog-2000, and ChangeLog-2004.  Correct some typos.  This change
      does not itself get a ChangeLog entry.
      
      From-SVN: r99225
      Ian Lance Taylor committed
    • ImageCapabilities.java: Document. · d1ca2cfe
      2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/ImageCapabilities.java: Document.
      
      	* java/awt/image/VolatileImage.java: Unindent copyright header.
      
      From-SVN: r99224
      Thomas Fitzsimmons committed
    • * protoize.c (version_flag, quiet_flag, nochange_flag, nosave_flag) · 1351ec82
      	(keep_flag, local_flag, global_flag, cplusplus_flag): Make extern.
      
      From-SVN: r99223
      Richard Sandiford committed
    • tree-outof-ssa.c (edge_leader, [...]): Use VEC instead of VARRAY. · 5ea30da0
      	* tree-outof-ssa.c (edge_leader, stmt_list,
      	analyze_edges_for_bb): Use VEC instead of VARRAY.
      	(init_analayze_edges_for_bb, fini_analayze_edges_for_bb): New.
      	(perform_edge_inserts): Call init_analayze_edges_for_bb and
      	fini_analayze_edges_for_bb.
      
      From-SVN: r99222
      Kazu Hirata committed
    • Fix the Xassembler and Xpreprocessor options, which have never worked right. · 10bf9e8a
      PR driver/21112
      * gcc.c (process_command): In the second argv scan loop, ignore
      Xassembler and Xpreprocessor, along with their argument.
      
      From-SVN: r99221
      James E Wilson committed
    • tree-flow-inline.h, [...]: Likewise. · 395bda42
      	* tree-flow-inline.h, tree-ssa-operands.c,
      	tree-ssa-operands.h, tree-ssa-opfinalize.h:
      	Likewise. tree-vn.c: Fix comment typos.
      	* doc/passes.texi, doc/tree-ssa.texi: Fix typos.
      
      From-SVN: r99220
      Kazu Hirata committed
    • tm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN. · 4268e4cf
      2005-05-04  Paolo Bonzini  <bonzini@gnu.org>
      
      	* doc/tm.texi (Target Hooks): Document
      	TARGET_RESOLVE_OVERLOADED_BUILTIN.
      
      From-SVN: r99219
      Paolo Bonzini committed
    • Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS. · ce406537
      2005-05-04  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
      	STAGE_HOST_EXPORTS.
      	(configure, all): Add bootstrap support.
      	(Host modules, target modules): Pass post-stage1 flags and exports.
      	(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
      	* Makefile.in: Regenerate.
      
      From-SVN: r99218
      Paolo Bonzini committed
    • Makefile.in: Change dependencies on target.h to $(TARGET_H). · cedc99b5
      2005-05-04  Paul Brook  <paul@codesourcery.com>
      
      	* Makefile.in: Change dependencies on target.h to $(TARGET_H).
      
      From-SVN: r99217
      Paul Brook committed
    • tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call update_stmt. · 5396a142
      	* tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call
      	update_stmt.
      
      From-SVN: r99216
      Kazu Hirata committed
    • loop-unroll.c (var_to_expand, [...]): Use VEC instead of VARRAY. · 0cc39082
      	* loop-unroll.c (var_to_expand, analyze_insn_to_expand_var,
      	get_expansion, expand_var_during_unrolling,
      	insert_var_expansion_initialization,
      	combine_var_copies_in_loop_exit, release_var_copies): Use VEC
      	instead of VARRAY.
      
      From-SVN: r99211
      Kazu Hirata committed
    • dwarf2out.c (incomplete_types, [...]): Use VEC instead of VARRAY. · 887fb69b
      	* dwarf2out.c (incomplete_types, retry_incomplete_types,
      	gen_struct_or_union_type_die, dwarf2out_init): Use VEC instead
      	of VARRAY.
      
      From-SVN: r99210
      Kazu Hirata committed
    • cp-tree.h (language_function): Change the type of x_local_names to VEC. · 9acaf84a
      	* cp-tree.h (language_function): Change the type of
      	x_local_names to VEC.
      	* decl.c (push_local_name): Adjust uses of local_names.
      
      From-SVN: r99209
      Kazu Hirata committed
    • VolatileImage.java: Document. · 78da4d2e
      2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/image/VolatileImage.java: Document.
      
      From-SVN: r99208
      Thomas Fitzsimmons committed
    • [multiple changes] · a7e1c928
      2004-05-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/15618
              * fold-const.c (fold_widened_comparison): Treat BOOLEAN_TYPE
              the same as INTEGER_TYPE.
              (fold_binary): Fold "bool_var != 0" to bool_var.
              Fold "bool_var == 1" to bool_var.
      2005-05-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/15618
              * gcc.dg/tree-ssa/bool-[1-9].c: New tests.
      
      From-SVN: r99207
      Andrew Pinski committed
    • re PR java/20309 (gcjh needs a -force option) · d8be0aab
      2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
              PR java/20309
              * Make-lang.in (java): Add gjnih.
              (JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
              (GJNIH_OBJS): New variable.
              (gjnih$(exeext)): New target.
              (JAVA_MANFILES): Add gjnih.1.
              (java.uninstall): Add gjnih.1.
              (java.mostlyclean): Add gjnih.
              (java.maintainer-clean): Add gjnih.1.
              (java/gjavah-jni.o): New target.
              (.INTERMEDIATE): Add gjnih.pod.
              (gjnih.pod): New target.
              * config-lang.in (stagestuff): Add gjnih.
              * gcj.texi (Top): Add gjnih node.
              (Invoking gcjh): Add descriptions of -force, -old, -trace, -J and
              -bootclasspath options.
              (Invoking gjnih): New node.
              * gjavah.c Initialize flag_jni to 1 if JNI_DEFAULT is defined.
              (TOOLNAME): New macro.
              (error): Replace hard-coded gcjh with TOOLNAME.
              (process_file): Likewise.
              (usage): Likewise.
              (version): Likewise.
              (help): Likewise.  Add help output for -force, -old, -trace and -J
              options.
              (OPT_FORCE, OPT_OLD, OPT_TRACE): New macros.
              (options): Add force, old, trace and J fields.
              (main): Handle -force, -old, -trace and -J options.
      
      From-SVN: r99206
      Thomas Fitzsimmons committed
    • re PR middle-end/21318 (ICE in instantiate_virtual_regs_in_insn) · fbdd0b09
              PR middle-end/21318
              * function.c (instantiate_virtual_regs_in_insn): Use the mode
              from recog_data instead of insn_data.
      
      From-SVN: r99205
      Richard Henderson committed
    • common.opt (fdiagnostics-show-option): No variable is needed. · 2098fe9e
      * common.opt (fdiagnostics-show-option): No variable is needed.
      * diagnostic.h (diagnostic_context): Add show_option_requested flag.
      * diagnostic.c (diagnostic_initialize): Initialize show_option_requested.
      (diagnostic_report_diagnostic): Test for enabled diagnostics here.
      Save and restore original message format.  Use flag in context
      instead of global.
      (warning): Don't test for enabled warnings here.
      * opts.c (common_handle_option): Handle -fdiagnostics-show-option
      here.
      
      From-SVN: r99204
      DJ Delorie committed
    • xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN. · 9791c75c
      2005-05-04  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config/m32r/xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.
      	* config/m32r/xm-linux.h: Don't undefine HOST_WORDS_BIG_ENDIAN.
      	* mips-tfile.c: Use WORDS_BIG_ENDIAN instead of HOST_WORDS_BIG_ENDIAN.
      	* aclocal.m4: Don't include accross.m4.
      	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
      	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
      	* configure, config.in: Regenerate.
      
      From-SVN: r99203
      Kelley Cook committed
    • Daily bump. · 055f6c0f
      [[Split portion of a mixed commit.]]
      
      From-SVN: r99200.2
      GCC Administrator committed
  3. 03 May, 2005 6 commits
    • * ChangeLog: Remove conflict indicator. · 1d1fafea
      From-SVN: r99197
      Thomas Fitzsimmons committed
    • 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> · 9247d229
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
              (init_glib_threads): Check if threading system is already
              initialized.
      
      From-SVN: r99196
      Thomas Fitzsimmons committed
    • re PR libgcj/21372 (FileChannel.tryLock() return value incorrect) · f525d7a7
      2005-05-03  Andrew Overholt  <overholt@redhat.com>
      
      	PR libgcj/21372:
      	* gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
      	could not be acquired.
      	* java/nio/channels/FileLock.java (toString): Re-implement to be
      	in line with other implementations.
      
      From-SVN: r99188
      Andrew Overholt committed
    • re PR middle-end/21265 (GCC fails to optimize tail call to memset) · 8148fe65
      	PR middle-end/21265
      	* expr.h (enum block_op_methods): Add BLOCK_OP_TAILCALL.
      	(clear_storage): Add argument.
      	* expr.c (emit_block_move_via_libcall, clear_storage_via_libcall):
      	Add tailcall argument, set CALL_EXPR_TAILCALL of the CALL_EXPR to
      	tailcall.
      	(emit_block_move): Handle BLOCK_OP_TAILCALL method.
      	(clear_storage): Add method argument, handle BLOCK_OP_TAILCALL.
      	(store_expr, store_constructor): Adjust callers.
      	* builtins.c (expand_builtin_memcpy): Pass BLOCK_OP_TAILCALL
      	to emit_block_move if CALL_EXPR_TAILCALL (exp).
      	(expand_builtin_memmove): Add ORIG_EXP argument, copy
      	CALL_EXPR_TAILCALL from ORIG_EXP to the new CALL_EXPR.
      	(expand_builtin_bcopy): Replace ARGLIST and TYPE arguments
      	with EXP.  Pass EXP to expand_builtin_memmove.
      	(expand_builtin_memset): Add ORIG_EXP argument, pass
      	BLOCK_OP_TAILCALL to clear_storage if CALL_EXPR_TAILCALL (orig_exp).
      	(expand_builtin_bzero): Replace ARGLIST argument with EXP.
      	Pass EXP to expand_builtin_memset.
      	(expand_builtin_strcmp): Copy CALL_EXPR_TAILCALL from EXP to
      	the new CALL_EXPR.
      	(expand_builtin_strncmp): Likewise.
      	(expand_builtin_printf): Replace ARGLIST argument with EXP.
      	Copy CALL_EXPR_TAILCALL from EXP to the new CALL_EXPR.
      	(expand_builtin_fprintf): Likewise.
      	(expand_builtin): Adjust calls to
      	expand_builtin_{memmove,bcopy,memset,bzero,{,f}printf}.
      
      	* gcc.dg/20050503-1.c: New test.
      
      From-SVN: r99187
      Jakub Jelinek committed
    • re PR rtl-optimization/21239 (Illegal elimination of SSE2 load/store using xmm intrinsics) · 125886c7
      	* config/i386/i386.c (ix86_expand_vector_set): Fix setting 3rd and 4th
      	item in V4SF mode.
      
      	PR rtl-optimization/21239
      	* combine.c (combine_simplify_rtx) <case VEC_SELECT>: Fix a typo.
      
      	* gcc.dg/i386-sse-11.c: New test.
      
      From-SVN: r99186
      Jakub Jelinek committed
    • VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly. · 21fae937
      	* java/lang/VMSecurityManager.java (currentClassLoader): Use
      	'systemClasssLoader' directly.
      
      From-SVN: r99185
      Tom Tromey committed