Commit Graph

53600 Commits

Author SHA1 Message Date
Michael Koch
e3ff2b2bb6 2003-10-11 Michael Koch <konqueror@gmx.de>
* java/security/Key.java,
	* java/security/PrivateKey.java,
	* java/security/PublicKey.java,
	* java/security/acl/Acl.java,
	* java/security/acl/AclEntry.java,
	* java/security/acl/Group.java,
	* java/security/acl/Owner.java,
	* java/security/acl/Permission.java,
	* java/security/cert/X509Extension.java,
	* java/security/interfaces/DSAKey.java,
	* java/security/interfaces/DSAKeyPairGenerator.java,
	* java/security/interfaces/DSAParams.java,
	* java/security/interfaces/DSAPrivateKey.java,
	* java/security/interfaces/DSAPublicKey.java,
	* java/security/interfaces/RSAKey.java,
	* java/security/interfaces/RSAPrivateCrtKey.java,
	* java/security/interfaces/RSAPrivateKey.java,
	* java/security/interfaces/RSAPublicKey.java:
	Removed redundant modifiers.

From-SVN: r72360
2003-10-11 19:00:07 +00:00
Michael Koch
6233cbbc88 ProtocolConstants.java, DER.java: Removing redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* gnu/java/rmi/server/ProtocolConstants.java,
	gnu/java/security/der/DER.java:
	Removing redundant modifiers.

From-SVN: r72359
2003-10-11 18:56:54 +00:00
Michael Koch
9440ae0c09 Map.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/util/Map.java,
	java/util/Observer.java,
	java/util/zip/Checksum.java,
	java/util/zip/ZipConstants.java:
	Removed redundant modifiers.

From-SVN: r72358
2003-10-11 18:52:31 +00:00
Michael Koch
af6b79a63c AttributedCharacterIterator.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/text/AttributedCharacterIterator.java,
	java/text/CharacterIterator.java:
	Removed redundant modifiers.

From-SVN: r72357
2003-10-11 18:51:14 +00:00
Michael Koch
afe6016980 Array.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/sql/Array.java,
	java/sql/Blob.java,
	java/sql/CallableStatement.java,
	java/sql/Clob.java,
	java/sql/Connection.java,
	java/sql/DatabaseMetaData.java,
	java/sql/Driver.java,
	java/sql/ParameterMetaData.java,
	java/sql/PreparedStatement.java,
	java/sql/Ref.java,
	java/sql/ResultSet.java,
	java/sql/ResultSetMetaData.java,
	java/sql/SQLData.java,
	java/sql/SQLInput.java,
	java/sql/SQLOutput.java,
	java/sql/Savepoint.java,
	java/sql/Statement.java,
	java/sql/Struct.java:
	Removed redundant modifiers.

From-SVN: r72356
2003-10-11 18:49:51 +00:00
Michael Koch
eb0043a057 Channel.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/nio/channels/Channel.java,
	java/nio/channels/GatheringByteChannel.java,
	java/nio/channels/ReadableByteChannel.java,
	java/nio/channels/ScatteringByteChannel.java,
	java/nio/channels/WritableByteChannel.java:
	Removed redundant modifiers.

From-SVN: r72355
2003-10-11 18:45:10 +00:00
Michael Koch
d5a87c2b1d ActivationInstantiator.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/rmi/activation/ActivationInstantiator.java,
	java/rmi/activation/ActivationMonitor.java,
	java/rmi/activation/ActivationSystem.java,
	java/rmi/activation/Activator.java,
	java/rmi/dgc/DGC.java,
	java/rmi/registry/Registry.java,
	java/rmi/registry/RegistryHandler.java,
	java/rmi/server/LoaderHandler.java,
	java/rmi/server/RMIClientSocketFactory.java,
	java/rmi/server/RMIFailureHandler.java,
	java/rmi/server/RMIServerSocketFactory.java,
	java/rmi/server/RemoteCall.java,
	java/rmi/server/RemoteRef.java,
	java/rmi/server/ServerRef.java,
	java/rmi/server/Skeleton.java,
	java/rmi/server/Unreferenced.java:
	Removed redundant modifiers.

From-SVN: r72354
2003-10-11 18:42:07 +00:00
Michael Koch
7afb0eea2b ContentHandlerFactory.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/net/ContentHandlerFactory.java,
	java/net/DatagramSocketImplFactory.java,
	java/net/FileNameMap.java,
	java/net/SocketImplFactory.java,
	java/net/SocketOptions.java,
	java/net/URLStreamHandlerFactory.java:
	Removed redundant modifiers.

From-SVN: r72353
2003-10-11 18:39:35 +00:00
Michael Koch
cb2446831a Externalizable.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/io/Externalizable.java,
	java/io/FileFilter.java,
	java/io/FilePermission.java,
	java/io/ObjectInput.java,
	java/io/ObjectInputValidation.java,
	java/io/ObjectOutput.java,
	java/io/ObjectStreamClass.java,
	java/io/ObjectStreamConstants.java,
	java/io/Serializable.java:
	Removed redundant modifiers.

From-SVN: r72352
2003-10-11 18:38:12 +00:00
Ingo Proetel
6a12e65c11 RMIClassLoader.java: Identify cached classloaders by codebase and context classloader.
2003-10-11  Ingo Proetel  <proetel@aicas.com>

	* java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
	codebase and context classloader.

From-SVN: r72351
2003-10-11 18:30:22 +00:00
Michael Koch
c7bcb09dcc BeanContext.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/beans/beancontext/BeanContext.java,
	java/beans/beancontext/BeanContextChild.java,
	java/beans/beancontext/BeanContextChildComponentProxy.java,
	java/beans/beancontext/BeanContextChildSupport.java,
	java/beans/beancontext/BeanContextContainerProxy.java,
	java/beans/beancontext/BeanContextMembershipListener.java,
	java/beans/beancontext/BeanContextProxy.java,
	java/beans/beancontext/BeanContextServiceProvider.java,
	java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
	java/beans/beancontext/BeanContextServiceRevokedListener.java,
	java/beans/beancontext/BeanContextServices.java,
	java/beans/beancontext/BeanContextServicesListener.java:
	Removed redundant modifiers.

From-SVN: r72350
2003-10-11 18:19:44 +00:00
Michael Koch
928366f04f AppletInitializer.java, [...]: Removed redundant modifiers.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* java/beans/AppletInitializer.java,
	java/beans/BeanInfo.java,
	java/beans/Customizer.java,
	java/beans/DesignMode.java,
	java/beans/PropertyEditor.java,
	java/beans/Visibility.java:
	Removed redundant modifiers.

From-SVN: r72349
2003-10-11 18:18:22 +00:00
Michael Koch
e1a5ed6c63 2003-10-11 Michael Koch <konqueror@gmx.de>
* java/awt/print/Pageable.java,
	* java/awt/print/Printable.java,
	java/awt/print/PrinterGraphics.java:
	Removed redundant modifiers.

From-SVN: r72348
2003-10-11 18:16:31 +00:00
Michael Koch
4581f1bc78 ButtonPeer.java, [...]: Removed redundant modifiers.
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
2003-10-11 18:11:03 +00:00
Michael Koch
1b2bfbc218 Really remove it.
From-SVN: r72346
2003-10-11 18:05:00 +00:00
Michael Koch
51914674f4 NIOSocket.java (setChannel): Initialize impl.
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
2003-10-11 18:01:35 +00:00
Jan Hubicka
5a2a057de8 * g++.dg/other/first-global.C: New test.
From-SVN: r72344
2003-10-11 17:40:19 +00:00
Jan Hubicka
8af11e80aa varasm.c (notice_global_symbol): Fix handling of variables; avoid re-computing of variable.
* varasm.c (notice_global_symbol):  Fix handling of variables; avoid
	re-computing of variable.

From-SVN: r72343
2003-10-11 17:38:29 +00:00
Michael Koch
a28e846b41 Oh man, forgot the ChangeLog entry for another time.
From-SVN: r72342
2003-10-11 17:23:15 +00:00
Michael Koch
00f4a3fb56 2003-10-11 Michael Koch <konqueror@gmx.de>
* 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
2003-10-11 17:19:46 +00:00
Michael Koch
b46f35f3a8 Forgot to write ChangeLog entry.
From-SVN: r72340
2003-10-11 17:11:27 +00:00
Michael Koch
31f28689a0 2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/awt/j2d/DirectRasterGraphics.java
	* gnu/java/awt/EmbeddedWindowSupport.java

From-SVN: r72339
2003-10-11 17:10:03 +00:00
Richard Henderson
f93c21801e 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
2003-10-11 09:54:17 -07:00
Ian Lance Taylor
e99faaaaaf * config/arm/arm.c (arm_regno_class): Handle IWMMXT_GR_REGS.
From-SVN: r72337
2003-10-11 15:27:48 +00:00
Kazu Hirata
c16eadc700 lb1sf68.asm: Follow spelling conventions.
* 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
2003-10-11 14:22:54 +00:00
Roger Sayle
ea82015ce9 builtins.c (expand_builtin_memcpy): Optimize case when the two pointer arguments are the equal...
* 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
2003-10-11 14:09:44 +00:00
Roger Sayle
2981fafefc 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
2003-10-11 13:53:39 +00:00
Andrew Pinski
379f1861d3 +2003-10-11 Andrew Pinski <pinskia@physics.uc.edu>
+
+       * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.

From-SVN: r72333
2003-10-11 00:22:22 -07:00
Kazu Hirata
d3c34e42c3 m68k-protos.h: Remove the prototype for finalize_pic.
* config/m68k/m68k-protos.h: Remove the prototype for
	finalize_pic.

From-SVN: r72332
2003-10-11 06:35:53 +00:00
Kazu Hirata
b2e08ed4a4 * config/m68k/m68k.c: Fix comment typos.
From-SVN: r72331
2003-10-11 06:27:35 +00:00
Bernardo Innocenti
3d74bc0902 m68k-protos.h (use_return_insn): Change return type from int to bool.
* 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
2003-10-11 07:02:29 +02:00
Peter Barada
48ed72a45c m68k.c (m68k_frame): Move before protos referencing it.
* 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
2003-10-11 06:53:13 +02:00
Bernardo Innocenti
ba591f5a88 t-uclinux: New target Makefile fragment.
* 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
2003-10-11 06:23:20 +02:00
Roger Sayle
feda184548 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
2003-10-11 03:53:05 +00:00
Roger Sayle
dd0ba2813d 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
2003-10-11 03:49:54 +00:00
Bernardo Innocenti
796d7a8605 crossconfig.m4 (*-uclinux*): New target.
* crossconfig.m4 (*-uclinux*): New target.
	* configure: Regenerate.

From-SVN: r72325
2003-10-11 05:45:07 +02:00
Bernardo Innocenti
a2ef3db72b lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__ support.
* 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
2003-10-11 05:06:45 +02:00
Bernardo Innocenti
4f5acf56e3 m68k.c (m68k_frame): Move before protos referencing it.
* 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
2003-10-11 05:01:56 +02:00
Bernardo Innocenti
26db814a60 config.guess: Update to 2003-10-07 version.
* config.guess: Update to 2003-10-07 version.
	* config.sub: Update to 2003-10-07 version.

From-SVN: r72322
2003-10-11 04:57:01 +02:00
Zack Weinberg
3ef996b01b gengenrtl.c (find_formats, genheader): Make i an unsigned int, remove cast of NUM_RTX_CODE.
* 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
2003-10-11 00:18:02 +00:00
GCC Administrator
129c1f79ed Daily bump.
From-SVN: r72319
2003-10-11 00:16:07 +00:00
Richard Kenner
738e7b39e0 ia64.c (ia64_vms_init_libfuncs): New function.
* 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
2003-10-10 18:44:41 -04:00
Eric Christopher
737749725f lcm.c (optimize_mode_switching): Change NORMAL_MODE to MODE_ENTRY and MODE_EXIT.
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
2003-10-10 21:28:56 +00:00
Zack Weinberg
8d61e55ee5 genmodes.c, [...]: New files.
* 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
2003-10-10 20:46:58 +00:00
Zack Weinberg
0974c7d70d genmodes.c, [...]: New files.
* 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
2003-10-10 20:33:07 +00:00
Ian Lance Taylor
51e73d5737 * gcc.c-torture/compile/20031010-1.c: New test.
From-SVN: r72312
2003-10-10 19:48:20 +00:00
Richard Kenner
7a06d606a6 stor-layout.c (compute_record_mode): Don't force BLKmode if field is zero-length BLKmode.
* 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
2003-10-10 15:21:12 -04:00
Richard Kenner
892c9f1f53 * combine.c (distribute_links): Properly test for REG being set.
From-SVN: r72310
2003-10-10 15:02:51 -04:00
Richard Kenner
0dd6259726 alpha.c (alpha_expand_block_mode): Don't use gen_lowpart and company except for REG.
* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
	gen_lowpart and company except for REG.

From-SVN: r72309
2003-10-10 14:25:26 -04:00
Geoffrey Keating
d0fd134736 va-arg-24.c: Correct, and rename to...
* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...
	* gcc.c-torture/execute/va-arg-25.c: ... here.

From-SVN: r72307
2003-10-10 18:12:00 +00:00