aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-10-09decl.c (java_init_decl_processing): Declare signers field.Tom Tromey3-0/+7
* decl.c (java_init_decl_processing): Declare signers field. * class.c (make_class_data): Set signers field. From-SVN: r72270
2003-10-09config.gcc: Remove redundant thread_file setting clauses for various ↵Nathanael Nerode2-11/+5
*-*-linux* targets. * config.gcc: Remove redundant thread_file setting clauses for various *-*-linux* targets. From-SVN: r72269
2003-10-09re PR libstdc++/9874 (filebuf::seekpos fails if codecvt::encoding() <= 0)Petur Runolfsson5-31/+201
2003-10-09 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9874 * include/bits/fstream.tcc (basic_filebuf::seekoff): Move code needed for both seekoff and seekpos... (basic_filebuf::_M_seek): ...here. New function. (basic_filebuf::seekpos): Don't call seekoff, call _M_seek. * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test. * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit. From-SVN: r72268
2003-10-09RMIClassLoader.java: Removed unused imports, little reformatings.Michael Koch2-59/+105
2003-10-09 Michael Koch <konqueror@gmx.de> * java/rmi/server/RMIClassLoader.java: Removed unused imports, little reformatings. (getClassLoader): New method, implementation was part of old loadCLass method. (loadClass): Simplified by moving functionality to new method and reworking the code a bit. (getClassAnnotation): Merged documentation from classpath. From-SVN: r72267
2003-10-09* config/h8300/h8300.md (define_asm_attributes): New.Kazu Hirata2-0/+10
From-SVN: r72264
2003-10-092003-10-09 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+5
* java/math/BigInteger.java (add): Removed unused local variable len. From-SVN: r72263
2003-10-09optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note to the ↵Roger Sayle2-58/+55
comparison... * optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note to the comparison, as emit_libcall_block calls copy_rtx on equiv. From-SVN: r72262
2003-10-09haifa-sched.c (ok_for_early_schedule): New function.Dorit Naishlos12-3/+514
* haifa-sched.c (ok_for_early_schedule): New function. (early_queue_to_ready): New function. (schedule_block): Allow early removal of insns from Q. (schedule_insn): Update INSN_TICK in case of premature issue. * common.opt (sched_stalled_insns): New flag. (sched_stalled_insns_dep): New flag. * flags.h: Same above flags. * opts.c: Same as above. * toplev.c: Same as above. * target.h (targetm.sched.is_costly_dependence): New hook. * target-def.h: Same as above. * config/rs6000/rs6000.h: (rs6000_sched_costly_dep): Support new flag -msched-costly-dep. (DEFAULT_SCHED_COSTLY_DEP): Define. * config/rs6000/rs6000.c: (rs6000_is_costly_dependence): New function. (is_load_insn, is_store_insn): New functions. (is_load_insn1, is_store_insn1, is_mem_ref): New functions. * doc/invoke.texi (-fsched-stalled-insns-dep) (-fsched-stalled-insns, -msched-costly-dep): Document options. * doc/tm.texi (is_costly_dependence): Define new scheduler target hook. From-SVN: r72261
2003-10-09re PR middle-end/6392 (Problems with __restrict__ type qualifier (array))Jason Merrill1-0/+7
PR c++/6392 * cp/tree.c (build_cplus_array_type): Handle all quals the same. (cp_build_qualified_type_real): Look through arrays first. * c-common.c (c_build_qualified_type): Look through arrays first. (c_apply_type_quals_to_decl): Look through arrays. From-SVN: r72260
2003-10-09re PR middle-end/6392 (Problems with __restrict__ type qualifier (array))Jason Merrill4-70/+87
PR c++/6392 * cp/tree.c (build_cplus_array_type): Handle all quals the same. (cp_build_qualified_type_real): Look through arrays first. * c-common.c (c_build_qualified_type): Look through arrays first. (c_apply_type_quals_to_decl): Look through arrays. * c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for types with constructors. From-SVN: r72259
2003-10-09tweak whitespaceJason Merrill1-2/+2
From-SVN: r72256
2003-10-09stmt.c (resolve_asm_operand_names): Call check_unique_operand_names here.Jason Merrill10-14/+50
* stmt.c (resolve_asm_operand_names): Call check_unique_operand_names here. (expand_asm_operands): Not here. (parse_input_constraint): No longer static. * tree.h: Declare it. * coverage.c (build_ctr_info_value): Use build_decl to make a VAR_DECL. (create_coverage): Likewise. java/ * parse.y (patch_assignment): Use make_node to create a BLOCK. * parse.h (BUILD_PTR_FROM_NAME): Use make_node to create a POINTER_TYPE. cp/ * tree.c (build_cplus_new): Use build_decl to create a VAR_DECL. (build_target_expr_with_type): Likewise. * pt.c (instantiate_class_template): Sanity check that our enclosing class has been instantiated. From-SVN: r72255
2003-10-09t-linux (SHLIB_LINK): Override to use a linker script libgcc_s.so.Kaz Kojima2-0/+26
* config/sh/t-linux (SHLIB_LINK): Override to use a linker script libgcc_s.so. (SHLIB_INSTALL): Likewise. From-SVN: r72254
2003-10-09install.texi: Remove reference to removed 'pthreads' thread option.Nathanael Nerode2-4/+5
* doc/install.texi: Remove reference to removed 'pthreads' thread option. From-SVN: r72253
2003-10-09GtkButtonPeer.java (handleEvent): Remove modality check.Thomas Fitzsimmons10-121/+183
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove modality check. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): Initialize insets to use latest insets. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New field. (postConfigureEvent): Update latestInsets field when insets change. Remove call to setSize. Move validate call outside of if blocks. (setVisible): Call setBounds before showing window. (nativeSetVisible): New native method. * java/awt/Window.java (show): Show visible owned windows. (hide): Hide visible owned windows. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Implement modality using GTK grabs. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (global_gtk_window_group): New global variable. (gtkInit): Initialize global_gtk_window_group. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Clamp width and height values to at least 1. Add this window to the global GTK window group. (setVisible): Rename to nativeSetVisible. (setup_window): Remove function. (setSize): Clamp width and height values to at least 1. (nativeSetBounds): Likewise. (gdk_window_get_root_geometry): Remove function. * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry and setup_window declarations. Declare global_gtk_window_group. From-SVN: r72252
2003-10-09Daily bump.GCC Administrator2-2/+2
From-SVN: r72250
2003-10-08rs6000.md ("abssi2_isel"): Add early clobber to operand 2.Aldy Hernandez2-1/+6
2003-10-08 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md ("abssi2_isel"): Add early clobber to operand 2. From-SVN: r72247
2003-10-082003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons12-26/+160
* gnu/java/awt/peer/gtk/GtkButtonPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (gtkSetFont): Handle BOLD and ITALIC style specifiers. (gtkWidgetSetForeground): New method. * gnu/java/awt/peer/gtk/GtkComponentPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods. (setBackground, setForeground): Implement. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (gtkSetFont): Handle BOLD and ITALIC style specifiers. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): Position PangoLayout relative to text's baseline. * jni/gtk-peer/gtkpeer.h: Define AWT font style constants. * java/awt/FlowLayout.java (layoutContainer): Fix offset problem for CENTER and RIGHT alignments. From-SVN: r72246
2003-10-08config.gcc: Don't accept --enable-threads=pthreads.Nathanael Nerode4-15/+24
* config.gcc: Don't accept --enable-threads=pthreads. Clean up related case statements. * configure.in: Don't accept --enable-threads=pthreads, decosf1, mach, or os2 (none of which work anyway). Alphabetize supported thread files in case clause. * configure: Regenerate. From-SVN: r72244
2003-10-08Move ChangeLog entries for config/ subdir into config/ChangeLog, where they ↵Nathanael Nerode2-191/+237
belong. Move ChangeLog entries for config/ subdir into config/ChangeLog, where they belong. Thanks to Kelley Cook <kcook34@ford.com>. From-SVN: r72243
2003-10-08* libjava.mauve/xfails: Removed some tests.Tom Tromey2-8/+4
From-SVN: r72242
2003-10-08function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to ↵Geoffrey Keating2-2/+6
above SPARC_STACK_BOUNDARY_HACK. * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to above SPARC_STACK_BOUNDARY_HACK. From-SVN: r72241
2003-10-08Security.java: Reformated.Michael Koch2-20/+27
2003-10-08 Michael Koch <konqueror@gmx.de> * java/security/Security.java: Reformated. From-SVN: r72240
2003-10-082003-10-08 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+8
* java/text/SimpleDateFormat.java (compileFormat): Replace Character.isLetter() test with Character.isLowerCase() || Character.isUpperCase(). From-SVN: r72239
2003-10-08StrictMath.java (toDegrees): Multiply before dividing.Tom Tromey3-4/+22
* java/lang/StrictMath.java (toDegrees): Multiply before dividing. (toRadians): Likewise. 2003-10-08 C. Brian Jones <cbj@gnu.org> * java/lang/Math.java (toRadians): multiply before dividing to reduce decimal error (toDegrees): ditto From-SVN: r72238
2003-10-08c-pretty-print.c (pp_c_postfix_expression): Fix thinko.Jason Merrill2-1/+6
* c-pretty-print.c (pp_c_postfix_expression) <COMPOUND_LITERAL_EXPR>: Fix thinko. From-SVN: r72236
2003-10-08* mklibgcc.in: Don't hide undefined or typeless symbols.Rainer Orth2-1/+7
From-SVN: r72235
2003-10-08re PR rtl-optimization/12142 (-fnon-call-exceptions generates incorrect code)John David Anglin3-36/+48
PR optimization/12142 * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the uses of the register in the SET_SRC. Remove unnecessary argument. * pa.c (legitimize_pic_address): Before reload, use a scratch register for the intermediate result in loading the address of a SYMBOL_REF. Set the MEM_NOTRAP_P flag for the MEM. Add a REG_EQUAL to the insn which loads the SYMBOL_REF address. From-SVN: r72234
2003-10-08Connection.java, [...]: Moved to gnu/java/net/protocol.Michael Koch17-143/+199
2003-10-08 Michael Koch <konqueror@gmx.de> * gnu/gcj/protocol/core/Connection.java, gnu/gcj/protocol/core/CoreInputStream.java, gnu/gcj/protocol/core/Handler.java, gnu/gcj/protocol/core/natCoreInputStream.cc, gnu/gcj/protocol/file/Connection.java, gnu/gcj/protocol/file/Handler.java, gnu/gcj/protocol/gcjlib/Connection.java, gnu/gcj/protocol/gcjlib/Handler.java, gnu/gcj/protocol/http/Connection.java, gnu/gcj/protocol/http/Handler.java, gnu/gcj/protocol/jar/Connection.java, gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol. * gnu/java/net/protocol/core/Connection.java, gnu/java/net/protocol/core/CoreInputStream.java, gnu/java/net/protocol/core/Handler.java, gnu/java/net/protocol/core/natCoreInputStream.cc, gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/file/Handler.java, gnu/java/net/protocol/gcjlib/Connection.java, gnu/java/net/protocol/gcjlib/Handler.java, gnu/java/net/protocol/http/Connection.java, gnu/java/net/protocol/http/Handler.java, gnu/java/net/protocol/jar/Connection.java, gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol. * gnu/gcj/runtime/FirstThread.java, java/net/URL.java: Use moved protocol handlers. * Makefile.am (ordinary_java_source_files): Moved files. (nat_source_files): Likewise. * Makefile.in: Regenerated. From-SVN: r72233
2003-10-082003-10-08 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+6
* gnu/java/nio/SocketChannelImpl.java (read): Write only read data to buffer. From-SVN: r72232
2003-10-08GtkMenuItemPeer.java (setEnabled): Stub out.Thomas Fitzsimmons20-210/+146
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub out. * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__. (JCL_free): Attach "unused" attribute to env parameter. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused parameters. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: (initNativeState): Pass 0 as info argument to gtk_selection_add_target. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove unused method implementations. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Add break statement after default label. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c (drawPixels): Remove unused variable i. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c (setEnabled): Remove method implementation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c (accel_attach): Call _gtk_accel_group_attach with G_OBJECT argument. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove unused function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c (menu_pos): Assign TRUE to push_in. (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT argument. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c (create): Remove unused variable layout. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Pass window_widget, rather than window, to gtk_widget_set_size_request. * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out structure initialization with NULL values. * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__. From-SVN: r72231
2003-10-08LinkedList.java: Removed whitespace to match classpath's version again.Michael Koch2-1/+6
2003-10-08 Michael Koch <konqueror@gmx.de> * java/util/LinkedList.java: Removed whitespace to match classpath's version again. From-SVN: r72230
2003-10-082003-10-08 Michael Koch <konqueror@gmx.de>Michael Koch2-10/+22
* java/util/prefs/Preferences.java (defaultFactoryClass): Fixed class name. (getFactory): Create instance of class returned by Class.forName(), reformated code. From-SVN: r72229
2003-10-082003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>Arnaud Vandyck2-48/+13
* javax/swing/table/AbstractTableModel.java (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who helped stop pulling my hair on this +1 then -1 tricky thing! From-SVN: r72228
2003-10-08locale_facets.tcc: More minor cosmetic changes and const-ifications of some ↵Paolo Carlini2-21/+22
variables. 2003-10-08 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc: More minor cosmetic changes and const-ifications of some variables. From-SVN: r72226
2003-10-08re PR bootstrap/12490 (buffer overflow in scan-decls.c)Timo Kokkonen2-1/+17
PR bootstrap/12490 * scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant to define the size of the extern_C_braces array. Set it to 200. (scan_decls): Abort when extern_C_braces_length is out-of-bounds. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r72224
2003-10-08Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand a space after ↵Carlo Wood2-1/+7
the -o option. * Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand a space after the -o option. flex 2.5.31 understands both, with and without the space. Removed that space. From-SVN: r72223
2003-10-08mips.c (mips_frame_info): Add cprestore_size field.Richard Sandiford2-16/+33
* config/mips/mips.c (mips_frame_info): Add cprestore_size field. (compute_frame_size): Initialize it. Remove the .cprestore slot from args_size. (mips_output_function_prologue): Simplify accordingly. (mips_debugger_offset): Change the mips16 frame pointer offset from current_function_outgoing_args to cfun->machine->frame.args_size. (mips_initial_elimination_offset): Likewise. (mips_expand_prologue): Likewise. (mips_expand_epilogue): Likewise. From-SVN: r72222
2003-10-08mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.Richard Sandiford3-9/+24
* config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint. (EXTRA_MEMORY_CONSTRAINT): Define. (CAN_ELIMINATE): Remove lwu workaround. * config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too. Use a 'W' constraint for the source operand. From-SVN: r72221
2003-10-08genopinit.c (main): Output code to declare undefined variables.Kazu Hirata2-0/+10
* genopinit.c (main): Output code to declare undefined variables. From-SVN: r72220
2003-10-08Fix pathname in last delta.Richard Sandiford1-1/+1
From-SVN: r72219
2003-10-08* testsuite/gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.Richard Sandiford5-0/+12
From-SVN: r72218
2003-10-08error2.C: New test.Giovanni Bajo2-0/+14
2003-10-08 Giovanni Bajo <giovannibajo@libero.it> * g++.dg/parse/error2.C: New test. From-SVN: r72216
2003-10-08cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS.Giovanni Bajo3-4/+15
* cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS. * error.c (dump_function_decl): Use it to skip the dump of the arguments. (dump_expr): When dumping a declaration found within an expression, always set TFF_NO_FUNCTION_ARGUMENTS in the flags. From-SVN: r72215
2003-10-08Daily bump.GCC Administrator2-2/+2
From-SVN: r72213
2003-10-08re PR c++/11097 (using template operator is broken)Giovanni Bajo3-1/+26
PR c++/11097 * g++.dg/other/error5.C: Modify the error message. * g++.dg/lookup/using8.C: New test. From-SVN: r72211
2003-10-07gengtype-lex.l: Remove -Wtraditional cruft.Kelley Cook3-7/+6
2003-10-07 Kelley Cook <kcook@gcc.gnu.org> * gengtype-lex.l: Remove -Wtraditional cruft. * Makefile.in (gengtype-lex.c): Likewise. From-SVN: r72210
2003-10-07Remove accidentally committed piece of patch.Geoffrey Keating1-91/+76
From-SVN: r72209
2003-10-08re PR c++/11097 (using template operator is broken)Giovanni Bajo2-0/+8
PR c++/11097 * pt.c (tsubst_decl): Substitute also the DECL_NAME node of USING_DECL. From-SVN: r72208
2003-10-07* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.Zdenek Dvorak2-10/+18
From-SVN: r72207