Kazu Hirata [Mon, 31 Mar 2003 10:18:29 +0000 (10:18 +0000)]
* config/h8300/h8300.md (a new peephole2): New.
From-SVN: r65082
Michael Koch [Mon, 31 Mar 2003 10:15:48 +0000 (10:15 +0000)]
2003-03-31 Michael Koch <konqueror@gmx.de>
* java/io/File.java
(separator): Merged documentation from classpath.
(separatorChar): Merged documentation from classpath.
(pathSeparator): Merged documentation from classpath.
(pathSeparatorChar): Merged documentation from classpath.
(path): Merged documentation from classpath.
(canRead): Merged documentation from classpath.
(canWrite): Merged documentation from classpath.
(createNewFile): Merged documentation from classpath.
(delete): Merged documentation from classpath.
(equals): Merged documentation from classpath.
(exists): Merged documentation from classpath.
(File): Renamed p to name to match classpath, merged documentation
from classpath.
(getAbsolutePath): Merged documentation from classpath.
(getCanonicalPath): Merged documentation from classpath.
(getCanonicalFile): Merged documentation from classpath.
(getName): Merged documentation from classpath.
(getParent): Merged documentation from classpath.
(getParentFile): Merged documentation from classpath.
(getPath): Merged documentation from classpath.
(hashCode): Merged documentation from classpath.
(isAbsolute): Merged documentation from classpath.
(isDirectory): Merged documentation from classpath.
(isFile): Merged documentation from classpath.
(isHidden): Merged documentation from classpath.
(lastModified): Merged documentation from classpath.
(length): Merged documentation from classpath.
(list): Merged documentation from classpath.
(listFiles): Merged documentation from classpath.
(toString): Merged documentation from classpath.
(toURL): Merged documentation from classpath.
(mkdir): Merged documentation from classpath.
(mkdirs): Merged documentation from classpath.
(createTempFile): Merged documentation from classpath.
(setReadOnly): Merged documentation from classpath.
(listRoots): Merged documentation from classpath.
(compareTo): Merged documentation from classpath.
(renameTo): Merged documentation from classpath.
(setLastModified): Merged documentation from classpath.
* java/io/PrintStream.java
(auto_flush): Merged documentation from classpath.
(PrintStream): Merged documentation from classpath.
(checkError): Merged documentation from classpath.
(setError): Merged documentation from classpath.
(close): Merged documentation from classpath.
(flush): Merged documentation from classpath.
(print): Merged documentation from classpath.
(println): Merged documentation from classpath.
(write): Renamed count to len to match classpath,
merged documentation from classpath.
* java/io/RandomAccessFile.java
(readShort): Merged documentation from classpath.
(readUnsignedByte): Merged documentation from classpath.
(readUnsignedShort): Merged documentation from classpath.
(readUTF): Merged documentation from classpath.
(seek): Reformatted, merged documentation from classpath.
(skipBytes): Renamed some variables to match classpath, reformatted,
merged documentation from classpath.
(write): Merged documentation from classpath.
(writeBoolean): Merged documentation from classpath.
(writeByte): Merged documentation from classpath.
(writeShort): Merged documentation from classpath.
(writeChar): Merged documentation from classpath.
(writeInt): Merged documentation from classpath.
(writeLong): Merged documentation from classpath.
(writeFloat): Merged documentation from classpath.
(writeDouble): Merged documentation from classpath.
(writeBytes): Merged documentation from classpath.
(writeChars): Merged documentation from classpath.
(writeUTF): Reformatted.
(getChannel): Reformatted.
From-SVN: r65081
Michael Koch [Mon, 31 Mar 2003 09:55:09 +0000 (09:55 +0000)]
2003-03-31 Michael Koch <konqueror@gmx.de>
* java/awt/font/TextAttribute.java
(readResolve): Throws java.io.InvalidObjectException.
From-SVN: r65080
Michael Koch [Mon, 31 Mar 2003 06:49:33 +0000 (06:49 +0000)]
2003-03-31 Michael Koch <konqueror@gmx.de>
* java/rmi/server/LoaderHandler.java
(loadClass): Deprecated.
(getSecurityContext): Deprecated.
* java/rmi/server/LogStream.java
(getDefaultStream): Deprecated.
(setDefaultStream): Deprecated.
(getOutputStream): Deprecated.
(setOutputStream): Deprecated.
(write): Deprecated.
(toString): Deprecated.
(parseLevel): Deprecated.
* java/rmi/server/Operation.java
(Operation): Deprecated.
(getOperation): Deprecated.
(toString): Deprecated.
* java/rmi/server/RemoteCall.java
(getOutputStream): Deprecated.
(releaseOutputStream): Deprecated.
(getInputStream): Deprecated.
(releaseInputStream): Deprecated.
(getResultStream): Deprecated.
(executeCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteRef.java
(invoke): Deprecated.
(newCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteStub.java
(setRef): Deprecated.
* java/rmi/server/Skeleton.java:
No need to import java.lang.Exception explicitly.
(dispatch): Deprecated.
(getOperations): Deprecated.
From-SVN: r65079
Michael Koch [Mon, 31 Mar 2003 06:32:37 +0000 (06:32 +0000)]
VMID.java, [...]: Reformatted.
2003-03-31 Michael Koch <konqueror@gmx.de>
* java/rmi/dgc/VMID.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/Operation.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteStub.java:
Reformatted.
From-SVN: r65078
Michael Koch [Mon, 31 Mar 2003 06:30:01 +0000 (06:30 +0000)]
AbstractCellEditor.java, [...]: Merges from classpath.
2003-03-31 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/ActionMap.java,
javax/swing/BorderFactory.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultBoundedRangeModel.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultCellEditor.java,
javax/swing/DefaultComboBoxModel.java,
javax/swing/DefaultDesktopManager.java,
javax/swing/DefaultListCellRenderer.java,
javax/swing/DefaultSingleSelectionModel.java,
javax/swing/InputMap.java,
javax/swing/JComponent.java,
javax/swing/JMenu.java,
javax/swing/JSlider.java,
javax/swing/KeyStroke.java,
javax/swing/OverlayLayout.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/UIManager.java,
javax/swing/ViewportLayout.java,
javax/swing/border/AbstractBorder.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/EventListenerList.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/TreePath.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/StateEditable.java,
javax/swing/undo/UndoableEditSupport.java:
Merges from classpath.
From-SVN: r65077
Richard Sandiford [Mon, 31 Mar 2003 06:28:56 +0000 (06:28 +0000)]
gcse.c (simple_mem): Return false for floating-point accesses if flag_float_store is true.
* gcse.c (simple_mem): Return false for floating-point accesses
if flag_float_store is true.
From-SVN: r65076
Roger Sayle [Mon, 31 Mar 2003 05:25:52 +0000 (05:25 +0000)]
gcse.c (gcse_constant_p): New function to identify constants suitable for constant propagation...
* gcse.c (gcse_constant_p): New function to identify constants
suitable for constant propagation, including COMPARE with two
integer constant arguments.
(hash_scan_set): Use gcse_constant_p.
(find_avail_set): Likewise.
(cprop_insn): Likewise.
(do_local_cprop): Likewise.
(find_implicit_sets): Likewise.
(find_bypass_set): Likewise.
From-SVN: r65075
Matt Kraai [Mon, 31 Mar 2003 05:14:54 +0000 (05:14 +0000)]
* except.h: Remove definition of varray_type.
From-SVN: r65074
Tom Tromey [Mon, 31 Mar 2003 01:03:21 +0000 (01:03 +0000)]
String.java (data, [...]): Documented.
* java/lang/String.java (data, boffset, count): Documented.
(String(byte[],String)): Reformatted.
(String(byte[])): Likewise.
(lastIndexOf(int)): Likewise.
(lastIndexOf(String)): Likewise.
(substring(int)): Renamed argument to match Classpath.
(String(StringBuffer)): Don't share buffer if it is nearly empty.
From-SVN: r65070
GCC Administrator [Mon, 31 Mar 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r65069
Richard Henderson [Sun, 30 Mar 2003 23:25:49 +0000 (15:25 -0800)]
New test.
From-SVN: r65062
Richard Henderson [Sun, 30 Mar 2003 23:21:15 +0000 (15:21 -0800)]
toplev.c (rest_of_compilation): Run purge_builtin_constant_p before post-gcse cse pass.
* toplev.c (rest_of_compilation): Run purge_builtin_constant_p
before post-gcse cse pass.
From-SVN: r65061
Roger Sayle [Sun, 30 Mar 2003 23:07:27 +0000 (23:07 +0000)]
* dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
From-SVN: r65060
Mark Mitchell [Sun, 30 Mar 2003 22:30:54 +0000 (22:30 +0000)]
re PR c++/7647 (ICE when data member has the name of the enclosing class)
PR c++/7647
* decl.c (grokdeclarator): Tidy, slightly.
* search.c (lookup_field_1): Add want_type parameter.
(lookup_field_r): Adjust call to lookup_field_1.
PR c++/7647
* g++.dg/lookup-class-member-2.C: New test.
From-SVN: r65057
DJ Delorie [Sun, 30 Mar 2003 22:01:00 +0000 (17:01 -0500)]
profile.c (instrument_edges): Make sure any newly created jump insns have correct jump label info.
* profile.c (instrument_edges): Make sure any newly created
jump insns have correct jump label info.
From-SVN: r65056
Tom Tromey [Sun, 30 Mar 2003 21:14:32 +0000 (21:14 +0000)]
String.java: Miscellaneous minor formatting changes to match Classpath more closely.
* java/lang/String.java: Miscellaneous minor formatting changes
to match Classpath more closely.
From-SVN: r65055
Richard Henderson [Sun, 30 Mar 2003 20:46:57 +0000 (12:46 -0800)]
cfgbuild.c (make_edges): Use tablejump_p.
* cfgbuild.c (make_edges): Use tablejump_p.
* cfgcleanup.c (label_is_jump_target_p): Likewise.
* cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
* cfgrtl.c (flow_delete_block_noexpunge): Likewise.
(try_redirect_by_replacing_jump): Likewise.
(redirect_edge_and_branch): Likewise.
* cse.c (fold_rtx): Likewise.
* jump.c (delete_related_insns): Likewise.
* rtlanal.c (get_jump_table_offset): Likewise.
* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
From-SVN: r65054
Glen Nakamura [Sun, 30 Mar 2003 20:41:49 +0000 (20:41 +0000)]
* gcc.dg/
20030324-1.c: Add comments and abort if test fails.
From-SVN: r65053
Gabriel Dos Reis [Sun, 30 Mar 2003 20:31:51 +0000 (20:31 +0000)]
Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
* Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
(STRICT2_WARN): Likewise.
From-SVN: r65052
Gabriel Dos Reis [Sun, 30 Mar 2003 20:16:06 +0000 (20:16 +0000)]
* Make-lang.in (cp/name-lookup.o): Add more dependencies.
From-SVN: r65051
Kaveh R. Ghazi [Sun, 30 Mar 2003 19:01:58 +0000 (19:01 +0000)]
re PR other/6955 (collect2 says "core dumped" when there is no core)
PR other/6955
* collect2.c (collect_wait): Use WCOREDUMP and fix output message.
* system.h (WCOREDUMP, WCOREFLG): Define if necessary.
From-SVN: r65048
Richard Henderson [Sun, 30 Mar 2003 19:00:12 +0000 (11:00 -0800)]
re PR c/10083 (alpha: ICE while building swi-prolog-packages)
PR c/10083
* config/alpha/alpha.md (umuldi3_highpart): Change to expander;
don't zero_extend const inputs.
* gcc.c-torture/compile/
20030330-1.c: New.
From-SVN: r65047
Joseph Myers [Sun, 30 Mar 2003 16:56:33 +0000 (17:56 +0100)]
fastjar.texi: Remove @ at start of file.
fastjar:
* fastjar.texi: Remove @ at start of file.
gcc/java:
* gcj.texi: Remove @ at start of file.
From-SVN: r65045
Gabriel Dos Reis [Sun, 30 Mar 2003 16:00:39 +0000 (16:00 +0000)]
cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype.
* cp-tree.h (binding_for_name: Move to name-lookup.h Adjust
prototype.
(cxx_scope_find_binding_for_name): Likewise.
* decl.c (find_binding: Move to name-lookup.c.
(binding_for_name): Likewise.
(cxx_scope_find_binding_for_name): Likewise.
(BINDING_LEVEL): Remove.
(push_binding): Tidy.
(push_class_binding): Likewise.
(pop_binding): Likewise.
(poplevel): Likewise.
(poplevel_class): Likewise.
(set_identifier_type_value_with_scope): Likewise.
(push_overloaded_decl): Likewise.
(lookup_tag): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_name_current_level): Likewise.
(maybe_inject_for_scope_var): Likewise.
(namespace_binding): Move to name-lookup.c.
(set_namespace_binding): Likewise.
* decl2.c (lookup_using_namespace): Tidy.
(qualified_lookup_using_namespace): Likewise.
(do_toplevel_using_decl): Likewise.
* name-lookup.c: Include "timevar.h"
* name-lookup.h (cxx_scope): Declare.
(struct cxx_binding): Lose member "has_level". Adjust "scope"
member declaration.
(BINDING_SCOPE): Adjust definition.
(BINDING_HAS_LEVEL_P): Remove.
From-SVN: r65044
Kazu Hirata [Sun, 30 Mar 2003 13:30:56 +0000 (13:30 +0000)]
* reload1.c (reload_cse_move2add): Fix a comment typo.
From-SVN: r65041
Gabriel Dos Reis [Sun, 30 Mar 2003 13:18:18 +0000 (13:18 +0000)]
name-lookup.c: New file.
* name-lookup.c: New file.
* name-lookup.h: Likewise..
* decl.c (push_binding): Adjust use cxx_binding_make.
(free_bindings): Move to name-lookup.c
(pop_binding): Use cxx_binding_free.
(binding_for_name): Tidy.
* cp-tree.h: Include "name-lookup.h"
(cxx_binding_make): Move to name-lookup.h
(cxx_binding_clear): Likewise.
(struct cxx_binding): Likewise.
(LOCAL_BINDING_P): Likewise.
(INHERITED_VALUE_BINDING_P): Likewise.
(BINDING_SCOPE): Likewise.
(BINDING_HAS_LEVEL_P): Likewise.
(BINDING_VALUE): Likewise.
(BINDING_TYPE): Likewise.
* config-lang.in (gtfiles): Add cp/name-lookup.h
* Make-lang.in (cp/name-lookup.o): New rule.
(CXX_OBJS): Add cp/name-lookup.o
(CXX_TREE_H): Add cp/name-lookup.h
From-SVN: r65040
Kazu Hirata [Sun, 30 Mar 2003 13:00:32 +0000 (13:00 +0000)]
* config/h8300/h8300.md (a peephole2): Remove useless code.
From-SVN: r65039
Paolo Carlini [Sun, 30 Mar 2003 08:32:11 +0000 (10:32 +0200)]
fstream.tcc (basic_filebuf::showmanyc, [...]): Fix test for synced buffer.
2003-03-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (basic_filebuf::showmanyc,
_M_convert_to_external, _M_really_overflow, seekoff): Fix
test for synced buffer.
* include/std/std_fstream.h (sync): Likewise.
* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
From-SVN: r65038
Eric Blake [Sun, 30 Mar 2003 06:43:45 +0000 (06:43 +0000)]
natString.cc (hashCode): Use cachedHashCode.
2003-03-29 Eric Blake <ebb9@email.byu.edu>
Tom Tromey <tromey@redhat.com>
* java/lang/natString.cc (hashCode): Use cachedHashCode.
(init()): Removed.
(charAt): Put index in exception.
(contentEquals): New method.
Include StringBuffer.h.
* java/lang/String.java (cachedHashCode): New field.
(String()): Follow classpath implementation.
(init()): Removed.
(contentEquals): Declare.
(subSequence): Don't declare IndexOutIfBoundsException in throws
clause.
(matches, replaceFirst, replaceAll, split): New methods from
Classpath.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r65037
Tom Tromey [Sun, 30 Mar 2003 05:38:28 +0000 (05:38 +0000)]
String.java: Reordered to follow Classpath; merged in javadoc.
* java/lang/String.java: Reordered to follow Classpath; merged in
javadoc.
From-SVN: r65036
GCC Administrator [Sun, 30 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r65032
Tom Tromey [Sat, 29 Mar 2003 21:23:25 +0000 (21:23 +0000)]
MessageFormat.java: Removed some whitespace.
* java/text/MessageFormat.java: Removed some whitespace.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* gnu/javax/rmi/PortableServer.java,
gnu/javax/rmi/CORBA/DelegateFactory.java,
gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
gnu/javax/rmi/CORBA/StubDelegateImpl.java,
gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
javax/rmi/PortableRemoteObject.java,
javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
From-SVN: r65024
Albert Chin-A-Young [Sat, 29 Mar 2003 21:07:21 +0000 (21:07 +0000)]
Accommodate Solaris 2.5.1 in solaris_mutex_init_1 fix
From-SVN: r65022
Tom Tromey [Sat, 29 Mar 2003 20:17:02 +0000 (20:17 +0000)]
natClass.cc (newInstance): Put method name in exception.
* java/lang/natClass.cc (newInstance): Put method name in
exception.
(getConstructor): Likewise.
(getDeclaredConstructor): Likewise.
(getPrivateMethod): Likewise.
From-SVN: r65021
Kazu Hirata [Sat, 29 Mar 2003 18:20:23 +0000 (18:20 +0000)]
h8300.md (*iorsi3_and_ashift): New.
* config/h8300/h8300.md (*iorsi3_and_ashift): New.
(*iorsi3_and_lshiftrt): Likewise.
(*iorsi3_zero_extract): Likewise.
From-SVN: r65019
Kazu Hirata [Sat, 29 Mar 2003 14:39:54 +0000 (14:39 +0000)]
h8300.md (*insv_si_8_8): New.
* config/h8300/h8300.md (*insv_si_8_8): New.
(*insv_si_8_8_lshiftrt_8): Likewise.
(a peephole2): Likewise.
From-SVN: r65018
Gerald Pfeifer [Sat, 29 Mar 2003 12:41:59 +0000 (13:41 +0100)]
contrib.texi: Add Eric Botcazou and Roger Sayle.
* doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
Uniformly use bugfix instead of bug fix.
From-SVN: r65016
Gerald Pfeifer [Sat, 29 Mar 2003 11:35:07 +0000 (12:35 +0100)]
re PR other/895 (top of ONEWS needs to be merged into EGCS release notes)
PR doc/895
* ONEWS: Remove those items that already appear in the EGCS
release notes on our web pages.
From-SVN: r65013
Alan Modra [Sat, 29 Mar 2003 04:03:07 +0000 (04:03 +0000)]
rs6000.h (FUNCTION_VALUE_REGNO_P): Respect TARGET_HARD_FLOAT.
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
TARGET_HARD_FLOAT. Reformat.
(FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
From-SVN: r65010
Kazu Hirata [Sat, 29 Mar 2003 03:14:09 +0000 (03:14 +0000)]
h8300.md (*addsi3_and_r_1): Put under plus:SI section of h8300.md
* config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI
section of h8300.md
(*addsi3_and_nor_r_1): Likewise.
From-SVN: r65008
Tom Tromey [Sat, 29 Mar 2003 01:34:23 +0000 (01:34 +0000)]
Proxy.java: New version from Classpath.
* java/lang/reflect/Proxy.java: New version from Classpath.
* java/lang/Package.java: New version from Classpath.
From-SVN: r65007
Jason Merrill [Sat, 29 Mar 2003 00:50:46 +0000 (19:50 -0500)]
re PR c++/10245 (?: operator requires public copy constructor of return type)
PR c++/10245
* cvt.c (force_rvalue): New fn.
* call.c (build_conditional_expr): Use it.
* cp-tree.h: Declare it.
[[Split portion of a mixed commit.]]
From-SVN: r65006.2
Jason Merrill [Sat, 29 Mar 2003 00:49:34 +0000 (19:49 -0500)]
re PR c++/10245 (?: operator requires public copy constructor of return type)
PR c++/10245
* cvt.c (force_rvalue): New fn.
* call.c (build_conditional_expr): Use it.
* cp-tree.h: Declare it.
From-SVN: r65005
GCC Administrator [Sat, 29 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r65004
Mike Stump [Fri, 28 Mar 2003 23:48:17 +0000 (23:48 +0000)]
error.c (dump_expr): Add 0x to printed hex numbers to make output match source code better.
* error.c (dump_expr): Add 0x to printed hex numbers to make
output match source code better.
From-SVN: r64997
Ulrich Weigand [Fri, 28 Mar 2003 23:40:51 +0000 (23:40 +0000)]
gcc/ ChangeLog:
* config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
set up before any trapping memory access if flag_non_call_exceptions.
libjava/ ChangeLog:
* configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
* configure: Regenerate.
From-SVN: r64995
Alan Modra [Fri, 28 Mar 2003 23:21:21 +0000 (23:21 +0000)]
reload1.c (reload_as_needed): Allow a USE in asm reloads.
* reload1.c (reload_as_needed): Allow a USE in asm reloads.
* loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
From-SVN: r64991
Nathanael Nerode [Fri, 28 Mar 2003 23:15:42 +0000 (23:15 +0000)]
configure.in: Clarify comments.
2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Clarify comments.
* configure: Regenerate.
From-SVN: r64990
Roger Sayle [Fri, 28 Mar 2003 22:10:18 +0000 (22:10 +0000)]
fp-cmp-6.c: Correct test for -O0.
2003-03-28 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0.
From-SVN: r64987
Mark Mitchell [Fri, 28 Mar 2003 21:18:39 +0000 (21:18 +0000)]
re PR c++/10218 (ICE in make_decl_rtl for invalid code)
PR c++/10218
* decl.c (grokfndecl): Return NULL_TREE for bogus out-of-class
definitions.
From-SVN: r64985
Ulrich Weigand [Fri, 28 Mar 2003 20:27:02 +0000 (20:27 +0000)]
s390.md ("literal_pool_31"): Output pool anchor label even if pool empty when generating PIC.
* config/s390/s390.md ("literal_pool_31"): Output pool anchor
label even if pool empty when generating PIC.
("literal_pool_31", "literal_pool_64"): Coding style cleanup.
From-SVN: r64981
Benjamin Kosnik [Fri, 28 Mar 2003 19:45:44 +0000 (19:45 +0000)]
std_sstream.h (basic_istringstream): Adjust initialization.
2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_sstream.h (basic_istringstream): Adjust
initialization.
(basic_ostringstream): Same.
(basic_stringstream): Same.
* include/std/std_fstream.h (basic_ifstream): Adjust initialization.
(basic_ofstream): Same.
(basic_fstream): Same.
* include/std/std_ostream.h (basic_ostrem): Add protected ctor
that does not call init.
* include/std/std_istream.h (basic_istream): Same.
(basic_iostream): Construct istream, ostream uninitialized, use
init to initialize just once. Add protected ctor that does not
call init.
From-SVN: r64980
Mark Mitchell [Fri, 28 Mar 2003 19:30:41 +0000 (19:30 +0000)]
decl2.c (generate_ctor_or_dtor_function): Tolerate a non-existant ssdf_decls array.
* decl2.c (generate_ctor_or_dtor_function): Tolerate a
non-existant ssdf_decls array.
(finish_file): Call generator_ctor_or_dtor_function when there are
static constructors or destructors and no other static
initializations.
* g++.dg/init/attrib1.C: New test.
From-SVN: r64979
Paolo Carlini [Fri, 28 Mar 2003 18:28:47 +0000 (19:28 +0100)]
re PR libstdc++/9533 (Can't read from tty with ifstream)
2003-03-28 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
PR libstdc++/9533
* include/bits/fstream.tcc (basic_filebuf<>::open): Don't
call underflow().
(basic_filebuf<>::showmanyc): Use the information provided
by codecvt and __basic_file<>::showmanyc_helper to implement
a non-trivial showmanyc.
* config/io/basic_file_stdio.h
(__basic_file<>::showmanyc_helper): New, declare.
* config/io/basic_file_stdio.cc
(__basic_file<>::showmanyc_helper): Define.
(__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
(__basic_file<char>::open): Don't call fcntl().
* acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
GLIBCPP_CHECK_POLL): New macros.
* configure.in: Call here.
* acconfig.h: Add #undefs for the corresponding symbols.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r64978
Kazu Hirata [Fri, 28 Mar 2003 15:18:11 +0000 (15:18 +0000)]
re PR target/10205 (Incorrect code generated for H8300 "normal" mode)
PR target/10205
* config/h8300/h8300.c (h8300_initial_elimination_offset):
Correct the offset computation when TARGET_NORMAL.
Co-Authored-By: Dhananjay R. Deshpande <dhananjayd@kpit.com>
From-SVN: r64975
Michael Koch [Fri, 28 Mar 2003 13:07:46 +0000 (13:07 +0000)]
File.java: Import needed classes instead of whole packages...
2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/File.java:
Import needed classes instead of whole packages, merged class
documentation with classpath, moved constants and variables to top of
class.
* java/io/PrintStream.java:
Merged class documentation with classpath, moved constants and
variables to top of class.
* java/io/RandomAccessFile.java
(RandomAccessFile): Merged with classpath.
(read): Merged with classpath).
(read*): Reformatted.
From-SVN: r64974
Michael Koch [Fri, 28 Mar 2003 09:49:44 +0000 (09:49 +0000)]
2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
(finalize): Throws Throwable, not IOException.
* java/io/ObjectOutputStream.java
(PutField.put): Doesnt throws anything.
From-SVN: r64970
Eric Botcazou [Fri, 28 Mar 2003 09:10:43 +0000 (10:10 +0100)]
re PR target/10067 (GCC-3.2.2 outputs invalid asm on sparc64)
PR target/10067
* config/sparc/sparc.md (jump pattern): Correct order
when issuing the annuling marker.
From-SVN: r64964
Michael Koch [Fri, 28 Mar 2003 08:59:41 +0000 (08:59 +0000)]
2003�03-28 Michael Koch <konqueror@gmx.de>
* java/io/FileOutputStream.java:
Merged class documentation and authors with classpath.
(FileOutputStream): Partly merged with classpath.
(write): Merged with classpath.
(getChannel): Make it synchronized instead of explicit block in this
method.
* java/io/RandomAccessFile.java:
Merged class documentation and authors with classpath.
From-SVN: r64963
Eric Botcazou [Fri, 28 Mar 2003 08:25:57 +0000 (09:25 +0100)]
re PR c/8281 ([Sparc] ICE when compiling with -O2 -fPIC for Ultrasparc)
PR c/8281
* config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
(movdi reg/reg split): Match only on sparc32, and v9 when int regs.
From-SVN: r64957
Alan Modra [Fri, 28 Mar 2003 08:07:03 +0000 (08:07 +0000)]
elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label.
* config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
globalize_label.
* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/v850/v850.c (v850_output_aligned_bss): Likewise.
From-SVN: r64954
Nathan Sidwell [Fri, 28 Mar 2003 08:02:15 +0000 (08:02 +0000)]
re PR c++/10047 (-fno-default-inline produces bogus warnings)
cp:
PR c++/10047
* decl2.c (finish_file): Don't warn about explicitly instantiated
inline decls.
testsuite:
PR c++/10047
* g++.dg/template/inline1.C: New test.
From-SVN: r64953
Alan Modra [Fri, 28 Mar 2003 07:58:22 +0000 (07:58 +0000)]
loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
* loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
(replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL
notes after hoisting.
(load_mems): Adjust replace_loop_mems call.
From-SVN: r64950
Eric Botcazou [Fri, 28 Mar 2003 07:47:57 +0000 (08:47 +0100)]
PR target/10114 and PR target/10084
PR target/10114 and PR target/10084
* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r64947
Richard Henderson [Fri, 28 Mar 2003 05:14:36 +0000 (21:14 -0800)]
* config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
From-SVN: r64946
Roger Sayle [Fri, 28 Mar 2003 02:41:14 +0000 (02:41 +0000)]
fold-const.c (fold_inf_compare): New function to simplify FP comparisons against +Infinity or -Infinity.
* fold-const.c (fold_inf_compare): New function to simplify FP
comparisons against +Infinity or -Infinity.
(fold): Optimize floating point comparisons against Infs and NaNs.
* gcc.c-torture/execute/ieee/fp-cmp-6.c: New test case.
* gcc.c-torture/execute/ieee/fp-cmp-7.c: New test case.
From-SVN: r64945
GCC Administrator [Fri, 28 Mar 2003 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64944
Mark Mitchell [Thu, 27 Mar 2003 23:53:08 +0000 (23:53 +0000)]
gcov.exp (run-gcov): Add branches and calls options, rather than reading .x files.
* lib/gcov.exp (run-gcov): Add branches and calls options, rather
than reading .x files.
* g++.dg/gcov/gcov-1.C: Use run-gcov options, not .x files.
* g77.dg/gcov/gcov-1.f: Likewise.
* gcc.misc-tests/gcov-4b.c: Likewise.
* gcc.misc-tests/gcov-5b.c: Likewise.
* gcc.misc-tests/gcov-6.c: Likewise.
* gcc.misc-tests/gcov-7.c: Likewise.
* gcc.misc-tests/gcov-8.c: Likewise.
* g++.dg/gcov/gcov-1.x: Remove.
* g77.dg/gcov/gcov-1.x: Likewise.
* gcc.misc-tests/gcov-4b.x: Likewise.
* gcc.misc-tests/gcov-5b.x: Likewise.
* gcc.misc-tests/gcov-6.x: Likewise.
* gcc.misc-tests/gcov-7.x: Likewise.
* gcc.misc-tests/gcov-8.x: Likewise.
From-SVN: r64937
Janis Johnson [Thu, 27 Mar 2003 23:52:02 +0000 (23:52 +0000)]
libgcov.c: Provide only dummy functions if libc is not available.
2003-03-27 Janis Johnson <janis187@us.ibm.com>
* libgcov.c: Provide only dummy functions if libc is not available.
From-SVN: r64936
Richard Henderson [Thu, 27 Mar 2003 22:42:02 +0000 (14:42 -0800)]
real.h (struct real_value): Add signalling.
* real.h (struct real_value): Add signalling.
(EXP_BITS): Decrement.
* real.c (get_canonical_qnan): Don't set MSB-1.
(get_canonical_snan): Likewise. Set signalling.
(real_identical): Compare signalling.
(round_for_format): Remove force-one-bit on code.
(real_nan): Likewise. Set signalling.
(encode_ieee_single): Add force-one-bit code; honor signalling.
(encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
(decode_ieee_single): Set signalling.
(decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.
From-SVN: r64935
Olivier Hainque [Thu, 27 Mar 2003 21:51:23 +0000 (22:51 +0100)]
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
PR ada/9953
* ada/Makefile.in (gnatlib configuration for HPUX): Split
the general section for HPUX into specific sections for
HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
11 case.
From-SVN: r64932
Janis Johnson [Thu, 27 Mar 2003 18:57:42 +0000 (18:57 +0000)]
Add files to the new contrib/reghunt directory:
2003-03-27 Janis Johnson <janis187@us.ibm.com>
* README: New file.
* reg_search: New file.
* reg_periodic: New file.
* reg_test_template: New file.
From-SVN: r64929
Glen Nakamura [Thu, 27 Mar 2003 18:53:36 +0000 (18:53 +0000)]
re PR rtl-optimization/10087 (optimizer produces wrong code when indexing 2D array)
PR opt/10087
* gcc.dg/
20030324-1.c: New test.
PR opt/10087
* loop.c (loop_givs_reduce): Skip bivs with duplicate locations
while incrementing giv.
(record_biv): Check for duplicate biv locations and
set (struct induction *) v->same if found.
From-SVN: r64928
David Mosberger [Thu, 27 Mar 2003 18:13:59 +0000 (18:13 +0000)]
unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind v0.9 API change...
* unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
v0.9 API change: replace read of UNW_REG_HANDLER with
unw_get_proc_info().
(_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
with unw_get_proc_info().
(_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
unw_get_proc_info().
From-SVN: r64927
Vladimir Makarov [Thu, 27 Mar 2003 15:09:02 +0000 (15:09 +0000)]
8540.md: Use presence_set instead of absence_set.
2003-03-27 Vladimir Makarov <vmakarov@redhat.com>
* config/rs6000/8540.md: Use presence_set instead of absence_set.
From-SVN: r64926
Nathan Sidwell [Thu, 27 Mar 2003 14:04:28 +0000 (14:04 +0000)]
re PR c++/10224 (Problem with integral constants (+ICE))
cp:
PR c++/10224
* pt.c (lookup_template_class): Only check instantiated args if
they do not contain template parameters.
testsuite:
PR c++/10224
* g++.dg/template/arg3.C: New test.
From-SVN: r64923
Nathan Sidwell [Thu, 27 Mar 2003 12:19:13 +0000 (12:19 +0000)]
re PR c++/10158 (ICE with templates and friends)
cp:
PR c++/10158
* parser.c (cp_parser_function_definition): Set
DECL_INITIALIZED_IN_CLASS for members.
* pt.c (instantiate_decl): Only reduce the template args for
friends that are not defined in class.
testsuite:
PR c++/10158
* g++.dg/template/friend18.C: New test.
From-SVN: r64920
Steven Bosscher [Thu, 27 Mar 2003 11:15:27 +0000 (11:15 +0000)]
* ffe.texi: Don't mention dead file proj.c.
From-SVN: r64919
GCC Administrator [Thu, 27 Mar 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64916
Roger Sayle [Thu, 27 Mar 2003 00:09:58 +0000 (00:09 +0000)]
re PR fortran/9793 (Internal compiler error in `float_signal', at toplev.c:2442)
PR fortran/9793
* target.h (ffetarget_divide_integer1): Perform division by -1
using negation to prevent possible overflow trap on the host.
* g77.f-torture/compile/
20030326.f: New test case.
From-SVN: r64909
Janis Johnson [Wed, 26 Mar 2003 23:17:18 +0000 (23:17 +0000)]
20020227-1.x: Don't XFAIL for powerpc64.
2003-03-26 Janis Johnson <janis187@us.ibm.com>
* gcc.c-torture/execute/
20020227-1.x: Don't XFAIL for powerpc64.
* gcc.c-torture/compile/simd-5.x: Expect XFAIL for powerpc64.
From-SVN: r64907
Richard Henderson [Wed, 26 Mar 2003 22:53:37 +0000 (14:53 -0800)]
c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
* c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
* gcc.dg/inline-4.c: New.
From-SVN: r64906
Tom Tromey [Wed, 26 Mar 2003 22:31:52 +0000 (22:31 +0000)]
natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url.
* java/lang/natRuntime.cc (insertSystemProperties): Set
gnu.classpath.home.url.
* Makefile.in: Rebuilt.
* Makefile.am: Define LIBDIR.
From-SVN: r64905
Roger Sayle [Wed, 26 Mar 2003 21:56:34 +0000 (21:56 +0000)]
PR bootstrap/10051, PR bootstrap/10169.
* mips-tfile.c (init_file): Don't provide a static initializer.
(initialize_init_file): Initialize the contents of init_file.
(add_file): Call initialize_init_file if not already initialized.
From-SVN: r64904
Ulrich Weigand [Wed, 26 Mar 2003 19:21:08 +0000 (19:21 +0000)]
s390.c (s390_optimize_prolog): Do not save/restore registers used for global asm variables.
* config/s390/s390.c (s390_optimize_prolog): Do not save/restore
registers used for global asm variables.
(s390_frame_info, s390_arg_frame_offset): Likewise.
(s390_emit_prologue, s390_emit_epilogue): Likewise.
From-SVN: r64902
Vladimir Makarov [Wed, 26 Mar 2003 16:24:54 +0000 (16:24 +0000)]
8540.md: New file.
2003-03-26 Vladimir Makarov <vmakarov@redhat.com>
* config/rs6000/8540.md: New file.
* config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
reservations for imul.
* config/rs6000/rs6000.md: Include 8540.md. Change
delayed_compare onto mult_compare for insns generating
multiplication.
(mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
New type attribute values.
* config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
fpsimple instead of fp.
(*divsf3_gpr): Use type vecfdiv instead of fp.
(spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
instead of vecfloat.
(spe_evfsdive): Use type vecfdiv instead of vecfloat.
(spe_brinc): Use type brinc instead of veccomplex.
(spe_evaddw, spe_evaddiw): Use type vecsimple instead of
veccomplex.
(spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
(*movv2si_internal, *movv1di_internal, *movv4hi_internal,
*movv2sf_internal): Define type attribute values for all
alternatives.
(cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
of fpcompare.
(tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
instead of fpcompare.
From-SVN: r64899
David Edelsohn [Wed, 26 Mar 2003 16:04:08 +0000 (16:04 +0000)]
power4.md: Allow delay between dispatch and function units for simple instructions.
* config/rs6000/power4.md: Allow delay between dispatch and
function units for simple instructions. Correct store units.
Allow branch to occupy as many dispatch slots as necessary.
From-SVN: r64896
Jakub Jelinek [Wed, 26 Mar 2003 16:00:52 +0000 (17:00 +0100)]
ia64.c (ia64_expand_op_and_fetch): Fix comment.
* config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
(ia64_expand_compare_and_swap): Use always DImode ar.ccv,
zero extend old to it.
* config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
operand.
* gcc.dg/ia64-sync-3.c: New test.
From-SVN: r64895
Alan Modra [Wed, 26 Mar 2003 12:48:28 +0000 (12:48 +0000)]
* gcc.dg/loop-2.c: Replace "inline" with "__inline__".
From-SVN: r64893
Eric Botcazou [Wed, 26 Mar 2003 07:48:15 +0000 (08:48 +0100)]
re PR target/7784 ([Sparc] ICE in extract_insn, at recog.c:2148)
PR target/7784
* reload.c (find_reloads_address): Handle
(PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
all base registers.
From-SVN: r64887
Marcelo Abreu [Wed, 26 Mar 2003 01:40:33 +0000 (01:40 +0000)]
re PR fortran/10204 (ffe.texi: contribute URL is outdated)
2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br>
PR fortran/10204
* ffe.texi: Reference the GCC web site in the URL.
From-SVN: r64884
Marcelo Abreu [Wed, 26 Mar 2003 01:39:49 +0000 (01:39 +0000)]
re PR other/10203 (version.c: bug_report_url is outdated)
2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br>
PR other/10203
* version.c: Reference the GCC web site in the URL.
From-SVN: r64883
GCC Administrator [Wed, 26 Mar 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64882
Jason Merrill [Tue, 25 Mar 2003 23:51:20 +0000 (18:51 -0500)]
remove ancient Cygnoids
From-SVN: r64874
Alan Modra [Tue, 25 Mar 2003 23:23:23 +0000 (23:23 +0000)]
c-incpath.c (add_standard_paths): Add both "translated" and non-translated header paths.
* c-incpath.c (add_standard_paths): Add both "translated" and
non-translated header paths.
From-SVN: r64872
Loren J. Rittle [Tue, 25 Mar 2003 22:31:26 +0000 (22:31 +0000)]
* doc/install.texi (*-*-freebsd*): Update with known status.
From-SVN: r64870
Jason Merrill [Tue, 25 Mar 2003 20:30:36 +0000 (15:30 -0500)]
call.c (print_z_candidate): Change name of first arg to msgid.
* call.c (print_z_candidate): Change name of first arg to msgid.
(joust): Add comment for translators.
From-SVN: r64864
Jason Merrill [Tue, 25 Mar 2003 20:24:42 +0000 (15:24 -0500)]
re PR rtl-optimization/10171 (wrong code for inlined function)
PR optimization/10171
* unroll.c (unroll_loop): Don't delete the jump at the end unless
we also delete a jump at the beginning.
From-SVN: r64863
Stephane Carrez [Tue, 25 Mar 2003 20:02:25 +0000 (21:02 +0100)]
contrib.texi (Contributors): Mention self as 68HC11/68HC12 contributor.
* doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
contributor.
From-SVN: r64860