mkoch [Mon, 13 Oct 2003 05:54:42 +0000 (05:54 +0000)]
2003-10-13 Michael Koch <konqueror@gmx.de>
* java/io/File.java: Reformated.
(equals): Check for obj == null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72421
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 13 Oct 2003 05:34:53 +0000 (05:34 +0000)]
2003-10-13 Michael Koch <konqueror@gmx.de>
* java/net/JarURLConnection.java
(jarFileURL): Added dcoumentation.
(jarFileURLConnection): Reformated documentation.
(entryName): Renamed from "element", documentation rewritten.
(connectionCache): Renamed from "conn_cache", documentation
reformated.
(JarURLConnection): Check URL protocol.
(getEntryName): Use entryName.
(connect): Use connectionCache.
(getInputStream): Use entryName, fixed comment.
(getJarEntry): Use entryName.
(getHeaders): Use entryName.
* java/net/URLConnection.java
(addRequestProperty): Fixed documentation.
(setDefaultRequestProptery): Added comment that it does nothing since
JDK 1.3.
(getDefaultRequestProperty): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72420
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 13 Oct 2003 05:03:39 +0000 (05:03 +0000)]
2003-10-13 Michael Koch <konqueror@gmx.de>
* java/net/java/net/URLStreamHandlerFactory.java
(createURLStreamHandler): Removed redundant "public" modifier.
* java/sql/DatabaseMetaData.java:
(DatabaseMetaData): Readded accidently removed "public" modifier.
* java/sql/ParameterMetaData.java:
(ParameterMetaData): Readded accidently removed "public" modifier.
* java/sql/PreparedStatement.java:
(PreparedStatement): Readded accidently removed "public" modifier.
* java/sql/Ref.java:
(Ref): Readded accidently removed "public" modifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72419
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 13 Oct 2003 04:45:03 +0000 (04:45 +0000)]
2003-10-13 Michael Koch <konqueror@gmx.de>
* java/nio/Buffer.java
(hasRemaining): Made implementation more clear.
* java/nio/MappedByteBuffer.java
(loaded): New member variable.
(force): Added comment.
(isLoaded): Return value of loaded.
(load): Set loaded to true, added comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72418
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Mon, 13 Oct 2003 02:48:59 +0000 (02:48 +0000)]
* config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
config files which do the same thing.
* config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
config/freebsd6.h: Remove now unnecessary files.
OK, I don't know what happened, but get this to commit properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72417
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 13 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72413
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 12 Oct 2003 22:16:04 +0000 (22:16 +0000)]
* gcc.dg/
20031012-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72410
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 12 Oct 2003 22:09:29 +0000 (22:09 +0000)]
gcc/
* c-common.c (c_common_truthvalue_conversion): Warn if the
address of a non-weak function is used as a truth value.
cp/
* cvt.c (ocp_convert): Move warning to C common code.
testsuite/
* gcc.dg/weak/weak-3.c: Fix for new warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72409
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 12 Oct 2003 20:49:45 +0000 (20:49 +0000)]
* config/h8300/h8300.c (WORD_REG_USED): Use SP_REG instead of
a literal.
* config/h8300/h8300.h (REGNO_OK_FOR_BASE_P): Use MAC_REG
instead of a literal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72407
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 12 Oct 2003 20:09:19 +0000 (20:09 +0000)]
* config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
config files which do the same thing.
* config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
config/freebsd6.h: Remove now unnecessary files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72406
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 12 Oct 2003 20:03:18 +0000 (20:03 +0000)]
2003-10-12 Petur Runolfsson <peturr02@ru.is>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11460
* src/strstream.cc (pbackfail): Fix to use to_int_type.
* testsuite/backward/11460.cc: New, from the PR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72405
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Sun, 12 Oct 2003 17:10:12 +0000 (17:10 +0000)]
PR optimization/8750
* gcc.c-torture/execute/
20031012-1.c: New Test Case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72402
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 12 Oct 2003 16:08:10 +0000 (16:08 +0000)]
* doc/extend.texi (Function Attributes): Mention the exceptional
path for noreturn-marked functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72401
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 12 Oct 2003 13:39:07 +0000 (13:39 +0000)]
2003-10-12 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/PipeImpl.java
(SourceChannelImpl): New inner class.
(SinkChannelImpl): New inner class.
(sink): New member variable.
(source): New member variable.
(PipeImpl): Add SelectorProvider argument, implemented.
(nativeInit): New method.
(sink): Return sink channel.
(source): Return source channel.
* gnu/java/nio/SelectorProviderImpl.java
(openPipe): Give provider as argument to PipeImpl constructor.
* java/nio/channels/spi/SelectorProvider.java
(pr): Removed.
(systemDefaultProvider): New member variable.
(provider): Made it synchronized, use property
java.nio.channels.spi.SelectorProvider.
* gnu/java/nio/natPipeImpl.cc: New file.
* Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72397
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 12 Oct 2003 13:33:32 +0000 (13:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72396
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 12 Oct 2003 13:26:01 +0000 (13:26 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72395
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 12 Oct 2003 13:20:50 +0000 (13:20 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72394
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 12 Oct 2003 10:12:09 +0000 (10:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72392
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 12 Oct 2003 09:06:26 +0000 (09:06 +0000)]
* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72391
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Sun, 12 Oct 2003 08:21:00 +0000 (08:21 +0000)]
* config/i386/i386.c (x86_this_parameter): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72390
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 12 Oct 2003 07:34:30 +0000 (07:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72389
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 12 Oct 2003 04:59:14 +0000 (04:59 +0000)]
* Make-lang.in (treelang.install-info): Remove reference to
treelang.info.
(treelang.): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72388
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 12 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72386
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 11 Oct 2003 22:57:48 +0000 (22:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72383
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 21:15:08 +0000 (21:15 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72381
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 21:11:29 +0000 (21:11 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72380
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 21:06:19 +0000 (21:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72379
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72376
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 11 Oct 2003 20:56:24 +0000 (20:56 +0000)]
PR optimization/12544
* function.c (put_var_into_stack): Don't generate ADDRESSOFs
for DECL_NONLOCAL decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72374
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 19:18:24 +0000 (19:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72365
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 19:15:08 +0000 (19:15 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72364
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 19:10:36 +0000 (19:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72363
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 19:06:23 +0000 (19:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72362
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 11 Oct 2003 19:00:49 +0000 (19:00 +0000)]
* expr.c: Follow spelling conventions.
* final.c: Likewise.
* optabs.c: Likewise.
* sched-deps.c: Likewise.
* sdbout.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72361
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 19:00:07 +0000 (19:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72360
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:56:54 +0000 (18:56 +0000)]
2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/server/ProtocolConstants.java,
gnu/java/security/der/DER.java:
Removing redundant modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72359
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:52:31 +0000 (18:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72358
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:51:14 +0000 (18:51 +0000)]
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/text/AttributedCharacterIterator.java,
java/text/CharacterIterator.java:
Removed redundant modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72357
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:49:51 +0000 (18:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72356
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:45:10 +0000 (18:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72355
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:42:07 +0000 (18:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72354
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:39:35 +0000 (18:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72353
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:38:12 +0000 (18:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72352
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:30:22 +0000 (18:30 +0000)]
2003-10-11 Ingo Proetel <proetel@aicas.com>
* java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
codebase and context classloader.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72351
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:19:44 +0000 (18:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72350
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:18:22 +0000 (18:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72349
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:16:31 +0000 (18:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72348
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:11:03 +0000 (18:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72347
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:05:00 +0000 (18:05 +0000)]
Really remove it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72346
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 18:01:35 +0000 (18:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72345
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 11 Oct 2003 17:40:19 +0000 (17:40 +0000)]
* g++.dg/other/first-global.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72344
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 11 Oct 2003 17:38:29 +0000 (17:38 +0000)]
* varasm.c (notice_global_symbol): Fix handling of variables; avoid
re-computing of variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72343
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 17:23:15 +0000 (17:23 +0000)]
Oh man, forgot the ChangeLog entry for another time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72342
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 17:19:46 +0000 (17:19 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72341
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 17:11:27 +0000 (17:11 +0000)]
Forgot to write ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72340
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 11 Oct 2003 17:10:03 +0000 (17:10 +0000)]
2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/awt/j2d/DirectRasterGraphics.java
* gnu/java/awt/EmbeddedWindowSupport.java
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72339
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Oct 2003 16:54:17 +0000 (16:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72338
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 11 Oct 2003 15:27:48 +0000 (15:27 +0000)]
* config/arm/arm.c (arm_regno_class): Handle IWMMXT_GR_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72337
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 11 Oct 2003 14:22:54 +0000 (14:22 +0000)]
* config/m68k/lb1sf68.asm: Follow spelling conventions.
* config/m68k/m68k.c: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m68k/m68k.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72336
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 14:09:44 +0000 (14:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72335
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 13:53:39 +0000 (13:53 +0000)]
* combine.c (apply_distributive_law): Enable "distributive" floating
point optimizations with -funsafe-math-optimizations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72334
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 11 Oct 2003 07:22:22 +0000 (07:22 +0000)]
+2003-10-11 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72333
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 11 Oct 2003 06:35:53 +0000 (06:35 +0000)]
* config/m68k/m68k-protos.h: Remove the prototype for
finalize_pic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72332
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 11 Oct 2003 06:27:35 +0000 (06:27 +0000)]
* config/m68k/m68k.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72331
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 05:02:29 +0000 (05:02 +0000)]
* 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__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72330
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 04:53:13 +0000 (04:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72329
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 04:23:20 +0000 (04:23 +0000)]
* config/m68k/t-uclinux: New target Makefile fragment.
* config/m68k/uclinux.h: New target macro file.
* config.gcc (m68k-*-uclinux): New target definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72328
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 03:53:05 +0000 (03:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72327
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 03:49:54 +0000 (03:49 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72326
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:45:07 +0000 (03:45 +0000)]
* crossconfig.m4 (*-uclinux*): New target.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72325
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:06:45 +0000 (03:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72324
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:01:56 +0000 (03:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72323
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 02:57:01 +0000 (02:57 +0000)]
* config.guess: Update to 2003-10-07 version.
* config.sub: Update to 2003-10-07 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72322
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 11 Oct 2003 00:18:02 +0000 (00:18 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72321
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 11 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72319
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 22:44:41 +0000 (22:44 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72316
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 10 Oct 2003 21:28:56 +0000 (21:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72315
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 10 Oct 2003 20:46:58 +0000 (20:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72314
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 10 Oct 2003 20:33:07 +0000 (20:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72313
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 10 Oct 2003 19:48:20 +0000 (19:48 +0000)]
* gcc.c-torture/compile/
20031010-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72312
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 19:21:12 +0000 (19:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72311
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 19:02:51 +0000 (19:02 +0000)]
* combine.c (distribute_links): Properly test for REG being set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72310
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 18:25:26 +0000 (18:25 +0000)]
* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
gen_lowpart and company except for REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72309
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 10 Oct 2003 18:12:00 +0000 (18:12 +0000)]
* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...
* gcc.c-torture/execute/va-arg-25.c: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72307
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 10 Oct 2003 17:46:47 +0000 (17:46 +0000)]
Fix uses of old-style date format in ChangeLog (Jan Hubicka, twice).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72306
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 10 Oct 2003 17:39:21 +0000 (17:39 +0000)]
* pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72305
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 10 Oct 2003 17:37:26 +0000 (17:37 +0000)]
* config.gcc (mips*-*-netbsd*): Remove content-free line.
Also fixed old-style ChangeLog date to be new-style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72304
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 10 Oct 2003 17:10:47 +0000 (17:10 +0000)]
2003-10-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
Avoid unnecessarily calling __builtin_alloca and dealing
explicitly with width() smaller than zero.
(operator<<(basic_ostream&, char), operator<<(basic_ostream&,
const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
const char*), operator<<(basic_ostream<char, _Traits>&,
const char*), operator<<(basic_ostream, const basic_string&)):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72302
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 10 Oct 2003 17:04:46 +0000 (17:04 +0000)]
Fri Oct 10 18:54:39 CEST 2003 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
* gcov-io.h: Check BITS_PER_UNIT when defining gcov_unsigned_t,
gcov_position_t and gcov_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72301
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 10 Oct 2003 06:03:08 +0000 (06:03 +0000)]
* configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72294
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 10 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72291
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 9 Oct 2003 23:50:46 +0000 (23:50 +0000)]
* config/h8300/h8300.md (define_asm_attributes): Specify
the length of an asm insn more precisely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72289
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 9 Oct 2003 22:58:20 +0000 (22:58 +0000)]
* config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72288
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 9 Oct 2003 21:17:11 +0000 (21:17 +0000)]
2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Make more *_type_info bits visible.
Move new/delete bits back into GLIBCXX space.
* include/bits/locale_classes.h: Move _M_id out of line, so that
locale::id::_S_highwater can be removed from the export list.
* src/locale.cc (locale::id::_M_id): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72287
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Thu, 9 Oct 2003 20:21:11 +0000 (20:21 +0000)]
* config/xtensa/xtensa.c (xtensa_dbx_register_number): Change first
FP register number to 48 and MAC16 accumulator to 0x210.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72283
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Thu, 9 Oct 2003 19:22:38 +0000 (19:22 +0000)]
2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
SPARC64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72282
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 9 Oct 2003 19:10:56 +0000 (19:10 +0000)]
2003-10-09 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11844
* config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
to conform to the requirements of 22.2.1.
* config/os/bsd/freebsd/ctype_base.h: Likewise.
* config/os/djgpp/ctype_base.h: Likewise.
* config/os/generic/ctype_base.h: Likewise.
* config/os/gnu-linux/ctype_base.h: Likewise.
* config/os/hpux/ctype_base.h: Likewise.
* config/os/irix/irix6.5/ctype_base.h: Likewise.
* config/os/solaris/solaris2.6/ctype_base.h: Likewise.
* config/os/solaris/solaris2.7/ctype_base.h: Likewise.
* testsuite/22_locale/ctype/11844.cc: New.
* config/locale/generic/ctype_members.cc (do_is):
Generically, use a bitmasksize of 15 (instead of 10), since
we don't know the numerical encoding of the various categories
in the underlying /usr/include/ctype.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72281
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 9 Oct 2003 18:08:50 +0000 (18:08 +0000)]
* g++.dg/ext/attrib8.C: Only run it on x86 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72280
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 18:01:08 +0000 (18:01 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SelectorImpl.java (register):
Use ServerSocketChannelSelectionKey for server socket channels,
removed unneeded comments.
* gnu/java/nio/ServerSocketChannelImpl.java
(ServerSocketChannelImpl): Made class public final.
(impl): New member variable.
(ServerSocketChannelImpl): Initialize member variables correctly.
(initServerSocket): New method.
(getNativeFD): Likewise.
* gnu/java/nio/ServerSocketChannelSelectionKey.java,
gnu/java/nio/natServerSocketChannelImpl.cc: New files.
* Makefile.am (ordinary_java_source_files):
Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
(nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
* Makefile.in: Regenrated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72277
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 17:34:10 +0000 (17:34 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* java/nio/channels/spi/AbstractSelectableChannel.java
(registered): Made private.
(blocking): Likewise.
(LOCK): Likewise.
(provider): Likewise.
(keys): Made it a private LinkedList.
(AbstractSelectableChannel): Initialize keys.
(isRegistered): New implementation.
(locate): Rewritten.
(register): Rewritten.
* java/nio/channels/spi/AbstractSelectionKey.java
(ok): Removed.
(cancelled): New member variable.
(cancel): Rewritten.
(isValid): Rewritten.
* java/nio/channels/spi/AbstractSelector.java:
Some methods moved.
(closed): Make private.
(provider): Likewise.
(cancelledKeys): New member variable.
(AbstractSelector): Initialize cancelledKeys.
(cancelKey): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72275
138bc75d-0d04-0410-961f-
82ee72b054a4