aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-19GtkDialogPeer.java (create()): Create a top-level GTK window.Thomas Fitzsimmons9-129/+158
2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a top-level GTK window. (getArgs): Add "title" property. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use "allow_shrink" and "allow_grow" properties. * java/awt/Dialog.java: Initialize resizable to true and change comments accordingly. Initialize visible to false in constructors. * java/awt/Frame.java (dispose): Remove method. * java/awt/Window.java (ownedWindows): New field. (Window(Window,GraphicsConfiguration)): Add a weak reference to owner's ownedWindows vector. (finalize): Remove method. (hide): Hide owned windows. (dispose): Dispose of owned windows. (getOwnedWindows): Implement. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove unused GtkArg code. (set(String,boolean)): Clamp gboolean parameter to g_object_set to TRUE or FALSE. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Set window's size requisition. (connectHooks): Fix indentation. (setResizable): Remove function. (static setBounds): Likewise. (setBounds): Replace call to setBounds with GTK size requisition and resize calls. From-SVN: r71585
2003-09-19closure_fn0.c: Xfail mips, arm, strongarm, xscale.Andreas Tobler31-349/+383
2003-09-19 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/closure_fn0.c: Xfail mips, arm, strongarm, xscale. Cleanup whitespaces. * testsuite/libffi.call/closure_fn1.c: Likewise. * testsuite/libffi.call/closure_fn2.c: Likewise. * testsuite/libffi.call/closure_fn3.c: Likewise. * testsuite/libffi.call/cls_12byte.c: Likewise. * testsuite/libffi.call/cls_16byte.c: Likewise. * testsuite/libffi.call/cls_1_1byte.c: Likewise. * testsuite/libffi.call/cls_20byte.c: Likewise. * testsuite/libffi.call/cls_24byte.c: Likewise. * testsuite/libffi.call/cls_2byte.c: Likewise. * testsuite/libffi.call/cls_3_1byte.c: Likewise. * testsuite/libffi.call/cls_3byte1.c: Likewise. * testsuite/libffi.call/cls_3byte2.c: Likewise. * testsuite/libffi.call/cls_4_1byte.c: Likewise. * testsuite/libffi.call/cls_4byte.c: Likewise. * testsuite/libffi.call/cls_5byte.c: Likewise. * testsuite/libffi.call/cls_6byte.c: Likewise. * testsuite/libffi.call/cls_7byte.c: Likewise. * testsuite/libffi.call/cls_8byte.c: Likewise. * testsuite/libffi.call/cls_double.c: Likewise. * testsuite/libffi.call/cls_float.c: Likewise. * testsuite/libffi.call/cls_uchar.c: Likewise. * testsuite/libffi.call/cls_uint.c: Likewise. * testsuite/libffi.call/cls_ulonglong.c: Likewise. * testsuite/libffi.call/cls_ushort.c: Likewise. * testsuite/libffi.call/nested_struct.c: Likewise. * testsuite/libffi.call/nested_struct1.c: Likewise. * testsuite/libffi.call/problem1.c: Likewise. * testsuite/libffi.special/unwindtest.cc: Likewise. * testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces. From-SVN: r71584
2003-09-19install.texi: Document the multiple testsuite options.Phil Edwards2-2/+76
2003-09-19 Phil Edwards <phil@codesourcery.com> * doc/install.texi: Document the multiple testsuite options. From-SVN: r71582
2003-09-19install.texi (Specific): Add the specific versions of GCC where support for ↵Gerald Pfeifer2-3/+9
FreeBSD 1... * doc/install.texi (Specific): Add the specific versions of GCC where support for FreeBSD 1, HP-UX version 9 and older, and AIX version 3 and older was discontinued. From-SVN: r71581
2003-09-19t-m68kbare, t-rtems: Change 68681 to 68881.Joel Sherrill3-2/+7
2003-09-19 Joel Sherrill <joel@oarcorp.com> * config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to 68881. From-SVN: r71580
2003-09-19m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines for -m68030, -m68020-60 ↵Bernardo Innocenti3-143/+140
and -m68020-40. * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines for -m68030, -m68020-60 and -m68020-40. * config/m68k/m68k.h (TARGET_68030): New target flag. * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM, TARGET_REGPARM): Remove. * config/m68k/m68k.h: Regroup and renumber target flags. * config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations. * config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0. * config/m68k/m68k.h (FUNCTION_ARG): Likewise. * config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise. * config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros. From-SVN: r71577
2003-09-19array11.C: Change unsigned to __SIZE_TYPE__ so that it will not complain on ↵Andrew Pinski2-2/+9
LP64 targets. * g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__ so that it will not complain on LP64 targets. From-SVN: r71575
2003-09-19re PR c++/495 (ICE in in lookup_template_class, at cp/pt.c:3961)Kriang Lerdsuwanakij4-0/+40
PR c++/495 * pt.c (tsubst_friend_class): Only use innermost template arguments for the injected friend class template. * g++.dg/template/friend24.C: New test. From-SVN: r71574
2003-09-19t-rtems: New.Ralf Corsepius3-2/+12
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * config/mips/t-rtems: New. * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems. From-SVN: r71570
2003-09-19t-rtems: New.Ralf Corsepius3-1/+12
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * config/mips/t-rtems: New. * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems. From-SVN: r71569
2003-09-19* cgraph.c: Fix typo in debugging output.Kelley Cook2-1/+5
From-SVN: r71567
2003-09-19fix PR numberNathan Sidwell3-3/+3
From-SVN: r71564
2003-09-19re PR libstdc++/12232 (Incorrect handling of openmode argument in ↵Nathan Sidwell3-0/+27
filebuf::seekoff and seekpos) cp: PR c++/12232 * pt.c (instantiate_class_template): Increment processing_template_decl around the tsubst of a template member function. testsuite: PR c++/12232 * g++.dg/template/memtmpl2.C: New test. From-SVN: r71563
2003-09-19win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy ↵Mohan Embar4-11/+152
initialization of an... * win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy initialization of an auto-reset event. (_Jv_CondWait) Added thread interrupt support. (_Jv_ThreadInitData) Added initialization of interrupt support members. (_Jv_ThreadDestroyData) Added cleanup of interrupt support members. (_Jv_ThreadStart) Removed unused code. (_Jv_Win32GetInterruptEvent) New method for returning interrupt event to an external caller. (_Jv_ThreadInterrupt) Implemented. * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset event for interrupt support as well as a mutex which regulates access to this. (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt event to an external caller. * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned process. (waitFor) Added interrupt support. From-SVN: r71562
2003-09-19DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr.Michael Koch3-8/+13
2003-09-19 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr. * java/net/MulticastSocket.java: No need to import gnu.java.net.PlainDatagramSocketImpl. From-SVN: r71561
2003-09-19re PR target/12166 (Profiled programs crash if PROFDIR is set)T. Papadopoulo2-0/+10
PR target/12166 * config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r71559
2003-09-19decl.c (cxx_scope_descriptor): Fix thinko.Gabriel Dos Reis2-1/+9
* decl.c (cxx_scope_descriptor): Fix thinko. (struct cp_binding_level): Adjust type of binding_depth field. From-SVN: r71557
2003-09-18c-ppoutput.c (print): Use fileline typedef for field 'line'.Mike Stump3-18/+24
* c-ppoutput.c (print): Use fileline typedef for field 'line'. (print_line, maybe_print_line, cb_define, cb_undef, cb_include, cb_ident, cb_def_pragma): Use fileline typedef. * cpphash.h (struct cpp_reader): Likewise for field out.first_line. From-SVN: r71554
2003-09-19Daily bump.GCC Administrator2-2/+2
From-SVN: r71552
2003-09-18Toolkit.java (getSystemEventQueue, [...]): Replace UTF-8 characters in ↵Sascha Brawer2-2/+7
Javadoc by XML/HTML escape sequence. 2003-09-18 Sascha Brawer <brawer@dandelis.ch> * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl): Replace UTF-8 characters in Javadoc by XML/HTML escape sequence. From-SVN: r71549
2003-09-18re PR c++/12320 (ICE on use of undefined enum)Danny Smith2-0/+8
PR c++/12320 * call.c (type_passed_as): Check for incomplete type. (convert_for_arg_passing): Likewise. From-SVN: r71546
2003-09-18winnt.c (gen_stdcall_suffix): Quit summation of total parm size if a parm ↵Danny Smith2-2/+14
has incomplete type. * config/i386/winnt.c (gen_stdcall_suffix): Quit summation of total parm size if a parm has incomplete type. (gen_fastcall_suffix): Likewise. From-SVN: r71543
2003-09-18aix.S: Cleanup whitespaces.David Edelsohn3-23/+27
* src/powerpc/aix.S: Cleanup whitespaces. * src/powerpc/aix_closure.S: Likewise. From-SVN: r71542
2003-09-18Apply proper patch file for last change.Richard Kenner1-0/+1
From-SVN: r71541
2003-09-18except.c (output_function_exception_table): Adjust last change to handle ↵Richard Kenner2-5/+12
TYPE of INTEGER_CST. * except.c (output_function_exception_table): Adjust last change to handle TYPE of INTEGER_CST. From-SVN: r71540
2003-09-18re PR target/11184 ([ia64 hpux] ICE on __builtin_apply building libobjc)Mark Mitchell13-146/+102
PR target/11184 * builtins.c (expand_builtin_apply): Use convert_memory_address before returning the value. * alias.c (find_base_value): Simplify use of convert_memory_address. (find_base_term): Likewise. * builtins.c (expand_builtin_stejmp_setup): Likewise. (expand_builtin_longjmp): Likewise. (expand_builtin_prefetch): Likewise. (get_memory_rtx): Likewise. (expand_builtin_return): Likewise. (expand_builtin_memcpy): Likewise. (expand_builtin_strncpy): Likewise. (expand_builtin_memset): Likewise. (expand_builtin_va_arg): Likewise. (expand_builtin_va_copy): Likewise. (expand_builtin_alloca): Likewise. * calls.c (expand_call): Likewise. * except.c (expand_builtin_extract_return_addr): Likewise. (expand_builtin_eh_return): Likewise. * explow.c (convert_memory_address): Define even when POINTER_EXTEND_UNSIGNED is not defined. Do nothing if the address is already in the right mode. * explow.c (memory_address): Simplify use of convert_memory_address. (probe_stack_range): Likewise. * expmed.c (make_tree): Likewise. * expr.c (emit_block_move_in_libcall): Likewise. (expand_assignment): Likewise. (expand_expr): Likewise. * function.c (assign_parms): Likewise. (expand_function_end): Likewise. * integrate.c (copy_rtx_and_substitute): Likewise. * stmt.c (expand_computed_goto): Likewise. PR target/11184 * gcc.dg/builtin-apply1.c: New test. From-SVN: r71539
2003-09-18btest-gcc.sh: Add make check-target-libffi.Andreas Tobler2-2/+8
2003-09-18 Andreas Tobler <a.tobler@schweiz.ch> * btest-gcc.sh: Add make check-target-libffi. From-SVN: r71537
2003-09-18* javax/naming/InitialContext.java: Reindented.Tom Tromey2-137/+147
From-SVN: r71535
2003-09-18NamingManager.java (getURLContext, [...]): Always use current thread's ↵Dalibor Topic2-4/+19
context class loader when calling Class.forName. 2003-09-18 Dalibor Topic <robilad@kaffe.org>, Helmer Kraemer <hkraemer@freenet.de> * javax/naming/spi/NamingManager.java (getURLContext, getObjectInstance, getStateToBind): Always use current thread's context class loader when calling Class.forName. Co-Authored-By: Helmer Kraemer <hkraemer@freenet.de> From-SVN: r71534
2003-09-18darwin.S: Cleanup whitespaces, comment formatting.Andreas Tobler4-224/+225
2003-09-18 Andreas Tobler <a.tobler@schweiz.ch> * src/powerpc/darwin.S: Cleanup whitespaces, comment formatting. * src/powerpc/darwin_closure.S: Likewise. * src/powerpc/ffi_darwin.c: Likewise. From-SVN: r71533
2003-09-18simplify-rtx.c (simplify_unary_operation): Only transform (not (eq X Y)) ↵Roger Sayle2-0/+7
into (ne X Y) when... * simplify-rtx.c (simplify_unary_operation): Only transform (not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE is -1. RTL "not" is a bit-wise not, "~", not a logical not "!". From-SVN: r71532
2003-09-18types.c (double): Add AIX and Darwin to the right TYPEDEF.Andreas Tobler5-184/+184
2003-09-18 Andreas Tobler <a.tobler@schweiz.ch> David Edelsohn <edelsohn@gnu.org> * src/types.c (double): Add AIX and Darwin to the right TYPEDEF. * src/powerpc/aix_closure.S: Remove the pointer to the outgoing parameter stack. * src/powerpc/darwin_closure.S: Likewise. * src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures according to the Darwin/AIX ABI. (ffi_prep_cif_machdep): Likewise. (ffi_closure_helper_DARWIN): Likewise. Remove the outgoing parameter stack logic. Simplify the evaluation of the different CASE types. (ffi_prep_clousure): Avoid the casts on lvalues. Change the branch statement in the trampoline code. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r71530
2003-09-18re PR c++/9848 (missing 'unused parameter' warning.)Nathan Sidwell5-9/+65
cp: PR c++/9848 * optimize.c (maybe_clone_body): Don't set MARK_USED on parameters here. * semantics.c (expand_body): Set it here on the remaining clones. testsuite: PR c++/9848 * g++.dg/warn/Wunused-4.C: New test. From-SVN: r71528
2003-09-18Mention the pr fixed.Zdenek Dvorak1-0/+1
From-SVN: r71527
2003-09-18* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.Zdenek Dvorak2-3/+12
From-SVN: r71526
2003-09-18tree.def (FFS_EXPR, [...]): Delete unused tree codes.Roger Sayle14-70/+44
* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): Delete unused tree codes. * c-common.c (c_common_truthvalue_conversion): Delete references to FFS_EXPR and POPCOUNT_EXPR. * c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR. (pp_c_expression): Likewise. * expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. * fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. Add support for calls to BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long and long long variants. * cp/lex.c (init_operators): Remove operator_name_info for FFS_EXPR. * cp/class.c (instantiate_type): Remove FFS_EXPR case. * f/com.c (ffecom_overlap_): Remove FFS_EXPR case. (ffecom_tree_canonize_ref_): Likewise. (ffe_truthvalue_conversion): Likewise. * java/expr.c (java_truthvalue_conversion): Remove FFS_EXPR case. * java/check-init.c (check_init): Likewise. From-SVN: r71525
2003-09-18* jcf-write.c (generate_bytecode_insns): Add support for fconst_2.Roger Sayle2-2/+7
From-SVN: r71524
2003-09-18re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)Benjamin Kosnik4-21/+31
2003-09-18 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/11504 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to WARN_FLAGS, remove -Wno-format. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r71523
2003-09-18ffi.c (ffi_prep_args): Take account into the alignement for the register size.Kaz Kojima3-20/+32
* src/sh/ffi.c (ffi_prep_args): Take account into the alignement for the register size. (ffi_closure_helper_SYSV): Handle the structure return value address correctly. (ffi_closure_helper_SYSV): Return the appropriate type when the registers are used for the structure return value. * src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for the 64-bit return value. Update copyright years. From-SVN: r71521
2003-09-18basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.Petur Runolfsson5-18/+8
2003-09-18 Petur Runolfsson <peturr02@ru.is> * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. * config/io/basic_file_stdio.h: Same. * include/std/std_fstream.h (__ctype_type): Delete. * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. From-SVN: r71520
2003-09-18Timer.java (finalize): Added "throws Throwable".Michael Koch2-1/+5
2003-09-18 Michael Koch <konqueror@gmx.de> * java/util/Timer.java (finalize): Added "throws Throwable". From-SVN: r71519
2003-09-18* ChangeLog: Fix recent commit.Volker Reichelt1-1/+5
From-SVN: r71518
2003-09-18re PR c++/12316 (trouble with garbage collection)Volker Reichelt3-0/+48
PR c++/12316 * testsuite/g++.dg/other/gc2.C: New test. * cp/ChangeLog: Add PR number to patch for PR c++/12316. From-SVN: r71517
2003-09-182003-09-18 Michael Koch <konqueror@gmx.de>Michael Koch4-42/+34
* java/net/DatagramSocket.java (ch): Removed. (receive): Use getChannel() instead of ch. (send): Likewise. (getChannel): Return null. * java/net/ServerSocket.java (ch): Removed. (setChannel): Removed. (implAccept): Use getChannel() instead of ch. (close): Likewise. (getChannel): Return null. * java/net/Socket.java (ch): Removed. (connect): Use getChannel() instead of ch. (setChannel): Removed. (getChannel): Return null. From-SVN: r71516
2003-09-18Reported by Guilhem Lavaux and Julian DolbyMark Wielaard2-1/+7
2003-09-18 Mark Wielaard <mark@klomp.org> Reported by Guilhem Lavaux and Julian Dolby * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the field "serialPersistentFields", not "getSerialPersistentFields". From-SVN: r71515
2003-09-18jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.Andrew Haley2-0/+21
2003-09-16 Andrew Haley <aph@redhat.com> * jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR. From-SVN: r71514
2003-09-18c-pretty-print.h (pp_type_specifier_seq): Fix thinko.Gabriel Dos Reis6-93/+177
* c-pretty-print.h (pp_type_specifier_seq): Fix thinko. * c-pretty-print.c: Fix formatting. (pp_c_integer_constant): Append type annotation to literals. Tidy. (pp_c_type_specifier): Tidy. (pp_c_compound_literal): New function. (pp_c_initializer): Simplify.. (pp_c_initializer_list): Likewise. (pp_c_brace_enclosed_initializer_list): New function. (pp_c_postfix_expression): Simplify. cp/ * error.c (dump_type): Simplify. Use pp_type_specifier_seq for "C" types. * cxx-pretty-print.c (pp_cxx_type_specifier_seq): Fix thinko. From-SVN: r71511
2003-09-18TimeZone.java: Initialize lazily.Ingo Proetel5-694/+736
2003-09-18 Ingo Proetel <proetel@aicas.com> * java/util/TimeZone.java: Initialize lazily. * java/util/Locale.java (readManifest): Fix check for country. * java/util/GregorianCalendar.java: Make use of ResourceBundle better traceable * java/util/Calendar.java: Make use of ResourceBundle better traceable. From-SVN: r71509
2003-09-182003-09-18 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2-1/+6
* java/sql/Timestamp.java (valueOf): Fixed confusion of java.sql.Date and java.util.Date From-SVN: r71508
2003-09-18LineNumberReader (read): Don't reset pos & limit when markPos is 0.David P Grove2-1/+6
2003-09-18 David P Grove <groved@us.ibm.com> * java/io/LineNumberReader (read): Don't reset pos & limit when markPos is 0. From-SVN: r71507