Michael Koch
b77d1698d9
DefaultTableModel.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableCellEditor.java,
javax/swing/table/TableCellRenderer.java,
javax/swing/table/TableColumnModel.java,
javax/swing/table/TableModel.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/Document.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/ViewFactory.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/MutableTreeNode.java,
javax/swing/tree/RowMapper.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeCellRenderer.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/undo/StateEditable.java,
javax/swing/undo/UndoableEdit.java:
Removed redundant modifiers.
From-SVN: r72396
2003-10-12 13:33:32 +00:00
Michael Koch
463bc6afde
AncestorListener.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorListener.java,
javax/swing/event/CaretListener.java,
javax/swing/event/CellEditorListener.java,
javax/swing/event/ChangeListener.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/DocumentListener.java,
javax/swing/event/HyperlinkListener.java,
javax/swing/event/InternalFrameListener.java,
javax/swing/event/ListDataListener.java,
javax/swing/event/ListSelectionListener.java,
javax/swing/event/MenuDragMouseListener.java,
javax/swing/event/MenuKeyListener.java,
javax/swing/event/MenuListener.java,
javax/swing/event/MouseInputListener.java,
javax/swing/event/PopupMenuListener.java,
javax/swing/event/TableColumnModelListener.java,
javax/swing/event/TableModelListener.java,
javax/swing/event/TreeExpansionListener.java,
javax/swing/event/TreeModelListener.java,
javax/swing/event/TreeSelectionListener.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditListener.java,
javax/swing/plaf/UIResource.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
Removed redundant modifiers.
From-SVN: r72395
2003-10-12 13:26:01 +00:00
Michael Koch
134fee658d
Action.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/Action.java,
javax/swing/BoundedRangeModel.java,
javax/swing/CellEditor.java,
javax/swing/ComboBoxEditor.java,
javax/swing/ComboBoxModel.java,
javax/swing/DesktopManager.java,
javax/swing/JComboBox.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListSelectionModel.java,
javax/swing/MenuElement.java,
javax/swing/MutableComboBoxModel.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/ScrollPaneConstants.java,
javax/swing/SingleSelectionModel.java,
javax/swing/SpinnerModel.java,
javax/swing/SwingConstants.java,
javax/swing/UIDefaults.java,
javax/swing/WindowConstants.java,
javax/swing/border/Border.java,
javax/swing/colorchooser/ColorSelectionModel.java:
Removed redundant modifiers.
From-SVN: r72394
2003-10-12 13:20:50 +00:00
Paolo Carlini
f5677b1560
codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
...
2003-10-12 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ios_base.h: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/streambuf_iterator.h
* include/std/std_iosfwd.h: Likewise.
* include/std/std_istream.h: Likewise.
* include/std/std_sstream.h: Likewise.
* include/std/std_streambuf.h: Likewise.
* src/ios.cc: Likewise.
* include/bits/c++config:
Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
dg-error directive due to removal of a blank line.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
From-SVN: r72392
2003-10-12 10:12:09 +00:00
Jan Hubicka
de006bbd18
cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable warning.
...
* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
warning.
From-SVN: r72391
2003-10-12 09:06:26 +00:00
Danny Smith
02e02343f4
* config/i386/i386.c (x86_this_parameter): Fix typo.
...
From-SVN: r72390
2003-10-12 08:21:00 +00:00
Andreas Tobler
c411fdaebf
PR libstdc++/11844/11740 (cont)
...
2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11844/11740 (cont)
* config/os/generic/ctype_inline.h (ctype<char>::is):
Generically, use a bitmasksize of 15 (instead of 10);
Fix the logic to actually return (M & m) != 0 as per
22.2.1.1.2.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r72389
2003-10-12 07:34:30 +00:00
Andreas Jaeger
33dac2abf5
Make-lang.in (treelang.install-info): Remove reference to treelang.info.
...
* Make-lang.in (treelang.install-info): Remove reference to
treelang.info.
(treelang.): Removed.
From-SVN: r72388
2003-10-12 06:59:14 +02:00
GCC Administrator
3b0bc17118
Daily bump.
...
From-SVN: r72386
2003-10-12 00:16:07 +00:00
Jan Hubicka
62551c66fd
Makefile.in (web.o): New.
...
* Makefile.in (web.o): New.
* web.c: New file.
* rtl.h (web_main): Declare.
* timervar.def (TV_WEB): New.
* toplev.c (dump_file_index, dump_file_info): Add DFI_web.
(rest_of_hanle_web): New.
(flag_web): New static variable.
(lang_independent_options): Add "web".
(rest_of_compilation): Call rest_of_handle_web.
* invoke.texi (-fweb): Document.
* common.opt (fweb): New.
* flags.h (flag_web): New.
* opts.c (decode_options): Set flag_web at -O3.
* passes.texi (web construction): Document.
* invoke.texi (-O3): Document that -fweb is enabled.
* regrename.c (regrename_optimize): Deal better with situation when
replacement failed.
* sched-ebb.c: Include params.h and profile.h
(schedule_ebbs): Use tracer parameters to discover superblocks
* Makefile.in (sched-ebb.o): Add dependencies.
From-SVN: r72383
2003-10-11 22:57:48 +00:00
Roger Sayle
05d362b88d
fold-const.c (negate_mathfn_p): New function to determine whether a built-in mathematical function is sign...
...
* fold-const.c (negate_mathfn_p): New function to determine whether
a built-in mathematical function is sign preserving, f(-x) == -f(x).
Add support for BUILT_IN_ASIN, BUILT_IN_ASINF and BUILT_IN_ASINL.
(tree_swap_operands_p): Change API to take an additional argument
indicating that the swapped operands evaluate in reverse order.
Canonicalize VAR_DECLs and PARM_DECLs last if we can, i.e. neither
operand side-effects or we don't care about flag_evaluation_order.
(reorder_operands_p): New function to check whether its safe to
evaluate the given operands in reverse order.
(negate_expr_p): We can always negate integer constants unless
we honor -ftrapv and the signed type would overflow. Only allow
-(A-B) into B-A if reorder_operands_p says that its OK. Allow
negation of COMPLEX_CST if both real and imaginary parts can be
negated. Allow negation through floating point extensions and
sign-preserving built-in functions.
(negate_expr): Move the code to negate integers from "fold" to
here. Always negate integer constants unless we honor -ftrapv
and the signed type would overflow. Always negate real constants
unless we honor -ftrapping-math. Only convert -(A-B) into B-A
if allowed by reorder_operands_p. Add support for COMPLEX_CST.
Optimize negation through floating point extensions and
sign-preserving built-in functions (as defined by negate_mathfn_p).
(fold): Adjust calls to tree_swap_operands_p.
(fold <NEGATE_EXPR>): Move the remaining negation optimizations
to negate_expr_p/negate_expr.
(fold <MINUS_EXPR>): Use reorder_operands_p to check whether we're
allowed to convert (-A) - B into (-B) - A.
From-SVN: r72381
2003-10-11 21:15:08 +00:00
Roger Sayle
c43fa1f51a
builtins.c (expand_builtin_strcmp): Defend against the possibility that gen_cmpstrsi may fail...
...
* builtins.c (expand_builtin_strcmp): Defend against the possibility
that gen_cmpstrsi may fail: Stabilize the argument list against
re-evaluation and expand the library call directly using this saved
argument list if a cmpstrsi sequence can't be generated.
(expand_builtin_strncmp): Likewise.
* config/i386/i386.md (cmpstrsi, movstrsi): Disable with -Os.
* gcc.c-torture/execute/string-opt-8.c: Don't test optimizations
that inline strncmp as cmpstrsi on i386 when compiled with -Os.
From-SVN: r72380
2003-10-11 21:11:29 +00:00
Roger Sayle
c877353c90
re PR rtl-optimization/12260 (ICE in output_operand: invalid expression as operand)
...
PR optimization/12260
* simplify-rtx.c (simplify_unary_operation): Simplify all unary
operations through CONST nodes. Optimize (neg (plus X C)) as
(minus -C X) for constant values C.
(simplify_binary_operation): Optimize (minus (neg X) C) as
(minus -C X) for constant values C.
(simplify_plus_minus): Avoid creating (neg (const (plus X C)),
instead create (minus -C X).
* gcc.c-torture/compile/20031011-2.c: New test case.
From-SVN: r72379
2003-10-11 21:06:19 +00:00
Roger Sayle
e3be111613
expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call safe_from_p for us, once it chooses an evaluation order.
...
* expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
safe_from_p for us, once it chooses an evaluation order.
(expand_expr <MULT_EXPR>): Likewise.
(expand_expr <MIN_EXPR> <MAX_EXPR>): Likewise. If expand_operands
places the second operand in "target", swap the operands.
(do_store_flag): Let expand_operands call safe_from_p for us.
* gcc.c-torture/execute/20031011-1.c: New testcase.
From-SVN: r72376
2003-10-11 21:00:51 +00:00
Eric Botcazou
69efc31da2
re PR rtl-optimization/12544 (ICE with large parameters used in nested functions)
...
PR optimization/12544
* function.c (put_var_into_stack): Don't generate ADDRESSOFs
for DECL_NONLOCAL decls.
From-SVN: r72374
2003-10-11 20:56:24 +00:00
Michael Koch
9d82a4b34c
Status.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/transaction/Status.java,
javax/transaction/Synchronization.java,
javax/transaction/Transaction.java,
javax/transaction/TransactionManager.java,
javax/transaction/UserTransaction.java,
javax/transaction/xa/XAResource.java,
javax/transaction/xa/Xid.java:
Removing redundant modifiers.
From-SVN: r72365
2003-10-11 19:18:24 +00:00
Michael Koch
89889f2494
Attribute.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/Attribute.java,
javax/print/attribute/AttributeSet.java,
javax/print/attribute/PrintRequestAttributeSet.java:
Removing redundant modifiers.
From-SVN: r72364
2003-10-11 19:15:08 +00:00
Michael Koch
e1feb64f5d
ConnectionEventListener.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java,
javax/sql/PooledConnection.java,
javax/sql/RowSet.java,
javax/sql/RowSetInternal.java,
javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java,
javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java,
javax/sql/XAConnection.java,
javax/sql/XADataSource.java:
Removing redundant modifiers.
From-SVN: r72363
2003-10-11 19:10:36 +00:00
Michael Koch
547f7f8b9d
Context.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/naming/Context.java,
javax/naming/Name.java,
javax/naming/NameParser.java,
javax/naming/NamingEnumeration.java,
javax/naming/Referenceable.java,
javax/naming/directory/Attribute.java,
javax/naming/directory/Attributes.java,
javax/naming/directory/DirContext.java,
javax/naming/event/EventContext.java,
javax/naming/event/EventDirContext.java,
javax/naming/event/NamespaceChangeListener.java,
javax/naming/event/NamingListener.java,
javax/naming/event/ObjectChangeListener.java,
javax/naming/ldap/Control.java,
javax/naming/ldap/ExtendedRequest.java,
javax/naming/ldap/ExtendedResponse.java,
javax/naming/ldap/HasControls.java,
javax/naming/ldap/LdapContext.java,
javax/naming/ldap/UnsolicitedNotification.java,
javax/naming/ldap/UnsolicitedNotificationListener.java,
javax/naming/spi/DirObjectFactory.java,
javax/naming/spi/DirStateFactory.java,
javax/naming/spi/InitialContextFactory.java,
javax/naming/spi/InitialContextFactoryBuilder.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ObjectFactoryBuilder.java,
javax/naming/spi/Resolver.java,
javax/naming/spi/StateFactory.java:
Removing redundant modifiers.
From-SVN: r72362
2003-10-11 19:06:23 +00:00
Kazu Hirata
7ef0daad61
expr.c: Follow spelling conventions.
...
* expr.c: Follow spelling conventions.
* final.c: Likewise.
* optabs.c: Likewise.
* sched-deps.c: Likewise.
* sdbout.c: Likewise.
From-SVN: r72361
2003-10-11 19:00:49 +00:00
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