- 15 Feb, 2003 11 commits
-
-
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 -
* 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. (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. From-SVN: r62941
Richard Henderson committed -
* 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 -
* 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 -
* 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 -
* 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 -
* 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 -
* 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 -
From-SVN: r62931
GCC Administrator committed
-
- 14 Feb, 2003 17 commits
-
-
PR optimization/7702 * reload1.c (reload_cse_simplify_set): Honor CANNOT_CHANGE_MODE_CLASS. From-SVN: r62921
Falk Hueffner committed -
libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with... * lib/libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with "'"s. From-SVN: r62919
Mark Wielaard committed -
* config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New function. * config/mn10300/mn10300-protos.h: Declare it. * config/mn10300/mn10300.md (movdi, movdf): Use it to compute attribute cc of instructions that may use clr. From-SVN: r62916
Alexandre Oliva committed -
* libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class object files by changing all occurances of $ to ^. (test_mauve): Replace ^ with $ for class file names and quote them with "'"s. From-SVN: r62914
Mark Wielaard committed -
* Makefile.tpl (RANLIB): Define. * Makefile.in: Regenerate. From-SVN: r62913
Rainer Orth committed -
BigDecimal.java (BigDecimal(String)): Always set scale to zero when there is an exponent and the significant is zero. * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to zero when there is an exponent and the significant is zero. (divide): Always set scale to newScale even in special ZERO case. From-SVN: r62908
Mark Wielaard committed -
* simplify-rtx.c (simplify_binary_operation): Simplify ~y when (x - (x & y)) is found. From-SVN: r62906
Kazu Hirata committed -
* java/lang/System.java (properties): Use Properties.clone. (setProperties): Likewise. From-SVN: r62903
Tom Tromey committed -
* configure.in: Fix typo. * configure: Regenerate. From-SVN: r62902
Rainer Orth committed -
From-SVN: r62900
Kazu Hirata committed -
2003-02-14 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * gnu/java/nio/ServerSocketChannelImpl.java (SocketAccept): Removed. (accept): Commented out use of SocketAccept. From-SVN: r62898
Michael Koch committed -
* gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. From-SVN: r62896
Josef Zlomek committed -
PR opt/2391 * combine.c: Fix spelling in comment. (cached_nonzero_bits): New function. (cached_num_sign_bit_copies): New function. (nonzero_bits_with_known): New macro. (num_sign_bit_copies_with_known): New macro. (nonzero_bits1): Rename from nonzero_bits. Add three new arguments. Change calls from nonzero_bits to nonzero_bits_with_known. (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add three new arguments. Change calls from num_sign_bit_copies to num_sign_bit_copies_with_known. (nonzero_bits): New macro. (num_sign_bit_copies): New macro. (update_table_tick): Don't traverse identical subexpression more than once. (get_last_value_validate): Likewise. From-SVN: r62893
Adam Nemet committed -
* decl2.c: Include "timevar.h". (namespace_ancestor): Time name lookup. (add_using_namespace): Likewise. (lookup_using_namespace): Likewise. (qualified_lookup_using_namespace): Likewise. (decl_namespace): Likewise. (lookup_arg_dependent): Likewise. * lex.c (do_identifier): Likewise. (do_scoped_id): Likewise. * pt.c (lookup_template_class): Likewise. From-SVN: r62892
Gabriel Dos Reis committed -
* emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx. * function.h (struct emit_status): Length of regno_pointer_align and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no, not regno_pointer_align_length (i.e. length actually used, not length as allocated) * config/i386/i386.c (struct stack_local_entry): New. (struct machine_function): Replace huge array with alist. (assign_386_stack_local): Change to match. From-SVN: r62891
Zack Weinberg committed -
* inclhack.def (hpux_long_double): Tighten select and add bypass regexp. * fixincl.x: Rebuilt. From-SVN: r62886
John David Anglin committed -
From-SVN: r62885
GCC Administrator committed
-
- 13 Feb, 2003 12 commits
-
-
* 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 -
* java/io/InputStreamReader.java (getEncoding): Return null when closed. * java/io/OutputStreamWriter.java (getEncoding): Likewise. From-SVN: r62875
Mark Wielaard committed -
* java/util/zip/InflaterInputStream.java (read): Return zero when len is zero. From-SVN: r62872
Mark Wielaard committed -
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html
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 -
* java/io/BufferedOutputStream.java (write(int)): Only flush when next byte cannot be buffered. From-SVN: r62867
Mark Wielaard committed -
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 -
* 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 -
* 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 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 -
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@. * 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 -
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
-