1. 15 Feb, 2003 11 commits
    • bb-reorder.c (find_traces_1_round): Don't connect easy to copy successors with… · 99dc7277
      bb-reorder.c (find_traces_1_round): Don't connect easy to copy successors with multiple predecessors.
      
              * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
              successors with multiple predecessors.
              (connect_traces): Try harder to copy traces of length 1.
      
              * function.h (struct function): Add computed_goto_common_label,
              computed_goto_common_reg.
              * function.c (free_after_compilation): Zap them.
              * stmt.c (expand_computed_goto): Use them to produce one
              indirect branch per function.
      
      From-SVN: r62944
      Richard Henderson committed
    • rs6000.h (processor_type): Add PPC440. · b54cf83a
      	* config/rs6000/rs6000.h (processor_type): Add PPC440.
      	* config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
      	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
      	TARGET_SCHED_VARIABLE_ISSUE): Define.
      	(rs6000_use_dfa_pipeline_interface): New function.
      	(rs6000_multipass_dfa_lookahead): New Function.
      	(rs6000_variable_issue): New function.
      	(rs6000_adjust_cost): Add CMP and DELAYED_CR types.
      	(rs6000_issue_rate): Add PPC440.
      	* config/rs6000/rs6000.md (unspec list): Correct typo.
      	(attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
      	store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
      	cmp, delayed_cr, mfcr, mtcr.
      	(automata_option): Set "ndfa".
      	(extendMMNN2): Update attributes.
      	(movcc_internal1): Discourage move to non-cr0.  Update
      	attributes.
      	(movMM_update): Update attributes.
      	(cmpMM_internal): Update attributes.
      	(sCC CR materialization): Update attributes.
      	(branch patterns): Do not discourage non-cr0.
      	(cr logical patterns): Prefer destructive register allocation.
      	Update attributes.
      	(movesi_from_cr): Update attribute.
      	(mtcrf_operation): Update attribute.
      	(mtcrfsi): Update attribute.
      	* config/rs6000/40x.md: New file.
      	* config/rs6000/603.md: New file.
      	* config/rs6000/6xx.md: New file.
      	* config/rs6000/7450.md: New file.
      	* config/rs6000/7xx.md: New file.
      	* config/rs6000/mpc.md: New file.
      	* config/rs6000/power4.md: New file.
      	* config/rs6000/rios1.md: New file.
      	* config/rs6000/rios2.md: New file.
      	* config/rs6000/rs64.md: New file.
      	[Some DFA descriptions based on work by Michael Hayes]
      
      From-SVN: r62943
      David Edelsohn committed
    • cfgcleanup.c: Include params.h. · 5f24e0dc
              * cfgcleanup.c: Include params.h.
              (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
              too many outgoing edges from a block.
              * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
              * params.def (max-crossjump-edges): New.
              * doc/invoke.texi: Document it.
      
      From-SVN: r62942
      Richard Henderson committed
    • recog.c (split_all_insns): Include new blocks in life update; do a global life update. · 9381bbc9
              * recog.c (split_all_insns): Include new blocks in life update;
              do a global life update.
      
      From-SVN: r62941
      Richard Henderson committed
    • search.c: ANSIfy function declarations and definitions. · 86ac0575
      	* search.c: ANSIfy function declarations and definitions.
      	* cp-tree.h (lookup_field, lookup_member): Last parameter is a bool.
      	* call.c (build_method_call, resolve_scoped_fn_name,
      	build_java_interface_fn_ref): Adjust lookup_field, lookup_member
      	calls.
      	* class.c (handle_using_decl): Likewise.
      	* decl.c (make_typename_type, make_unmound_class_template,
      	start_decl, compute_array_index_type): Likewise.
      	* decl2.c (build_expr_from_tree, build_call_from_tree): Likewise.
      	* init.c (expand_member_init, build_member_call): Likewise.
      	* pt.c (tsubst_copy, tsubst_copy_and_build, do_decl_instantiation,
      	resolve_typename_type): Likewise.
      	* typeck.c (lookup_destructor, finish_class_member_access_exprm
      	build_prememfunc_access_expr): Likewise.
      
      From-SVN: r62939
      Nathan Sidwell committed
    • libjava.exp (test_libjava_from_javac): Use regsub not string map. · 6ff741aa
             * lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
             * libjava.mauve/mauve.exp (mauve_compute_uses): Likewise.
             (test_mauve): Likewise.
      
      From-SVN: r62937
      Mark Wielaard committed
    • 2003-02-15 Michael Koch <konqueror@gmx.de> · c68c712e
      	* java/awt/datatransfer/DataFlavor.java
      	(isRepresentationClassByteBuffer): Removed try-catch block.
      	(isRepresentationClassCharBuffer): Removed try-catch block.
      	(isRepresentationClassReader): Removed try-catch block.
      
      From-SVN: r62935
      Michael Koch committed
    • 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu> · a5915965
      	* java/nio/charset/Charset.java
      	(isRegistered): Fixed method args and implementation.
      	* java/nio/charset/CharsetEncoder.java
      	(unmappableCharacterAction): New method.
      
      From-SVN: r62934
      Jesse Rosenstock committed
    • 2003-02-15 Michael Koch <konqueror@gmx.de> · 30df932c
      	* java/awt/CheckboxMenuItem.java
      	(CheckBoxMenuItem): Dont implement Serializable.
      	(getListeners): New method,
      	(getItemListeners): New method.
      	* java/awt/Choice.java
      	(getListeners): New method,
      	(getItemListeners): New method.
      	* java/awt/Container.java
      	(getListeners): Added exception documentation.
      	(setFocusTraversalKeys): Throw exceptions, added documentattion.
      	(getFocusTraversalKeys): Added documentation.
      	(areFocusTraversalKeysSet): Added documentation.
      	(applyComponentOrientation): Added documentation.
      	* java/awt/ContainerOrderFocusTraversalPolicy.java
      	(implicitDownCycleTraversal): Renamed from downCycle for
      	serialization.
      	(ContainerOrderFocusTraversalPolicy): Added documentation.
      	(accept): Reformated.
      	* java/awt/Dialog.java
      	(Dialog): Dont implement Serializable.
      	(Dialog): Added documentation.
      	* java/awt/Font.java
      	(Font): Dont use absolute class name.
      	* java/awt/Frame.java
      	(Frame): Font implement Serializable.
      	* java/awt/List.java
      	(getListeners): New method,
      	(getActionListeners): New method.
      	(getItemListeners): New method.
      	* java/awt/Menu.java
      	(countItems): New deprecated method.
      	* java/awt/Scrollbar.java
      	(getListeners): New method,
      	(getAdjustmentListeners): New method,
      	* java/awt/TextComponent.java
      	(getListeners): New method,
      	(getTextListeners): New method,
      	* java/awt/TextField.java
      	(getListeners): New method,
      	(getActionListeners): New method.
      	* java/awt/Window.java
      	(windowFocusListener): New member variable.
      	(windowStateListener): New member variable.
      	(getWindowFocusListeners): New method.
      	(getWindowStateListeners): New method.
      	(addWindowFocusListener): New method.
      	(addWindowStateListener): New method.
      	(removeWindowFocusListener): New method.
      	(removeWindowStateListener): New method.
      	* java/awt/datatransfer/DataFlavor.java
      	(isRepresentationClassByteBuffer): New method.
      	(isRepresentationClassCharBuffer): New method.
      	(isRepresentationClassReader): New method.
      
      From-SVN: r62933
      Michael Koch committed
    • mingw32.h (LIBGCC_SPEC): Add libmingwex.a. · e898926c
      	* config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
      	Update copyright.
      	* config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for
      	-mno-cygwin case.
      
      From-SVN: r62932
      Danny Smith committed
    • Daily bump. · b62b6de0
      From-SVN: r62931
      GCC Administrator committed
  2. 14 Feb, 2003 17 commits
  3. 13 Feb, 2003 12 commits
    • verify.cc (state::seen_subrs): New field. · 6f2ffb37
      	* verify.cc (state::seen_subrs): New field.
      	(state::state): Initialize it.
      	(state::clean_subrs): New method.
      	(state::~state): Call it.
      	(state::copy): Copy subroutine list.
      	(state::add_subr): New method.
      	(state::merge): Only register a change if the current subroutine
      	hasn't yet been noted.
      
      From-SVN: r62878
      Tom Tromey committed
    • InputStreamReader.java (getEncoding): Return null when closed. · 11477585
             * java/io/InputStreamReader.java (getEncoding): Return null when
             closed.
             * java/io/OutputStreamWriter.java (getEncoding): Likewise.
      
      From-SVN: r62875
      Mark Wielaard committed
    • InflaterInputStream.java (read): Return zero when len is zero. · 530ee84d
             * java/util/zip/InflaterInputStream.java (read): Return zero when len
             is zero.
      
      From-SVN: r62872
      Mark Wielaard committed
    • Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html · 42f86c48
      Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html
      	* gcc.dg/20030213-1.c: New test.
      
      From-SVN: r62869
      Josef Zlomek committed
    • BufferedOutputStream.java (write(int)): Only flush when next byte cannot be buffered. · 8ad2b7a2
             * java/io/BufferedOutputStream.java (write(int)): Only flush when
             next byte cannot be buffered.
      
      From-SVN: r62867
      Mark Wielaard committed
    • c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. · 1bc8b0ad
      
      2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
      	* include/bits/basic_ios.tcc: Guard use of extern template.
      	* include/std/std_iomanip.h: Same.
      	* include/bits/streambuf.tcc: Same.
      	* include/bits/stl_alloc.h: Same.
      	* include/bits/locale_facets.tcc: Same.
      	* include/bits/ostream.tcc: Same.
      	* include/bits/istream.tcc: Same.
      	* include/bits/fstream.tcc: Same.
      	* include/bits/basic_string.tcc: Same.
      
      From-SVN: r62865
      Benjamin Kosnik committed
    • 2003-02-13 Michael Koch <konqueror@gmx.de> · 659efb32
      	* java/awt/Label.java
      	(Label): Don't implement Serializable directly.
      	(addNotify): Fixed typo in documentation.
      	* java/awt/List.java
      	(List): Don't implement Serializable directly.
      	* java/awt/PopupMenu.java
      	(PopupMenu): Don't implement Serializable directly.
      	* java/awt/ScrollPane.java
      	(ScrollPane): Don't implement Serializable directly.
      	* java/awt/Scrollbar.java
      	(Scrollbar): Don't implement Serializable directly.
      	* java/awt/TextArea.java
      	(preferredSize): Fixed method arguments.
      	* java/awt/TextField.java
      	(TextField): Don't implement Serializable directly.
      	* java/awt/color/ICC_ColorSpace.java
      	(fromCIOXYZ): Documentation added.
      	(getMinValue): Documentation added.
      	(getMaxValue): Documentation added.
      	* java/awt/datatransfer/DataFlavor.java
      	(isMimeTypeEqual): May not be final.
      	(clone): Throws CloneNotSupportedException.
      	(getReaderForText): Don't throws UnsupportedEncodingException.
      
      From-SVN: r62863
      Michael Koch committed
    • 2003-02-13 Michael Koch <konqueror@gmx.de> · 1cb02bdf
      	* gnu/java/awt/peer/gtk/GdkGraphics.java
      	(drawString): New stubbed method.
      	* java/awt/Graphics.java
      	(drawString): New method.
      
      From-SVN: r62862
      Michael Koch committed
    • cfgcleanup.c (outgoing_edges_match): When there is single outgoing edge and… · ffc8f11e
      cfgcleanup.c (outgoing_edges_match): When there is single outgoing edge and block ends with a jump insn it must be...
      
      	* cfgcleanup.c (outgoing_edges_match): When there is single outgoing
      	edge and block ends with a jump insn it must be simple jump.
      
      From-SVN: r62858
      Josef Zlomek committed
    • ostream.tcc (sentry::sentry): Improve performance-wise the fix for libstdc++/9563. · b7bb6d4a
      2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/ostream.tcc (sentry::sentry): Improve
      	performance-wise the fix for libstdc++/9563.
      
      From-SVN: r62855
      Paolo Carlini committed
    • Makefile.in (PREPROCESSOR_DEFINES): Add @TARGET_SYSTEM_ROOT_DEFINE@. · 047d636f
      	* Makefile.in (PREPROCESSOR_DEFINES): Add
      	@TARGET_SYSTEM_ROOT_DEFINE@.
      	* configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
      	is specified or if building a cross compiler.
      	(TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
      	if the sysroot is under $exec_prefix.
      	* configure: Regenerated.
      	* cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
      	defined.
      	(struct default_include): Add add_sysroot field.
      	(cpp_SYSROOT): Declare.
      	* cppdefault.c (cpp_include_defaults): Fill in add_sysroot
      	field.
      	(cpp_SYSROOT): New variable.
      	* cppinit.c (cpp_create_reader): Initialize
      	CPP_OPTION (pfile, sysroot).
      	(init_standard_includes): Handle add_sysroot.  Do not
      	add unrelocated copies of relocated directories.
      	(COMMAND_LINE_OPTIONS): Add -isysroot.
      	(cpp_handle_option): Handle -isysroot.
      	* cpplib.h (struct cpp_options): Add sysroot member.
      	* gcc.c (The Specs Language): Update description of %I.
      	(target_system_root_changed): New variable.
      	(process_command): Conditionalize make_relative_prefix call
      	on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
      	target_system_root_changed.
      	(do_spec_1): Add -isysroot to %I.
      	* doc/invoke.texi (Spec Files): Update description of %I.
      	* doc/install.texi (--with-sysroot): Update comment about
      	relocation.
      
      From-SVN: r62853
      Daniel Jacobowitz committed
    • re PR c++/7612 (Memory leaks in cplus-dem.c) · 902cf50c
      	Fix PR c++/7612.
      	* cplus-dem.c (demangle_signature): Call string_delete.
      	Remove extra string_init.
      	(demangle_arm_hp_template): Call string_delete instead of
      	string_clear.  Add missing string_delete call.
      	(demangle_qualified): Add missing string_delete call.
      	(do_type): Remove unused variable btype.  Add missing string_delete
      	call.  Call string_delete instead of string_clear.
      	(demangle_fund_type): Move variable btype inside of the switch
      	statement.  Add missing string_delete call.
      	(do_arg): Call string_delete instead of string_clear.  Remove extra
      	string_init.
      	(demangle_nested_args): Free work->previous_argument.
      
      From-SVN: r62852
      Daniel Jacobowitz committed