summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* AbstractCellEditor.java, [...]: Merges from classpath.Michael Koch2003-03-3140-440/+713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gcse.c (simple_mem): Return false for floating-point accesses if ↵Richard Sandiford2003-03-314-0/+44
| | | | | | | | | flag_float_store is true. * gcse.c (simple_mem): Return false for floating-point accesses if flag_float_store is true. From-SVN: r65076
* gcse.c (gcse_constant_p): New function to identify constants suitable for ↵Roger Sayle2003-03-312-9/+39
| | | | | | | | | | | | | | | | 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
* * except.h: Remove definition of varray_type.Matt Kraai2003-03-312-9/+4
| | | | From-SVN: r65074
* String.java (data, [...]): Documented.Tom Tromey2003-03-312-9/+38
| | | | | | | | | | | | * 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
* Daily bump.GCC Administrator2003-03-312-2/+2
| | | | From-SVN: r65069
* New test.Richard Henderson2003-03-301-0/+14
| | | | From-SVN: r65062
* toplev.c (rest_of_compilation): Run purge_builtin_constant_p before ↵Richard Henderson2003-03-302-4/+10
| | | | | | | | | post-gcse cse pass. * toplev.c (rest_of_compilation): Run purge_builtin_constant_p before post-gcse cse pass. From-SVN: r65061
* * dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.Roger Sayle2003-03-302-4/+13
| | | | From-SVN: r65060
* re PR c++/7647 (ICE when data member has the name of the enclosing class)Mark Mitchell2003-03-305-25/+55
| | | | | | | | | | | | 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
* profile.c (instrument_edges): Make sure any newly created jump insns have ↵DJ Delorie2003-03-302-0/+6
| | | | | | | | | correct jump label info. * profile.c (instrument_edges): Make sure any newly created jump insns have correct jump label info. From-SVN: r65056
* String.java: Miscellaneous minor formatting changes to match Classpath more ↵Tom Tromey2003-03-302-72/+77
| | | | | | | | | closely. * java/lang/String.java: Miscellaneous minor formatting changes to match Classpath more closely. From-SVN: r65055
* cfgbuild.c (make_edges): Use tablejump_p.Richard Henderson2003-03-309-72/+32
| | | | | | | | | | | | | | | * 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
* * gcc.dg/20030324-1.c: Add comments and abort if test fails.Glen Nakamura2003-03-302-1/+11
| | | | From-SVN: r65053
* Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.Gabriel Dos Reis2003-03-302-2/+7
| | | | | | | * Makefile.in (STRICT_WARN): Don't warn for ISO C constructs. (STRICT2_WARN): Likewise. From-SVN: r65052
* * Make-lang.in (cp/name-lookup.o): Add more dependencies.Gabriel Dos Reis2003-03-302-1/+6
| | | | From-SVN: r65051
* re PR other/6955 (collect2 says "core dumped" when there is no core)Kaveh R. Ghazi2003-03-303-1/+13
| | | | | | | | PR other/6955 * collect2.c (collect_wait): Use WCOREDUMP and fix output message. * system.h (WCOREDUMP, WCOREFLG): Define if necessary. From-SVN: r65048
* re PR c/10083 (alpha: ICE while building swi-prolog-packages)Richard Henderson2003-03-303-4/+31
| | | | | | | | | 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
* fastjar.texi: Remove @ at start of file.Joseph Myers2003-03-304-2/+10
| | | | | | | | | | fastjar: * fastjar.texi: Remove @ at start of file. gcc/java: * gcj.texi: Remove @ at start of file. From-SVN: r65045
* cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype.Gabriel Dos Reis2003-03-306-150/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * reload1.c (reload_cse_move2add): Fix a comment typo.Kazu Hirata2003-03-302-1/+5
| | | | From-SVN: r65041
* name-lookup.c: New file.Gabriel Dos Reis2003-03-307-81/+176
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * config/h8300/h8300.md (a peephole2): Remove useless code.Kazu Hirata2003-03-302-1/+8
| | | | From-SVN: r65039
* fstream.tcc (basic_filebuf::showmanyc, [...]): Fix test for synced buffer.Paolo Carlini2003-03-304-7/+16
| | | | | | | | | | | | | 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
* natString.cc (hashCode): Use cachedHashCode.Eric Blake2003-03-303-15/+184
| | | | | | | | | | | | | | | | | | | | | | | 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
* String.java: Reordered to follow Classpath; merged in javadoc.Tom Tromey2003-03-302-128/+812
| | | | | | | * java/lang/String.java: Reordered to follow Classpath; merged in javadoc. From-SVN: r65036
* Daily bump.GCC Administrator2003-03-302-2/+2
| | | | From-SVN: r65032
* MessageFormat.java: Removed some whitespace.Tom Tromey2003-03-2924-2/+1665
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Accommodate Solaris 2.5.1 in solaris_mutex_init_1 fixAlbert Chin-A-Young2003-03-293-6/+12
| | | | From-SVN: r65022
* natClass.cc (newInstance): Put method name in exception.Tom Tromey2003-03-292-6/+14
| | | | | | | | | | * java/lang/natClass.cc (newInstance): Put method name in exception. (getConstructor): Likewise. (getDeclaredConstructor): Likewise. (getPrivateMethod): Likewise. From-SVN: r65021
* h8300.md (*iorsi3_and_ashift): New.Kazu Hirata2003-03-292-0/+58
| | | | | | | | * config/h8300/h8300.md (*iorsi3_and_ashift): New. (*iorsi3_and_lshiftrt): Likewise. (*iorsi3_zero_extract): Likewise. From-SVN: r65019
* h8300.md (*insv_si_8_8): New.Kazu Hirata2003-03-292-0/+44
| | | | | | | | * config/h8300/h8300.md (*insv_si_8_8): New. (*insv_si_8_8_lshiftrt_8): Likewise. (a peephole2): Likewise. From-SVN: r65018
* contrib.texi: Add Eric Botcazou and Roger Sayle.Gerald Pfeifer2003-03-292-5/+17
| | | | | | | * doc/contrib.texi: Add Eric Botcazou and Roger Sayle. Uniformly use bugfix instead of bug fix. From-SVN: r65016
* re PR other/895 (top of ONEWS needs to be merged into EGCS release notes)Gerald Pfeifer2003-03-292-91/+13
| | | | | | | | PR doc/895 * ONEWS: Remove those items that already appear in the EGCS release notes on our web pages. From-SVN: r65013
* rs6000.h (FUNCTION_VALUE_REGNO_P): Respect TARGET_HARD_FLOAT.Alan Modra2003-03-292-9/+15
| | | | | | | | * 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
* h8300.md (*addsi3_and_r_1): Put under plus:SI section of h8300.mdKazu Hirata2003-03-292-46/+52
| | | | | | | | * 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
* Proxy.java: New version from Classpath.Tom Tromey2003-03-293-13/+11
| | | | | | | * java/lang/reflect/Proxy.java: New version from Classpath. * java/lang/Package.java: New version from Classpath. From-SVN: r65007
* re PR c++/10245 (?: operator requires public copy constructor of return type)Jason Merrill2003-03-281-0/+15
| | | | | | | | | | | 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
* re PR c++/10245 (?: operator requires public copy constructor of return type)Jason Merrill2003-03-284-10/+25
| | | | | | | | | PR c++/10245 * cvt.c (force_rvalue): New fn. * call.c (build_conditional_expr): Use it. * cp-tree.h: Declare it. From-SVN: r65005
* Daily bump.GCC Administrator2003-03-292-2/+2
| | | | From-SVN: r65004
* error.c (dump_expr): Add 0x to printed hex numbers to make output match ↵Mike Stump2003-03-282-2/+7
| | | | | | | | | source code better. * error.c (dump_expr): Add 0x to printed hex numbers to make output match source code better. From-SVN: r64997
* gcc/ ChangeLog:Ulrich Weigand2003-03-285-282/+296
| | | | | | | | | | * 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
* reload1.c (reload_as_needed): Allow a USE in asm reloads.Alan Modra2003-03-293-0/+11
| | | | | | | | * 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
* configure.in: Clarify comments.Nathanael Nerode2003-03-283-32/+61
| | | | | | | | | 2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Clarify comments. * configure: Regenerate. From-SVN: r64990
* fp-cmp-6.c: Correct test for -O0.Roger Sayle2003-03-282-1/+13
| | | | | | | | 2003-03-28 Roger Sayle <roger@eyesopen.com> * gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0. From-SVN: r64987
* re PR c++/10218 (ICE in make_decl_rtl for invalid code)Mark Mitchell2003-03-282-3/+13
| | | | | | | | PR c++/10218 * decl.c (grokfndecl): Return NULL_TREE for bogus out-of-class definitions. From-SVN: r64985
* s390.md ("literal_pool_31"): Output pool anchor label even if pool empty ↵Ulrich Weigand2003-03-282-14/+28
| | | | | | | | | | 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
* std_sstream.h (basic_istringstream): Adjust initialization.Benjamin Kosnik2003-03-286-22/+47
| | | | | | | | | | | | | | | | | | | | 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
* decl2.c (generate_ctor_or_dtor_function): Tolerate a non-existant ssdf_decls ↵Mark Mitchell2003-03-284-10/+42
| | | | | | | | | | | | | | 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
* re PR libstdc++/9533 (Can't read from tty with ifstream)Paolo Carlini2003-03-2810-66/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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