aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-12-022003-12-02 Michael Koch <konqueror@gmx.de>Michael Koch6-5/+40
* gnu/java/nio/DatagramChannelImpl.java (blocking): Initialize with true by default. * gnu/java/nio/ServerSocketChannelImpl.java (serverSocket): Made private. (blocking): Likewise. (connected): Likewise. * gnu/java/nio/SocketChannelImpl.java (connectionPending): Made private. * gnu/java/nio/FileLockImpl.java (static): Load native library (needed for classpath). * gnu/java/nio/SelectorImpl.java (static): Load native library (needed for classpath). From-SVN: r74181
2003-12-022003-12-02 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+46
* gnu/java/net/protocol/file/Connection.java (getLastModified): Implement for file connections. (getContentLength): Likewise. From-SVN: r74180
2003-12-02Connection.java: Some reformating.Michael Koch2-23/+29
2003-12-02 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java: Some reformating. (file): Renamed from fileIn. (getPermission): Moved around. From-SVN: r74179
2003-12-022003-12-02 Michael Koch <konqueror@gmx.de>Michael Koch2-17/+23
* gnu/java/net/protocol/jar/Connection.java (Connection): Made class final, merged documentation with classpath. (file_cache): Made private. (jar_file): Renamed from jarfile. From-SVN: r74178
2003-12-022003-12-02 Michael Koch <konqueror@gmx.de>Michael Koch2-18/+48
* gnu/java/net/protocol/http/Connection.java (Connection): Initialize doOutput to false; (connect): Initialize inputStream, moved "send request" code to new method. (sendRequest): New method. (getHttpHeaders): Don't reinitialize inputStream. From-SVN: r74177
2003-12-022003-12-02 Michael Koch <konqueror@gmx.de>Michael Koch2-32/+39
* gnu/java/net/protocol//http/Connection.java (defRequestProperties): Removed. This dont gets used since JDK 1.3. (requestProperties): Initialize, documentation added. (inputStream): Renamed from bufferedIn. (Connection): Dont initialize requestProperties. (setDefaultRequestProperty): Removed. (getDefaultRequestProperty): Removed. (usingProxy): Documentation added. (getHttpHeaders): Likewise. From-SVN: r74176
2003-12-02DateFormat.java: Explicitely import used classes.Michael Koch2-1/+11
2003-12-02 Michael Koch <konqueror@gmx.de> * java/text/DateFormat.java: Explicitely import used classes. From-SVN: r74174
2003-12-02re PR c++/12573 (ICE (segfault) with Boost.Python)Giovanni Bajo2-0/+19
PR c++/12573 * g++.dg/template/dependent-expr3.C: New test. From-SVN: r74173
2003-12-02re PR c++/12573 (ICE (segfault) with Boost.Python)Giovanni Bajo2-0/+9
PR c++/12573 * pt.c (value_dependent_expression_p): Handle COMPONENT_REFs by looking into them recursively. From-SVN: r74172
2003-12-02rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast.Richard Henderson4-5/+10
* rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast. * tree.h (TREE_SET_CODE): Likewise. * recog.h (struct insn_operand_data): Move const after ENUM_BITFIELD. From-SVN: r74170
2003-12-02name-lookup.h (struct cp_binding_level): Use ENUM_BITFIELD.Richard Henderson4-6/+13
* name-lookup.h (struct cp_binding_level): Use ENUM_BITFIELD. * parser.c (struct cp_token): Likewise. (struct cp_parser_token_tree_map_node): Likewise. * lex.c (struct resword): Move const after ENUM_BITFIELD. From-SVN: r74169
2003-12-022003-12-02 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2-33/+32
* config/locale/gnu/monetary_members.cc (money_base::_S_construct_pattern): For case 3: and 4: exchanging 'if (__precedes)' and 'if (__space)' allows to factor out a few more assignments. From-SVN: r74168
2003-12-02[approved by wilson]Ben Elliston3-1/+7
* dbxstclass.h: Rename from this .. * xcoff.h: .. to this. * xcoffout.c: Include xcoff.h. From-SVN: r74167
2003-12-02re PR libffi/13221 (libffi's closure couldn't pass sequence of char and/or ↵Hosaka Yuji2-4/+10
short arguments.) 2003-12-02 Hosaka Yuji <hos@tamanegi.org> PR other/13221 * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV): Align arguments to 32 bits. From-SVN: r74161
2003-12-02re PR rtl-optimization/13024 (gcj can't build current rhug)Jeff Sturm3-0/+29
* libjava.compile/PR13024.java: New file. * libjava.compile/PR13237.java: New file. From-SVN: r74157
2003-12-02* Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.Kaveh R. Ghazi2-1/+5
From-SVN: r74153
2003-12-02verify.cc (state::clean_subrs): Clear seen_subrs.Jeff Sturm2-3/+9
* verify.cc (state::clean_subrs): Clear seen_subrs. (state::copy): Walk seen_subrs from copy, not `this'. Don't clear seen_subrs. From-SVN: r74152
2003-12-02basic_ios.h (basic_ios::setstate): Revert.Benjamin Kosnik6-52/+168
2003-12-01 Benjamin Kosnik <bkoz@redhat.com> * include/bits/basic_ios.h (basic_ios::setstate): Revert. * include/bits/istream.tcc: Only call setstate if __err != goodbit. * include/bits/ostream.tcc: Same. * testsuite/27_io/basic_ios/exceptions/char/2.cc: New. * testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make internal buffer non-static. From-SVN: r74151
2003-12-01As per David's request.James E Wilson2-1/+4
* doc/contrib.texi: Update David Mosberger. From-SVN: r74150
2003-12-02arm.c (arm_rtx_costs): Improve for xscale multiply.James Lemke4-6/+55
* config/arm/arm.c (arm_rtx_costs): Improve for xscale multiply. * testsuite/gcc.dg/arm-g2.c: New test. From-SVN: r74149
2003-12-02re PR rtl-optimization/11634 ([hppa] ICE in verify_local_live_at_start, at ↵Roger Sayle4-61/+146
flow.c:555) PR optimization/11634 * recog.c (split_insn): Factor test of INSN_P and handling of set_noop_p out of here into the two callers. (split_all_insns): Add INSN_P test and set_noop_p handling here. If deleting a no-op set after reload that has a REG_UNUSED note, mark the basic block as changed and recalculate life information. (split_all_insns_noflow): Add INSN_P test and set_noop_p handling here. * gcc.dg/20031201-2.c: New test case. From-SVN: r74145
2003-12-02re PR rtl-optimization/12322 (Significant slowdown when compiling ↵Roger Sayle2-56/+57
computed-goto code in Parrot) PR optimization/12322 * gcse.c (struct ls_expr): Change type of hash_index from int to unsigned int. (hash_expr): Document hash_table_size parameter and wrap long line. (ldst_entry): Calculate expression's hash_index and record in ptr. (trim_ld_motion_mems): Use hash_index to search a single bucket instead of scanning the entire hash_table. Remove the "del" local variable and use the equivalent "expr == 0" instead. Change last to be a pointer to the pointer to the current element, to simplify and speed-up deleting from a linked list. From-SVN: r74144
2003-12-01Fixes issues pointed out by Chris Lattner.James E Wilson2-6/+8
* doc/c-tree.texi (CONSTRUCTOR): Clarify element order and handling of missing fields. From-SVN: r74143
2003-12-01re PR target/8407 ([IA-64] ICE in simplify_gen_subreg, at ↵James E Wilson2-2/+9
simplify-rtx.c:2711 with very simple code) PR target/8407 * config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call gen_rtx_REG to create new reg with argument mode. From-SVN: r74142
2003-12-02gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Disable wrapping if ↵Kim Ho2-2/+10
TextArea has horizontal scroll bars. 2003-12-01 Kim Ho <kho@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Disable wrapping if TextArea has horizontal scroll bars. From-SVN: r74141
2003-12-02Daily bump.GCC Administrator2-2/+2
From-SVN: r74139
2003-12-01re PR libobjc/11433 (Crash due to dereferencing null pointer when querying ↵Zack Weinberg4-20/+59
protocol) PR 11433 gcc/testsuite: * objc.dg/proto-lossage-3.m: New test. libobjc: * Protocol.m (descriptionForInstanceMethod): Don't dereference instance_methods if it's NULL. (descriptionForClassMethod): Likewise for class_methods. From-SVN: r74137
2003-12-012003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2-16/+8
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Hard-code inset values. From-SVN: r74136
2003-12-01GdkFontMetrics.java (GdkFontMetrics): Pass font name, not XLFD, to initState.Thomas Fitzsimmons3-35/+70
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics): Pass font name, not XLFD, to initState. (stringWidth(String, int, String)): New method. (stringWidth(String)): Call new stringWidth. (getLeading): Always return 0. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c (initState): New Pango implementation. (stringWidth): Likewise. From-SVN: r74133
2003-12-01ggc.h (struct alloc_zone): Move forward declaration up.Steven Bosscher5-51/+128
* ggc.h (struct alloc_zone): Move forward declaration up. (new_ggc_zone): New function prototype. (destroy_ggc_zone): Ditto. * ggc-simple.c (new_ggc_zone): New function, does nothing. (destroy_ggc_zone): Ditto. * ggc-page.c (new_ggc_zone): New function, does nothing. (destroy_ggc_zone): Ditto. * ggc-zone.c (struct page_entry): Fix comment. (ggc_alloc_typed): Use a switch statement instead of ifs. (new_ggc_zone): New function to set up a new GC zone. (destroy_ggc_zone): New function to remove a GC zone. init_ggc): Use new_ggc_zone to set up the default zones. (ggc_collect): Walk a list of zones, instead of just the default zones. Report statistics using the zone name. From-SVN: r74132
2003-12-01cp-demangle.c (d_demangle): Only return success if we consumed the entire ↵Ian Lance Taylor2-2/+17
demangled string. * cp-demangle.c (d_demangle): Only return success if we consumed the entire demangled string. (is_ctor_or_dtor): Likewise. From-SVN: r74129
2003-12-01demangle-expected: Revert one part of 2003-06-26 patch to restore expected ↵Ian Lance Taylor1-2/+13
result of EDG test case... * testsuite/demangle-expected: Revert one part of 2003-06-26 patch to restore expected result of EDG test case to original expected result. From-SVN: r74128
2003-12-01* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.Ulrich Weigand2-2/+7
From-SVN: r74126
2003-12-01re PR rtl-optimization/12628 (Segfault with -fno-expensive-optimizations ↵Roger Sayle5-16/+48
-fno-rerun-loop-opt) PR optimization/12628 * toplev.c (rest_of_handle_jump_bypass): Call reg_scan. * regclass.c (reg_scan): Include allocate_reg_info time in TV_REG_SCAN. Minor clean-ups. (reg_scan_update): Minor clean-ups. * gcc.dg/20031201-1.c: New test case. From-SVN: r74125
2003-12-012003-12-01 Olga Rodimina <rodimina@redhat.com>Olga Rodimina3-2/+32
* java/awt/TextComponent.java: (getSelectionStart): Updated javadocs. (getSelectionEnd): Ditto. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer: (getSelectionStart): Changed to return caret position if no text is selected (getSelectionEnd): Ditto. From-SVN: r74124
2003-12-01* config.gcc (s390x-ibm-tpf*): Add extra_parts.Ulrich Weigand2-0/+5
From-SVN: r74121
2003-12-01Fix for aliasing problem reported by Michael Matz.James E Wilson2-1/+6
* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not GR_ARG_FIRST. From-SVN: r74120
2003-12-01C++STYLE: Add exception bits.Benjamin Kosnik4-13/+41
2003-12-01 Benjamin Kosnik <bkoz@redhat.com> * docs/html/17_intro/C++STYLE: Add exception bits. * include/bits/fstream.tcc: Add location info to exception strings. * include/bits/stl_construct.h: Formatting tweaks. From-SVN: r74119
2003-12-01GtkButtonPeer.java, [...]: Remove files.Thomas Fitzsimmons19-1531/+12
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc, gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java, gnu/awt/gtk/GtkContainerPeer.java, gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java, gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java, gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc, gnu/awt/gtk/natGtkComponentPeer.cc, gnu/awt/gtk/natGtkContainerPeer.cc, gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc, gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc, gnu/awt/gtk/natGtkWindowPeer.cc: Remove files. From-SVN: r74118
2003-12-01common.opt: Remove -fgnu-linker.Zack Weinberg8-51/+26
* common.opt: Remove -fgnu-linker. * flags.h: Remove flag_gnu_linker. * opts.c: Don't handle OPT_fgnu_linker. * toplev.c: Don't initialize flag_gnu_linker. Remove gnu-linker entry from f_options. * config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS): Don't reset flag_gnu_linker. * config/mips/mips.c (override_options): Likewise. * doc/invoke.texi: Remove all mention of -fgnu-linker. From-SVN: r74117
2003-12-01MAINTAINERS: Move myself from 'Bug database only accounts' to 'Write After ↵Giovanni Bajo2-1/+6
Approval' section. * MAINTAINERS: Move myself from 'Bug database only accounts' to 'Write After Approval' section. Update email. From-SVN: r74116
2003-12-012003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2-1/+6
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (closed): Mark loader parameter as unused. From-SVN: r74115
2003-12-01ggc-zone.c (ggc_pch_write_object): Calculate object size using ggc_get_size ↵Daniel Berlin2-1/+6
(which accounts for large objects... 2003-12-01 Daniel Berlin <dberlin@dberlin.org> * ggc-zone.c (ggc_pch_write_object): Calculate object size using ggc_get_size (which accounts for large objects properly). From-SVN: r74114
2003-12-01re PR rtl-optimization/13024 (gcj can't build current rhug)Jeff Sturm2-24/+33
PR optimization/13024 * toplev.c (rest_of_handle_new_regalloc): Remove rebuild_notes parameter. (rest_of_handle_old_regalloc): Likewise. Add rebuild_notes declaration. Rebuild jump labels following local_alloc if necessary. (rest_of_compilation): Remove rebuild_label_notes_after_reload declaration. Don't pass rebuild_notes parameter to rest_of_handle_new_regalloc and rest_of_handle_old_regalloc. Don't rebuild jump labels. From-SVN: r74113
2003-12-01flow.c (count_or_remove_death_notes_bb): New.Jeff Law2-41/+78
* flow.c (count_or_remove_death_notes_bb): New. Extracted from count_or_remove_death_notes. (count_or_remove_death_notes): Use EXECUTE_IF_SET_IN_SBITMAP. From-SVN: r74111
2003-12-012003-12-01 Michael Koch <konqueror@gmx.de>Michael Koch2-24/+43
* gnu/java/net/protocol/http/Connection.java (Connection): Merged class documentation. (socket): Renamed from sock. (Connection): Made protected, documentation added. (connect): Give URL'S host instead of InetAddress to Socket constructor. (disconnect): Documentation added. (getOutputStream): Rewrapped. From-SVN: r74109
2003-12-01builtins.c (expand_builtin_longjmp): Added two memory clobbers.Andreas Krebbel2-0/+11
2003-12-01 Andreas Krebbel <krebbel1@de.ibm.com> * builtins.c (expand_builtin_longjmp): Added two memory clobbers. From-SVN: r74108
2003-12-01reload.c (find_reloads_address): Split addresses of type (plus (plus (reg) ↵Ulrich Weigand2-0/+25
(reg)) (const_int)) only if... * reload.c (find_reloads_address): Split addresses of type (plus (plus (reg) (reg)) (const_int)) only if one register is either a valid base register or else one of the stack frame related registers (sp/fp/ap). From-SVN: r74107
2003-12-012003-12-01 Michael Koch <konqueror@gmx.de>Michael Koch2-8/+62
* gnu/java/net/protocol/file/Connection.java (fileIn): Documentation added. (inputStream): Likewise. (outputStream): Likewise. (Connection): Likewise. (connect): Simplified. From-SVN: r74106
2003-12-01Add myself to 'Write After Approval' section.James Lemke2-0/+5
From-SVN: r74105