1. 11 Oct, 2003 29 commits
    • 2003-10-11 Michael Koch <konqueror@gmx.de> · e1a5ed6c
      	* java/awt/print/Pageable.java,
      	* java/awt/print/Printable.java,
      	java/awt/print/PrinterGraphics.java:
      	Removed redundant modifiers.
      
      From-SVN: r72348
      Michael Koch committed
    • ButtonPeer.java, [...]: Removed redundant modifiers. · 4581f1bc
      2003-10-11  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/peer/ButtonPeer.java,
      	java/awt/peer/CheckboxMenuItemPeer.java,
      	java/awt/peer/CheckboxPeer.java,
      	java/awt/peer/ChoicePeer.java,
      	java/awt/peer/ComponentPeer.java,
      	java/awt/peer/ContainerPeer.java,
      	java/awt/peer/DialogPeer.java,
      	java/awt/peer/FileDialogPeer.java,
      	java/awt/peer/FramePeer.java,
      	java/awt/peer/LabelPeer.java,
      	java/awt/peer/ListPeer.java,
      	java/awt/peer/MenuBarPeer.java,
      	java/awt/peer/MenuComponentPeer.java,
      	java/awt/peer/MenuItemPeer.java,
      	java/awt/peer/MenuPeer.java,
      	java/awt/peer/PopupMenuPeer.java,
      	java/awt/peer/RobotPeer.java,
      	java/awt/peer/ScrollPanePeer.java,
      	java/awt/peer/ScrollbarPeer.java,
      	java/awt/peer/TextAreaPeer.java,
      	java/awt/peer/TextComponentPeer.java,
      	java/awt/peer/TextFieldPeer.java,
      	java/awt/peer/WindowPeer.java:
      	Removed redundant modifiers.
      
      From-SVN: r72347
      Michael Koch committed
    • Really remove it. · 1b2bfbc2
      From-SVN: r72346
      Michael Koch committed
    • NIOSocket.java (setChannel): Initialize impl. · 51914674
      2003-10-11  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
      	* gnu/java/nio/ServerSocketChannelImpl.java
      	(serverSocket): Made it a NIOServerSocket.
      	(impl): Removed.
      	(ServerSocketChannelImpl): Initialize only serverSocket.
      	(initServerSocket): Removed.
      	(getNativeFD): Rewritten.
      	(implConfigureBlocking): Set socket timeout and removed comment.
      	(accept): Rewritten.
      	* gnu/java/nio/SocketChannelImpl.java
      	(impl): New variable.
      	(connected): Removed.
      	(SocketChannelImpl): Initialize impl too.
      	(getImpl): New method.
      	(isConnected): Rewritten.
      	(read): Rewritten, set position in buffer correctly.
      	(write): Set position in buffer correctly.
      	* java/net/ServerSocket.java (getImpl): New method.
      	* gnu/java/nio/NIOServerSocket.java,
      	gnu/java/nio/natNIOServerSocket.cc: New files.
      	* gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
      	* Makefile.am
      	(ordinary_java_source_files):
      	Added gnu/java/nio/NIOServerSocket.java.
      	(nat_source_files):
      	Removed gnu/java/nio/natServerSocketChannelImpl.cc
      	and added gnu/java/nio/natNIOServerSocket.cc.
      	* Makefile.in: Regenerated.
      
      From-SVN: r72345
      Michael Koch committed
    • * g++.dg/other/first-global.C: New test. · 5a2a057d
      From-SVN: r72344
      Jan Hubicka committed
    • varasm.c (notice_global_symbol): Fix handling of variables; avoid re-computing of variable. · 8af11e80
      
      	* varasm.c (notice_global_symbol):  Fix handling of variables; avoid
      	re-computing of variable.
      
      From-SVN: r72343
      Jan Hubicka committed
    • Oh man, forgot the ChangeLog entry for another time. · a28e846b
      From-SVN: r72342
      Michael Koch committed
    • 2003-10-11 Michael Koch <konqueror@gmx.de> · 00f4a3fb
      	* java/awt/ActiveEvent.java
      	* java/awt/datatransfer/ClipboardOwner.java
      	* java/awt/datatransfer/FlavorMap.java
      	* java/awt/datatransfer/Transferable.java
      	* java/awt/dnd/Autoscroll.java
      	* java/awt/dnd/peer/DragSourceContextPeer.java
      	* java/awt/dnd/peer/DropTargetContextPeer.java
      	* java/awt/dnd/peer/DropTargetPeer.java
      	* java/awt/font/MultipleMaster.java
      	* java/awt/font/OpenType.java
      	* java/awt/im/spi/InputMethodDescriptor.java
      	* java/awt/image/ImageObserver.java
      	* java/awt/image/ImageConsumer.java
      	* java/awt/image/ImageProducer.java
      	* java/awt/image/RGBImageFilter.java
      	* java/awt/image/RasterOp.java
      	* java/awt/image/renderable/RenderableImage.java
      
      From-SVN: r72341
      Michael Koch committed
    • Forgot to write ChangeLog entry. · b46f35f3
      From-SVN: r72340
      Michael Koch committed
    • 2003-10-11 Michael Koch <konqueror@gmx.de> · 31f28689
      	* gnu/awt/j2d/DirectRasterGraphics.java
      	* gnu/java/awt/EmbeddedWindowSupport.java
      
      From-SVN: r72339
      Michael Koch committed
    • alpha.c (alpha_return_in_memory): Rename from return_in_memory, make static,… · f93c2180
      alpha.c (alpha_return_in_memory): Rename from return_in_memory, make static, change signature to match target hook.
      
              * config/alpha/alpha.c (alpha_return_in_memory): Rename from
              return_in_memory, make static, change signature to match target hook.
              (alpha_setup_incoming_varargs): Make static, change signature to
              match target hook, add code for vms and unicos.
              (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN,
              TARGET_PROMOTE_PROTOTYPES, TARGET_STRUCT_VALUE_RTX,
              TARGET_RETURN_IN_MEMORY, TARGET_SETUP_INCOMING_VARARGS,
              TARGET_STRICT_ARGUMENT_NAMING,
              TARGET_PRETEND_OUTGOING_VARARGS_NAMED): New.
              * config/alpha/alpha-protos.h: Update.
              * config/alpha/alpha.h (PROMOTE_FUNCTION_ARGS,
              PROMOTE_FUNCTION_RETURN, RETURN_IN_MEMORY,
              SETUP_INCOMING_VARARGS): Remove.
              * config/alpha/unicosmk.h (SETUP_INCOMING_VARARGS): Remove.
              * config/alpha/vms.h (SETUP_INCOMING_VARARGS): Remove.
      
      From-SVN: r72338
      Richard Henderson committed
    • lb1sf68.asm: Follow spelling conventions. · c16eadc7
      	* config/m68k/lb1sf68.asm: Follow spelling conventions.
      	* config/m68k/m68k.c: Likewise.
      	* config/m68k/m68k.h: Likewise.
      	* config/m68k/m68k.md: Likewise.
      
      From-SVN: r72336
      Kazu Hirata committed
    • builtins.c (expand_builtin_memcpy): Optimize case when the two pointer arguments are the equal... · ea82015c
      
      	* builtins.c (expand_builtin_memcpy): Optimize case when the two
      	pointer arguments are the equal, non-volatile and side-effect free.
      	(expand_builtin_mempcpy): Likewise.
      	(expand_builtin_memmove): Likewise.
      	(expand_builtin_strcpy): Likewise.
      	(expand_builtin_memcmp): Likewise.
      	(expand_builtin_strcmp): Likewise.
      	(expand_builtin_strncmp): Likewise.
      
      	* gcc.c-torture/execute/string-opt-18.c: New testcase.
      
      From-SVN: r72335
      Roger Sayle committed
    • combine.c (apply_distributive_law): Enable "distributive" floating point… · 2981fafe
      combine.c (apply_distributive_law): Enable "distributive" floating point optimizations with -funsafe-math-optimizations.
      
      
      	* combine.c (apply_distributive_law): Enable "distributive" floating
      	point optimizations with -funsafe-math-optimizations.
      
      From-SVN: r72334
      Roger Sayle committed
    • +2003-10-11 Andrew Pinski <pinskia@physics.uc.edu> · 379f1861
      +
      +       * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.
      
      From-SVN: r72333
      Andrew Pinski committed
    • m68k-protos.h: Remove the prototype for finalize_pic. · d3c34e42
      	* config/m68k/m68k-protos.h: Remove the prototype for
      	finalize_pic.
      
      From-SVN: r72332
      Kazu Hirata committed
    • * config/m68k/m68k.c: Fix comment typos. · b2e08ed4
      From-SVN: r72331
      Kazu Hirata committed
    • m68k-protos.h (use_return_insn): Change return type from int to bool. · 3d74bc09
      	* config/m68k/m68k-protos.h (use_return_insn): Change return type from
      	int to bool.
      	* config/m68k/m68k.c (struct m68k_frame): Add funcdef_no member.
      	(current_frame): New global var.
      	(m68k_compute_frame_layout): Cache computations in current_frame.
      	(m68k_initial_elimination_offset): Use values from current_frame
      	instead of recomputing them.
      	(use_return_insn): Likewise.
      	(m68k_output_function_prologue): Likewise.
      	(m68k_output_function_epilogue): Likewise.
      	* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Fold __PIC__ handling
      	inside the block for __pic__.
      
      From-SVN: r72330
      Bernardo Innocenti committed
    • m68k.c (m68k_frame): Move before protos referencing it. · 48ed72a4
      	* config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
      	(m68k_save_reg): Add boolean parameter `interrupt_handler'.
      	(m68k_interrupt_function_p): New function.
      	(m68k_handle_fndecl_attribute): Ditto.
      	(m68k_compute_frame_layout): Ditto.
      	(m68k_attribute_table): Define back-end specific attributes.
      	(m68k_output_function_epilogue): Emit RTE instruction for interrupt
      	functions.
      
      Co-Authored-By: Bernardo Innocenti <bernie@develer.com>
      
      From-SVN: r72329
      Peter Barada committed
    • t-uclinux: New target Makefile fragment. · ba591f5a
      	* config/m68k/t-uclinux: New target Makefile fragment.
      	* config/m68k/uclinux.h: New target macro file.
      	* config.gcc (m68k-*-uclinux): New target definition.
      
      From-SVN: r72328
      Bernardo Innocenti committed
    • builtins.c (builtin_mathfn_code): Generalize to check whether the call is to any… · feda1845
      builtins.c (builtin_mathfn_code): Generalize to check whether the call is to any built-in function by comparing...
      
      
      	* builtins.c (builtin_mathfn_code): Generalize to check whether
      	the call is to any built-in function by comparing the call's
      	argument list against the builtin decl's function type.
      
      From-SVN: r72327
      Roger Sayle committed
    • cse.c (constant_pool_entries_regcost): New global variable to hold the register… · dd0ba281
      cse.c (constant_pool_entries_regcost): New global variable to hold the register cost component of...
      
      
      	* cse.c (constant_pool_entries_regcost): New global variable to
      	hold the register cost component of constant_pool_entries_cost.
      	(fold_rtx): Calculate constant_pool_entries_regcost at the same
      	time as constant_pool_entries_cost.
      	(cse_insn): Set both src_folded_cost and src_folded_regcost from
      	constant_pool_entries_cost and constant_pool_entries_regcost.
      	(cse_main): Initialize constant_pool_entries_regcost to zero.
      
      	* optabs.c (expand_unop): Attach a REG_EQUAL note describing
      	the semantics of the sequence of bit operations used to negate
      	a floating-point value.
      	(expand_abs_nojump): Likewise attach a REG_EQUAL note describing
      	the semantics of the bit operations used to abs a floating point
      	value.
      
      From-SVN: r72326
      Roger Sayle committed
    • crossconfig.m4 (*-uclinux*): New target. · 796d7a86
      	* crossconfig.m4 (*-uclinux*): New target.
      	* configure: Regenerate.
      
      From-SVN: r72325
      Bernardo Innocenti committed
    • lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__ support. · a2ef3db7
      	* config/m68k/lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__
      	support.
      	* config/m68k/m68k-none.h (ASM_SPEC): Pass --pcrel to assembler on
      	-fpic, -fPIC, -msep-data and -mid-shared-library.
      	* config/m68k/m68k.c (m68k_library_id_string): New global variable.
      	(override_options): Add -msep-data and -mshared-library-id support.
      	(m68k_output_function_prologue): Generate code to load A5 for
      	TARGET_ID_SHARED_LIBRARY and TARGET_SEP_DATA.
      	(m68k_output_mi_thunk): Emit indirect jump on TARGET_ID_SHARED_LIBRARY.
      	(m68k_output_pic_call): New function.
      	* gcc/config/m68k/m68k.h (TARGET_SEP_DATA): New target flag.
      	(TARGET_ID_SHARED_LIBRARY): Ditto.
      	(TARGET_SWITCHES): Add switches for -mid-shared-library and -msep-data.
      	* gcc/config/m68k/m68k.md (call): Call m68k_output_pic_call().
      	(call_value): Likewise.
      
      From-SVN: r72324
      Bernardo Innocenti committed
    • m68k.c (m68k_frame): Move before protos referencing it. · 4f5acf56
      	* config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
      	(m68k_save_reg): Add boolean parameter `interrupt_handler'.
      	(m68k_interrupt_function_p): New function.
      	(m68k_handle_fndecl_attribute): Ditto.
      	(m68k_compute_frame_layout): Ditto.
      	(m68k_attribute_table): Define back-end specific attributes.
      	(m68k_output_function_epilogue): Emit RTE instruction for interrupt
      	functions.
      
      From-SVN: r72323
      Bernardo Innocenti committed
    • config.guess: Update to 2003-10-07 version. · 26db814a
      	* config.guess: Update to 2003-10-07 version.
      	* config.sub: Update to 2003-10-07 version.
      
      From-SVN: r72322
      Bernardo Innocenti committed
    • gengenrtl.c (find_formats, genheader): Make i an unsigned int, remove cast of NUM_RTX_CODE. · 3ef996b0
      	* gengenrtl.c (find_formats, genheader): Make i an unsigned
      	int, remove cast of NUM_RTX_CODE.
      	* machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the
      	entire file.  Remove the #ifs on GET_MODE_MASK etc and
      	GET_MODE_WIDER_MODE etc.
      
      From-SVN: r72321
      Zack Weinberg committed
    • Daily bump. · 129c1f79
      From-SVN: r72319
      GCC Administrator committed
  2. 10 Oct, 2003 11 commits
    • ia64.c (ia64_vms_init_libfuncs): New function. · 738e7b39
      	* config/ia64/ia64.c (ia64_vms_init_libfuncs): New function.
      	(ia64_output_function_prologue): Only write .prologue if --with-gnu-as.
      	(ia64_initialize_trampoline): If not using GAS, declare trampoline
      	as global.
      	* config/ia64/ia64.h (ASM_APP_ON, ASM_APP_OFF): Add vers for not GAS.
      	(ASM_OUTPUT_DEBUG_LABEL): Likewise.
      
      From-SVN: r72316
      Richard Kenner committed
    • lcm.c (optimize_mode_switching): Change NORMAL_MODE to MODE_ENTRY and MODE_EXIT. · 73774972
      2003-10-10  Eric Christopher  <echristo@redhat.com>
      
              * lcm.c (optimize_mode_switching): Change NORMAL_MODE
              to MODE_ENTRY and MODE_EXIT. Add MODE_AFTER for insns
              that set mode.
              * config/sh/sh.h (MODE_ENTRY): New macro.
              (MODE_EXIT): Ditto.
              (MODE_AFTER): Ditto.
              * config/sh/sh.md: Change for MODE_AFTER. Add
              fp_set attribute.
              * doc/tm.texi: Document MODE_AFTER, MODE_ENTRY, and MODE_EXIT.
      
      From-SVN: r72315
      Eric Christopher committed
    • genmodes.c, [...]: New files. · 8d61e55e
      	* genmodes.c, mode-classes.def: New files.
      	* machmode.def: Rewritten to genmodes.c interface.
      	* Makefile.in (extra_modes_file): New substitution variable.
      	(MACHMODE_H): No longer includes machmode.def or
      	@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
      	(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
      	(OBJS-common): Add insn-modes.o.
      	(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
      	genmodes$(build_exeext).
      	(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
      	genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
      	(s-genrtl): Don't depend on $(RTL_BASE_H).
      	(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
      	or $(RTL_BASE_H); just rtl.def.
      	* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
      	real.h.  Give fake definition of CONST_DOUBLE_FORMAT and
      	substitute definition of NUM_RTX_CODE.  Add casts to avoid
      	warnings.
      	* machmode.h: Include insn-modes.h, not machmode.def.  Include
      	mode-classes.def to define enum mode_class.  Tweak definitions
      	of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
      	GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
      	(inner_mode_array): Renamed mode_inner.
      	(mode_base_align): New.
      	* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
      	mode_unit_size, mode_wider_mode, mode_mask_array,
      	inner_mode_array, class_narrowest_mode): Delete definitions.
      	* stor-layout.c (get_mode_alignment): Use mode_base_align.
      	* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
      	and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
      
      	* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
      	No need to define BITS_PER_UNIT.
      
      
      	* stor-layout.c (compute_record_mode): Don't force BLKmode if
      	field is zero-length BLKmode.
      	* expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
      	zero-size references.
      
      	* combine.c (distribute_links): Properly test for REG being set.
      
      From-SVN: r72314
      Zack Weinberg committed
    • genmodes.c, [...]: New files. · 0974c7d7
      	* genmodes.c, mode-classes.def: New files.
      	* machmode.def: Rewritten to genmodes.c interface.
      	* Makefile.in (extra_modes_file): New substitution variable.
      	(MACHMODE_H): No longer includes machmode.def or
      	@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
      	(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
      	(OBJS-common): Add insn-modes.o.
      	(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
      	genmodes$(build_exeext).
      	(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
      	genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
      	(s-genrtl): Don't depend on $(RTL_BASE_H).
      	(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
      	or $(RTL_BASE_H); just rtl.def.
      	* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
      	real.h.  Give fake definition of CONST_DOUBLE_FORMAT and
      	substitute definition of NUM_RTX_CODE.  Add casts to avoid
      	warnings.
      	* machmode.h: Include insn-modes.h, not machmode.def.  Include
      	mode-classes.def to define enum mode_class.  Tweak definitions
      	of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
      	GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
      	(inner_mode_array): Renamed mode_inner.
      	(mode_base_align): New.
      	* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
      	mode_unit_size, mode_wider_mode, mode_mask_array,
      	inner_mode_array, class_narrowest_mode): Delete definitions.
      	* stor-layout.c (get_mode_alignment): Use mode_base_align.
      	* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
      	and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
      
      	* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
      	No need to define BITS_PER_UNIT.
      
      From-SVN: r72313
      Zack Weinberg committed
    • * gcc.c-torture/compile/20031010-1.c: New test. · 51e73d57
      From-SVN: r72312
      Ian Lance Taylor committed
    • stor-layout.c (compute_record_mode): Don't force BLKmode if field is zero-length BLKmode. · 7a06d606
      	* stor-layout.c (compute_record_mode): Don't force BLKmode if
      	field is zero-length BLKmode.
      	* expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
      	zero-size references.
      
      From-SVN: r72311
      Richard Kenner committed
    • alpha.c (alpha_expand_block_mode): Don't use gen_lowpart and company except for REG. · 0dd62597
      	* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
      	gen_lowpart and company except for REG.
      
      From-SVN: r72309
      Richard Kenner committed
    • va-arg-24.c: Correct, and rename to... · d0fd1347
      	* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...
      	* gcc.c-torture/execute/va-arg-25.c: ... here.
      
      From-SVN: r72307
      Geoffrey Keating committed
    • * pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld. · 0541c6d9
      From-SVN: r72305
      John David Anglin committed